mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-03 05:33:16 +00:00
T S2: instead of 19, use max_hitpoints/5 as conditional for warning lines
This commit is contained in:
parent
f57c4cfd61
commit
084f91f9ac
@ -616,11 +616,7 @@
|
||||
[filter_condition]
|
||||
[variable]
|
||||
name=unit.hitpoints
|
||||
less_than=19
|
||||
[/variable]
|
||||
[variable]
|
||||
name=unit.hitpoints
|
||||
greater_than=0
|
||||
less_than=$($unit.max_hitpoits/5)
|
||||
[/variable]
|
||||
[/filter_condition]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user