After adding the filter_adjacent the ability remains permanently disabled.
Code:
[effect]apply_to=new_ability[abilities]mode=append[resistance] id=shields_upname= _ "Shields Up"description= _ "By grouping up with 2 other allies, this unit’s resistances are increased by 10, up to a maximum of 50%, when defending against ranged attacks."affect_self=yesactive_on=defense[filter_adjacent]count=2-6is_enemy=no[/filter_adjacent][filter_second_weapon]range=ranged[/filter_second_weapon][filter_base_value]less_than=50[/filter_base_value]add=10max_value=50[/resistance][/abilities][/effect]
Statistics: Posted by CookieLord — Yesterday, 7:36 pm