mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-21 10:03:27 +00:00
Oh look, a deprecated thing that was missed sometime in the past
This commit is contained in:
parent
9d3bf196b0
commit
c7b2dcca3f
@ -91,7 +91,7 @@ function wml_actions.harm_unit(cfg)
|
||||
amount,
|
||||
cfg.alignment or "neutral",
|
||||
wesnoth.get_time_of_day( { unit_to_harm.x, unit_to_harm.y, true } ).lawful_bonus,
|
||||
unit_to_harm:resistance( cfg.damage_type or "dummy" ),
|
||||
100 - unit_to_harm:resistance_against( cfg.damage_type or "dummy" ),
|
||||
resistance_multiplier
|
||||
)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user