Updated core macros to use [filter] status= instead of [filter_wml]

This commit is contained in:
Elvish_Hunter 2015-04-28 19:02:19 +02:00
parent 047acf4514
commit 082cfdc9af
3 changed files with 4 additions and 27 deletions

View File

@ -495,11 +495,7 @@ Enemy units cannot see this unit while it is in deep water, except if they have
[filter]
[not]
[filter_wml]
[status]
unplagueable="yes"
[/status]
[/filter_wml]
status=unplagueable
[/not]
[/filter]

View File

@ -220,11 +220,7 @@
# Poisoned units should have no idle animation.
[filter]
[not]
[filter_wml]
[status]
poisoned="yes"
[/status]
[/filter_wml]
status=poisoned
[/not]
[/filter]
# Units next to enemies should not have idle animations

View File

@ -844,11 +844,7 @@ zombie-hit-[1~6].ogg #enddef
hits=hit
[filter_second]
[not]
[filter_wml]
[status]
slowed="yes"
[/status]
[/filter_wml]
status=slowed
[/not]
[/filter_second]
@ -866,18 +862,7 @@ zombie-hit-[1~6].ogg #enddef
hits=hit
[filter_second]
[not]
[filter_wml]
[status]
poisoned="yes"
[/status]
[/filter_wml]
[or]
[filter_wml]
[status]
unpoisonable="yes"
[/status]
[/filter_wml]
[/or]
status=poisoned, unpoisonable
[/not]
[/filter_second]