Tweaked the filtering of the event...
...commenting on the ineffectiveness of pierce damage against skeletons.
This commit is contained in:
parent
344bafdd81
commit
12895decea
1 changed files with 23 additions and 8 deletions
|
@ -249,22 +249,37 @@
|
|||
[/objectives]
|
||||
[/event]
|
||||
|
||||
#Ineffective Attack
|
||||
|
||||
[event]
|
||||
name=attack
|
||||
name=attack_end
|
||||
|
||||
[filter]
|
||||
side=1
|
||||
type=Spearman, Pikeman, Halberdier, Bowman, Longbowman, Master Bowman, Horseman Commander, Lance Commander
|
||||
[/filter]
|
||||
|
||||
[filter_attack]
|
||||
type=pierce
|
||||
[/filter_attack]
|
||||
|
||||
[filter_second]
|
||||
type=Skeleton, Revenant, Deathblade, Draug, Skeleton Archer, Bone Shooter, Banebow
|
||||
[/filter_second]
|
||||
|
||||
[message]
|
||||
speaker=unit
|
||||
message= _ "Our weapons are useless against these skeletons! They have nothing for our shafts to pierce but air!"
|
||||
[/message]
|
||||
# only comment on pierce damage being useless if the player didn't
|
||||
# actually kill the skeleton with it
|
||||
[if]
|
||||
[variable]
|
||||
name=second_unit.hitpoints
|
||||
greater_than=0
|
||||
[/variable]
|
||||
|
||||
[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=Deoran
|
||||
message= _ "We must clear out these undead if you are to reach Mebrin's village! What should we do?"
|
||||
|
|
Loading…
Add table
Reference in a new issue