UtBS: replace dummy unit with dummy variation
[ci skip]
This commit is contained in:
parent
9b9064c2a1
commit
616814c90e
2 changed files with 23 additions and 32 deletions
|
@ -1721,33 +1721,25 @@
|
|||
speaker=Possessed Garak
|
||||
message= _ "See, I told you I was more powerful. This game is over, now I can leave this shell of a body."
|
||||
[/message]
|
||||
[store_unit]
|
||||
[modify_unit]
|
||||
[filter]
|
||||
id=Possessed Garak
|
||||
[/filter]
|
||||
variable=PossGarak
|
||||
kill=no
|
||||
[/store_unit]
|
||||
[unit]
|
||||
side=$unit.side
|
||||
type=Defeated Corrupted Quenoth Elf
|
||||
variation=defeated
|
||||
name= _ "Garak"
|
||||
hitpoints=1
|
||||
id=Garak_defeated
|
||||
x,y=$PossGarak.x,$PossGarak.y
|
||||
overwrite=yes
|
||||
[/unit]
|
||||
{CLEAR_VARIABLE PossGarak}
|
||||
[/modify_unit]
|
||||
[message]
|
||||
speaker=Zhul
|
||||
message= _ "He’s... he’s still breathing!"
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Garak_defeated
|
||||
speaker=Possessed Garak
|
||||
# po: Defeated, no longer posessed
|
||||
message= _ "Protect the boy for me Zhul, (<i>cough</i>) I go to a better place."
|
||||
[/message]
|
||||
[kill]
|
||||
id=Garak_defeated
|
||||
id=Possessed Garak
|
||||
animate=yes
|
||||
fire_event=no
|
||||
[/kill]
|
||||
|
@ -1916,25 +1908,24 @@
|
|||
speaker=Kaleh
|
||||
message= _ "Finally. It is over."
|
||||
[/message]
|
||||
[unit]
|
||||
side=$unit.side
|
||||
type=Defeated Corrupted Quenoth Elf
|
||||
[modify_unit]
|
||||
[filter]
|
||||
id=Possessed Garak
|
||||
[/filter]
|
||||
variation=defeated
|
||||
name= _ "Garak"
|
||||
hitpoints=1
|
||||
id=Garak_defeated
|
||||
x,y=$unit.x,$unit.y
|
||||
overwrite=yes
|
||||
[/unit]
|
||||
[/modify_unit]
|
||||
[message]
|
||||
speaker=Zhul
|
||||
message= _ "He’s... he’s still breathing!"
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Garak_defeated
|
||||
speaker=Possessed Garak
|
||||
message= _ "Protect the boy for me Zhul, (<i>cough</i>) I go to a better place."
|
||||
[/message]
|
||||
[kill]
|
||||
id=Garak_defeated
|
||||
id=Possessed Garak
|
||||
animate=yes
|
||||
fire_event=no
|
||||
[/kill]
|
||||
|
|
|
@ -71,14 +71,14 @@
|
|||
[/frame]
|
||||
{SOUND:HIT_AND_MISS magic-dark.ogg magic-dark-miss.ogg -200}
|
||||
[/attack_anim]
|
||||
[/unit_type]
|
||||
|
||||
[unit_type]
|
||||
id=Defeated Corrupted Quenoth Elf
|
||||
image=units/quenoth/corrupted-elf-defeated.png
|
||||
[base_unit]
|
||||
id=Corrupted Quenoth Elf
|
||||
[/base_unit]
|
||||
do_not_list=yes
|
||||
hide_help=yes
|
||||
[variation]
|
||||
variation_id=defeated
|
||||
# po: Only displayed in debug mode
|
||||
variation_name= _ "defeated"
|
||||
inherit=yes
|
||||
hide_help=yes
|
||||
do_not_list=yes
|
||||
image=units/quenoth/corrupted-elf-defeated.png
|
||||
[/variation]
|
||||
[/unit_type]
|
||||
|
|
Loading…
Add table
Reference in a new issue