public void PowerHeal() { if (owner && !owner.GetIsDead()) { owner.TakeShellDamage(-0.025F * owner.GetMaxHealth()[0], 0, null); owner.TakeCoreDamage(-0.025F * owner.GetMaxHealth()[1]); owner.TakeEnergy(-0.025F * owner.GetMaxHealth()[2]); } }