Smart AoE is a great script. For some reason, I cannot add immunity conditions. I am using the fairly old but still very good Creature Generator API, which creates a character sheet and token from a Pathfinder_1 stat block. When I apply the AoE, those creatures roll their save and get damage, as normal. But when I try to settle an immunity condition, I get " Unexpected argument identifier (immunityrule)." The creature does not have an "immunity" attribute. I tried to use another one. Here is my macro: !smartaoe {{
--title|Cono de Hielo
--leftsub|Cold Damage
--rightsub|DC 21 Reflex
--aoeType|PFcone
--forceIntersection|0
--radius|60ft
--origin|nearest, face
--minGridArea|0.5
--minTokArea|0.5
--fx|burn-frost
--dc|21
--saveFormula|<<1d20+a{REF}>>
--damageFormula1|[[15d6]]
--damageType1|cold
--ignore|SmartAOE_ignore,1
--instant|1
--autoApply|1
--bar|1
--zeroHPmarker|dead
--immunityAttr|CGen_CGEN
--immunityRule|*0
--desc|El famoso cono de hielo.
}} Later I created an attribute "cold_immunity" and put it instead of "CGenCGEN", but I got the same error. Any help is much appreciated.