Skip to content

Commit

Permalink
TSG S04 Fix bug: Separate undead comments
Browse files Browse the repository at this point in the history
Deoran and Ethiliel's comments should apply when there are undead remaining. This is separate to a general command about arrows (pierce attacks) not working on skeletons.
  • Loading branch information
GregoryLundberg committed Sep 2, 2016
1 parent 2ffaaac commit 1f3ee03
Showing 1 changed file with 24 additions and 8 deletions.
32 changes: 24 additions & 8 deletions data/campaigns/The_South_Guard/scenarios/04_Vale_of_Tears.cfg
Expand Up @@ -278,19 +278,35 @@

# only comment on pierce damage being useless if the player didn't
# actually kill the skeleton with it
[if]
[filter_condition]
[variable]
name=second_unit.hitpoints
greater_than=0
[/variable]
[/filter_condition]

[then]
[message]
speaker=unit
message= _ "Our weapons are useless against these skeletons! They have nothing for our shafts to pierce but air!"
[/message]
[/then]
[/if]
[message]
speaker=unit
message= _ "Our weapons are useless against these skeletons! They have nothing for our shafts to pierce but air!"
[/message]
[/event]

[event]
name=attack_end

[filter]
side=1
[/filter]

[filter_second]
side=2
[/filter_second]

[filter_condition]
[have_unit]
side=2
[/have_unit]
[/filter_condition]

[message]
speaker=Deoran
Expand Down

0 comments on commit 1f3ee03

Please sign in to comment.