mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-13 20:31:09 +00:00
DM S12 Fix bug: second wave
If the undead have not been spotted, Delfador does not know they're there, so cannot know about the second wave.
This commit is contained in:
parent
39da9c8f9a
commit
09e7006b1d
@ -384,6 +384,10 @@
|
||||
id=Delfador
|
||||
message= _ "One of Iliah-Malal’s creatures. So it has begun!"
|
||||
[/message]
|
||||
[set_variable]
|
||||
name=undead_spotted
|
||||
value=yes
|
||||
[/set_variable]
|
||||
[fire_event]
|
||||
name=enemies
|
||||
[/fire_event]
|
||||
@ -1234,16 +1238,25 @@
|
||||
|
||||
{CHANTAL_DEPARTS}
|
||||
|
||||
{CLEAR_VARIABLE undead_spotted}
|
||||
[/event]
|
||||
|
||||
# Second wave of undead
|
||||
[event]
|
||||
name=turn 7
|
||||
{SECOND_WAVE}
|
||||
[message]
|
||||
speaker=Delfador
|
||||
message= _ "They have unleashed a second wave. Soldiers, stand firm and send these abominations back to the darkness!"
|
||||
[/message]
|
||||
[if]
|
||||
[variable]
|
||||
name=undead_spotted
|
||||
equals=yes
|
||||
[/variable]
|
||||
[then]
|
||||
[message]
|
||||
speaker=Delfador
|
||||
message= _ "They have unleashed a second wave. Soldiers, stand firm and send these abominations back to the darkness!"
|
||||
[/message]
|
||||
[/then]
|
||||
[/if]
|
||||
[/event]
|
||||
|
||||
# Time over
|
||||
|
Loading…
x
Reference in New Issue
Block a user