Fixed a bug reported on the forums.
This commit is contained in:
parent
208b7d17b1
commit
59e1637e89
1 changed files with 19 additions and 0 deletions
|
@ -582,6 +582,25 @@
|
|||
[event]
|
||||
name=victory
|
||||
|
||||
# This [if] is used only in the case the player happened to defeat all
|
||||
# the enemy leaders and didn't move Alanin to the signpost
|
||||
[if]
|
||||
[have_unit]
|
||||
id=Alanin
|
||||
[/have_unit]
|
||||
|
||||
[then]
|
||||
[store_unit]
|
||||
[filter]
|
||||
id=Alanin
|
||||
[/filter]
|
||||
variable=alanin
|
||||
kill=yes
|
||||
[/store_unit]
|
||||
{VARIABLE alanin.canrecruit yes}
|
||||
[/then]
|
||||
[/if]
|
||||
|
||||
[unstore_unit]
|
||||
variable=alanin
|
||||
[/unstore_unit]
|
||||
|
|
Loading…
Add table
Reference in a new issue