mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-04 22:43:17 +00:00
Updated core macros to use [filter] status= instead of [filter_wml]
This commit is contained in:
parent
047acf4514
commit
082cfdc9af
@ -495,11 +495,7 @@ Enemy units cannot see this unit while it is in deep water, except if they have
|
|||||||
|
|
||||||
[filter]
|
[filter]
|
||||||
[not]
|
[not]
|
||||||
[filter_wml]
|
status=unplagueable
|
||||||
[status]
|
|
||||||
unplagueable="yes"
|
|
||||||
[/status]
|
|
||||||
[/filter_wml]
|
|
||||||
[/not]
|
[/not]
|
||||||
[/filter]
|
[/filter]
|
||||||
|
|
||||||
|
@ -220,11 +220,7 @@
|
|||||||
# Poisoned units should have no idle animation.
|
# Poisoned units should have no idle animation.
|
||||||
[filter]
|
[filter]
|
||||||
[not]
|
[not]
|
||||||
[filter_wml]
|
status=poisoned
|
||||||
[status]
|
|
||||||
poisoned="yes"
|
|
||||||
[/status]
|
|
||||||
[/filter_wml]
|
|
||||||
[/not]
|
[/not]
|
||||||
[/filter]
|
[/filter]
|
||||||
# Units next to enemies should not have idle animations
|
# Units next to enemies should not have idle animations
|
||||||
|
@ -844,11 +844,7 @@ zombie-hit-[1~6].ogg #enddef
|
|||||||
hits=hit
|
hits=hit
|
||||||
[filter_second]
|
[filter_second]
|
||||||
[not]
|
[not]
|
||||||
[filter_wml]
|
status=slowed
|
||||||
[status]
|
|
||||||
slowed="yes"
|
|
||||||
[/status]
|
|
||||||
[/filter_wml]
|
|
||||||
[/not]
|
[/not]
|
||||||
[/filter_second]
|
[/filter_second]
|
||||||
|
|
||||||
@ -866,18 +862,7 @@ zombie-hit-[1~6].ogg #enddef
|
|||||||
hits=hit
|
hits=hit
|
||||||
[filter_second]
|
[filter_second]
|
||||||
[not]
|
[not]
|
||||||
[filter_wml]
|
status=poisoned, unpoisonable
|
||||||
[status]
|
|
||||||
poisoned="yes"
|
|
||||||
[/status]
|
|
||||||
[/filter_wml]
|
|
||||||
[or]
|
|
||||||
[filter_wml]
|
|
||||||
[status]
|
|
||||||
unpoisonable="yes"
|
|
||||||
[/status]
|
|
||||||
[/filter_wml]
|
|
||||||
[/or]
|
|
||||||
[/not]
|
[/not]
|
||||||
[/filter_second]
|
[/filter_second]
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user