DM: S18 recall fix (#9118)

* DM S18 recall fix

* Update 18_The_Portal_of_Doom.cfg

* Update sides.cfg

(cherry picked from commit b372f9e9ae)
This commit is contained in:
Oleksii 2024-07-23 08:38:58 +03:00 committed by Wedge009
parent 1b47cea9c5
commit 85324ae26c
2 changed files with 16 additions and 4 deletions

View file

@ -442,10 +442,7 @@
id=Delfador
[/not]
[/filter]
[put_to_recall_list]
id=$unit.id
heal=yes
[/put_to_recall_list]
{DELFADOR_ESCAPED_UNITS}
[/event]
[event]
@ -485,6 +482,8 @@
time=10
[/delay]
{COLOR_ADJUST 0 0 0}
{MEMOIRS_UNSTORE_UNITS delfador_escaped_units}
{CLEAR_VARIABLE delfador_escaped_units}
[endlevel]
result=victory
[/endlevel]

View file

@ -391,6 +391,19 @@
[/allow_recruit]
#enddef
# Store units who escape through the tunnel in Portal of Doom (18), so that they can no longer be recalled in the same scenario.
#define DELFADOR_ESCAPED_UNITS
[store_unit]
kill=yes
mode=append
variable=delfador_escaped_units
[filter]
id=$unit.id
[/filter]
[/store_unit]
#enddef
# At the beginning of Showdown in the Northern Swamp (19), Kalenz
# rejoins Delfador. Chantal is not here for this one.