From d26f2efa119f7d9e2e6332529938e1a78041258b Mon Sep 17 00:00:00 2001 From: rubenvrolijk Date: Sat, 30 Nov 2019 13:05:22 +0100 Subject: [PATCH] bugfix healing done from unit to unit --- core/parser.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/parser.lua b/core/parser.lua index 20320f68..3b2acc79 100644 --- a/core/parser.lua +++ b/core/parser.lua @@ -1792,11 +1792,11 @@ --> pet if (meu_dono) then meu_dono.total = meu_dono.total + cura_efetiva --> heal do pet - meu_dono.targets [alvo_name] = (meu_dono.targets [alvo_name] or 0) + amount + meu_dono.targets [alvo_name] = (meu_dono.targets [alvo_name] or 0) + cura_efetiva end --> target amount - este_jogador.targets [alvo_name] = (este_jogador.targets [alvo_name] or 0) + amount + este_jogador.targets [alvo_name] = (este_jogador.targets [alvo_name] or 0) + cura_efetiva end if (meu_dono) then