bugfix healing done from unit to unit

This commit is contained in:
rubenvrolijk
2019-11-30 13:05:22 +01:00
committed by GitHub
parent 94322afa16
commit d26f2efa11
+2 -2
View File
@@ -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