mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-03 21:48:48 +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]
|
||||
[not]
|
||||
[filter_wml]
|
||||
[status]
|
||||
unplagueable="yes"
|
||||
[/status]
|
||||
[/filter_wml]
|
||||
status=unplagueable
|
||||
[/not]
|
||||
[/filter]
|
||||
|
||||
|
@ -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
|
||||
|
@ -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]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user