Oh look, a deprecated thing that was missed sometime in the past

This commit is contained in:
Celtic Minstrel 2021-02-23 21:14:24 -05:00
parent 9d3bf196b0
commit c7b2dcca3f

View File

@ -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
)