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:
Gregory A Lundberg 2016-07-24 23:37:47 -05:00
parent 39da9c8f9a
commit 09e7006b1d

View File

@ -384,6 +384,10 @@
id=Delfador
message= _ "One of Iliah-Malals 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