Fix for wmlindent error.

This commit is contained in:
Pentarctagon 2022-10-12 19:37:11 -05:00
parent c78fe7965e
commit 1f04073a2c

View file

@ -10,63 +10,65 @@
name_inactive= _ "blast"
description= _ "This attack also harms everyone near the opponent."
[/damage]
# wmlindent: start ignoring
[/specials]
[/attack]
[event]
name=attacker_hits
first_time_only=no
[filter_attack]
name={ATTACK_NAME}
[/filter_attack]
[harm_unit]
[filter]
[filter_location]
x,y=$x2,$y2
radius=1
[/filter_location]
[not]
x,y=$x1,$y1
[/not]
[and]
[not]
# wmlindent: stop ignoring
[event]
name=attacker_hits
first_time_only=no
[filter_attack]
name={ATTACK_NAME}
[/filter_attack]
[harm_unit]
[filter]
[filter_location]
x,y=$x2,$y2
[/not]
[/and]
[/filter]
amount={DAMAGE}
damage_type={DAMAGE_TYPE}
fire_event=yes
animate=yes
[/harm_unit]
[/event]
[event]
name=defender_hits
first_time_only=no
[filter_second_attack]
name={ATTACK_NAME}
[/filter_second_attack]
[harm_unit]
[filter]
[filter_location]
x,y=$x1,$y1
radius=1
[/filter_location]
[not]
x,y=$x1,$y1
[/not]
[and]
radius=1
[/filter_location]
[not]
x,y=$x2,$y2
x,y=$x1,$y1
[/not]
[/and]
[/filter]
amount={DAMAGE}
damage_type={DAMAGE_TYPE}
fire_event=yes
animate=yes
[/harm_unit]
[/event]
[+attack] # wmlxgettext: [/attack]
[+specials] # wmlxgettext: [/specials]
[and]
[not]
x,y=$x2,$y2
[/not]
[/and]
[/filter]
amount={DAMAGE}
damage_type={DAMAGE_TYPE}
fire_event=yes
animate=yes
[/harm_unit]
[/event]
[event]
name=defender_hits
first_time_only=no
[filter_second_attack]
name={ATTACK_NAME}
[/filter_second_attack]
[harm_unit]
[filter]
[filter_location]
x,y=$x1,$y1
radius=1
[/filter_location]
[not]
x,y=$x1,$y1
[/not]
[and]
[not]
x,y=$x2,$y2
[/not]
[/and]
[/filter]
amount={DAMAGE}
damage_type={DAMAGE_TYPE}
fire_event=yes
animate=yes
[/harm_unit]
[/event]
[+attack] # wmlxgettext: [/attack]
[+specials] # wmlxgettext: [/specials]
#enddef
# wmllint: unbalanced-off