Spoiler
<!-- This macro exists to handle modifiers to a Concentration skill check. -->
<!-- These modifiers can include the relevant ability modifier, bonuses from feats, and racial modifiers. -->
<!-- VARIABLES RETURNED: one, the sum of all applicable modifiers not counting the d20 roll itself. -->
<!-- Get the target from the calling macro, and switch to that target. -->
[h: switchToken(macro.args)]
<!-- If the user is a Construct or an Undead, use the Charisma modifier; else, use the Constitution modifier. -->
[h: macro.return = if(CreatureType == "Construct" || CreatureType == "Undead", ChaMod, ConMod) + if(listContains(Feats, "Skill Focus (Concentration)", ", ") == 1, 3, 0) + if(isPropertyEmpty(Concentration) != 1 && isNumber(Concentration) == 1, floor(Concentration), 0) + if(CreatureRace == "Marut", 4, 0)]
<!-- These modifiers can include the relevant ability modifier, bonuses from feats, and racial modifiers. -->
<!-- VARIABLES RETURNED: one, the sum of all applicable modifiers not counting the d20 roll itself. -->
<!-- Get the target from the calling macro, and switch to that target. -->
[h: switchToken(macro.args)]
<!-- If the user is a Construct or an Undead, use the Charisma modifier; else, use the Constitution modifier. -->
[h: macro.return = if(CreatureType == "Construct" || CreatureType == "Undead", ChaMod, ConMod) + if(listContains(Feats, "Skill Focus (Concentration)", ", ") == 1, 3, 0) + if(isPropertyEmpty(Concentration) != 1 && isNumber(Concentration) == 1, floor(Concentration), 0) + if(CreatureRace == "Marut", 4, 0)]