Fix [heal_unit] not restoring statuses by default (GNA25605)
This commit is contained in:
parent
96c79ba6b3
commit
b16728c78e
1 changed files with 1 additions and 1 deletions
|
@ -675,7 +675,7 @@ function wml_actions.heal_unit(cfg)
|
|||
u.attacks_left = u.max_attacks
|
||||
end
|
||||
|
||||
if cfg.restore_statuses then
|
||||
if cfg.restore_statuses == true or cfg.restore_statuses == nil then
|
||||
u.status.poisoned = false
|
||||
u.status.petrified = false
|
||||
u.status.slowed = false
|
||||
|
|
Loading…
Add table
Reference in a new issue