mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-18 15:53:59 +00:00
71 lines
1.9 KiB
INI
71 lines
1.9 KiB
INI
#textdomain wesnoth-wof
|
|
|
|
#define WEAPON_SPECIAL_BLAST ATTACK_NAME DAMAGE DAMAGE_TYPE
|
|
[damage]
|
|
id=blast
|
|
name= _ "blast"
|
|
name_inactive= _ "blast"
|
|
description= _ "This attack also harms everyone near the opponent."
|
|
{WEAPON_SPECIAL_BLAST_EVENT {ATTACK_NAME} {DAMAGE} {DAMAGE_TYPE}}
|
|
[/damage]
|
|
#enddef
|
|
|
|
#define WEAPON_SPECIAL_BLAST_EVENT ATTACK_NAME DAMAGE DAMAGE_TYPE
|
|
[event]
|
|
id=attacker_hits_blast_event_{ATTACK_NAME}_{DAMAGE}_{DAMAGE_TYPE}
|
|
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]
|
|
x,y=$x2,$y2
|
|
[/not]
|
|
[/and]
|
|
[/filter]
|
|
amount={DAMAGE}
|
|
damage_type={DAMAGE_TYPE}
|
|
fire_event=yes
|
|
animate=yes
|
|
[/harm_unit]
|
|
[/event]
|
|
[event]
|
|
id=defender_hits_blast_event_{ATTACK_NAME}_{DAMAGE}_{DAMAGE_TYPE}
|
|
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]
|
|
#enddef
|