mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-09 22:09:58 +00:00
DM: S18 recall fix (#9118)
* DM S18 recall fix * Update 18_The_Portal_of_Doom.cfg * Update sides.cfg
This commit is contained in:
parent
e8e078f968
commit
b372f9e9ae
@ -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]
|
||||
|
@ -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.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user