Fixed a dialogue glitch if Dommel is killed by the orcs.

This commit is contained in:
Lari Nieminen 2010-07-04 10:38:15 +00:00
parent efc193dce7
commit 5649968407

View File

@ -950,29 +950,49 @@ Uu , Uu , Chr , Uh , Re , Uu
#
# Deaths - Dommel
#
# If either the orcs or Helicrom's guys happen to kill Dommel, we pretend
# that Baldras killed him so that the dialogue makes more sense
[event]
name=last breath
[filter]
id=Dommel
[/filter]
[if]
[variable]
name=second_unit.id
equals=Dommel
[/variable]
[then]
[message]
speaker=Baldras
message= _ "Your reign of terror is over, General."
[/message]
[/then]
[else]
[message]
speaker=second_unit
message= _ "Your reign of terror is over, General."
[/message]
[/else]
[/if]
[filter_second]
side=4,5
[/filter_second]
[fire_event]
name=last breath
[primary_unit]
id=Dommel
[/primary_unit]
[secondary_unit]
id=Baldras
[/secondary_unit]
[/fire_event]
[/event]
[event]
name=last breath
[filter]
id=Dommel
[/filter]
[filter_second]
side=1,6
[/filter_second]
[message]
speaker=second_unit
message= _ "Your reign of terror is over, General."
[/message]
[message]
speaker=Dommel
message= _ "You will never successfully oppose Asheviere. Her power is too great... This small victory today is but a reprieve from the unimaginable pain you will suffer when the full force of her wrath descends upon you."