internal void EffectResurrect(EffectResurrect effect, Unit target, SpellEffectHandleMode mode) { if (mode != SpellEffectHandleMode.HitFinal || target == null || target.IsAlive) { return; } Caster.DealHeal(target, target.MaxHealth.CalculatePercentage(effect.HealthPercent)); target.ModifyDeathState(DeathState.Alive); }