Fix Guardian Spirit's healing

--HG--
branch : trunk
This commit is contained in:
Shocker
2010-08-24 07:49:16 +03:00
parent 85e72c9132
commit b2f542530f
+1 -1
View File
@@ -2225,8 +2225,8 @@ void Unit::CalcAbsorbResist(Unit *pVictim, SpellSchoolMask schoolMask, DamageEff
if (preventDeathSpell->SpellIconID == 2873) if (preventDeathSpell->SpellIconID == 2873)
{ {
int32 healAmount = pVictim->GetMaxHealth() * preventDeathAmount / 100; int32 healAmount = pVictim->GetMaxHealth() * preventDeathAmount / 100;
pVictim->CastCustomSpell(pVictim, 48153, &healAmount, NULL, NULL, true);
pVictim->RemoveAurasDueToSpell(preventDeathSpell->Id); pVictim->RemoveAurasDueToSpell(preventDeathSpell->Id);
pVictim->CastCustomSpell(pVictim, 48153, &healAmount, NULL, NULL, true);
RemainingDamage = 0; RemainingDamage = 0;
} }
break; break;