public override void CastAction() { if (remainingUses == 0) { return; } Debug.Log("Heal " + remainingUses); if (health == null) { health = data.source.GetComponent <Health>(); } health.HealPercentageMax(healValue); remainingUses--; }
public override void CastAction() { if (remainingUses == 0) { return; } Debug.Log("Heal " + remainingUses); if (health == null) { health = data.source.GetComponent <Health>(); } health.HealPercentageMax(healValue); remainingUses--; }