Fixed recalling not working in Tidings Good and Ill.
This commit is contained in:
parent
b483a5553f
commit
4083cd139f
2 changed files with 11 additions and 23 deletions
|
@ -132,26 +132,11 @@
|
|||
[store_unit]
|
||||
[filter]
|
||||
side=1
|
||||
|
||||
[not]
|
||||
description=Sir Gerrick
|
||||
[/not]
|
||||
|
||||
[not]
|
||||
race=elf
|
||||
|
||||
[not]
|
||||
description=Ethiliel
|
||||
[/not]
|
||||
|
||||
[not]
|
||||
description=Elvish Bodyguard
|
||||
[/not]
|
||||
[/not]
|
||||
description=Elvish Bodyguard
|
||||
[/filter]
|
||||
|
||||
kill=yes
|
||||
variable=stored_Deoran_army
|
||||
variable=stored_elvish_bodyguards
|
||||
[/store_unit]
|
||||
|
||||
# Store Deoran's gold so it can be restored in Into the Depths and set
|
||||
|
@ -190,6 +175,7 @@
|
|||
side=1
|
||||
[modifications]
|
||||
{TRAIT_LOYAL}
|
||||
{TRAIT_DEXTROUS}
|
||||
[/modifications]
|
||||
[/unit]
|
||||
[/event]
|
||||
|
@ -496,11 +482,16 @@
|
|||
variable=stored_Hylas
|
||||
[/unstore_unit]
|
||||
|
||||
{FOREACH stored_Deoran_army i}
|
||||
{FOREACH stored_elvish_bodyguards i}
|
||||
[unstore_unit]
|
||||
variable=stored_Deoran_army[$i]
|
||||
variable=stored_elvish_bodyguards[$i]
|
||||
[/unstore_unit]
|
||||
{NEXT i}
|
||||
|
||||
{CLEAR_VARIABLE stored_Deoran}
|
||||
{CLEAR_VARIABLE stored_Ethiliel}
|
||||
{CLEAR_VARIABLE stored_Hylas}
|
||||
{CLEAR_VARIABLE stored_elvish_bodyguards}
|
||||
|
||||
[endlevel]
|
||||
bonus=no
|
||||
|
|
|
@ -204,11 +204,8 @@
|
|||
side=1
|
||||
gold=$stored_Deoran_side.gold
|
||||
[/modify_side]
|
||||
|
||||
|
||||
{CLEAR_VARIABLE stored_Deoran_side}
|
||||
{CLEAR_VARIABLE stored_Deoran_army}
|
||||
{CLEAR_VARIABLE stored_Ethiliel}
|
||||
{CLEAR_VARIABLE stored_Hylas}
|
||||
|
||||
[unit]
|
||||
side=2
|
||||
|
|
Loading…
Add table
Reference in a new issue