Fixed Li'sar not carrying over correctly

This commit is contained in:
ln-zookeeper 2014-05-23 22:50:21 +03:00
parent 900a39a011
commit e582e51acd

View file

@ -400,53 +400,29 @@
condition=win
[/objective]
[objective]
[show_if]
[variable]
name=gender
not_equals=female
[/variable]
[/show_if]
description= _"Death of Konrad"
condition=lose
[/objective]
[objective]
[show_if]
[variable]
name=gender
equals=female
[/variable]
[/show_if]
description= _"Death of Lisar"
condition=lose
[/objective]
{TURNS_RUN_OUT}
[/objectives]
[if]
[variable]
name=gender
equals=female
[/variable]
[then]
[store_unit]
[filter]
id=student
[/filter]
kill=yes
variable=student_save
[/store_unit]
{VARIABLE student_x $student_save.x}
{VARIABLE student_y $student_save.y}
[unit]
type=Fighteress
side=1
x,y=$student_x,$student_y
id=student
profile=portraits/lisar.png
name= _"Lisar"
canrecruit=yes
[/unit]
[objectives]
side=1
[objective]
description= _"Defeat the Orc Leader"
condition=win
[/objective]
[objective]
description= _"Death of Lisar"
condition=lose
[/objective]
{TURNS_RUN_OUT}
[/objectives]
[/then]
[/if]
[unit]
id=Galdrad
name= _"Galdrad"