[event] name=post_advance first_time_only=no [filter] type=wafiremage [and] has_weapon=darts [/and] [/filter] [if] [variable] name=unit.attack[2].damage equals=$($unit.attack[1].damage - 5) [/variable] [else] {VARIABLE unit.attack[2].damage "$($unit.attack[1].damage - 5)"} [unstore_unit] variable=unit [/unstore_unit] [/else] [/if] [/event]