Damage source and effect fix
This commit is contained in:
parent
7aa0aa5bad
commit
c89d93cf24
15 changed files with 52 additions and 34 deletions
|
|
@ -24,7 +24,7 @@ public partial class AloeBehaviour : Node
|
|||
{
|
||||
if((float)plantData.Hp / (float)plantData.MaxHp < _hpTreshold)
|
||||
{
|
||||
plantData.Heal(3000 + 25 * plantData.MaxHp);
|
||||
plantData.Heal(3000 + 25 * plantData.MaxHp,GetParent());
|
||||
_charge = false;
|
||||
_player.Play("aloe/heal");
|
||||
_player.Queue("aloe/idle_used");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue