diff options
author | Shocker <none@none> | 2010-08-24 07:49:16 +0300 |
---|---|---|
committer | Shocker <none@none> | 2010-08-24 07:49:16 +0300 |
commit | b2f542530ff683a32ee80fb42a4c2554edf59589 (patch) | |
tree | ca86518ea0f5854ca3524a2590fdebf856189f37 /src | |
parent | 85e72c9132d8796cfcd942f47064cc9576d75141 (diff) |
Fix Guardian Spirit's healing
--HG--
branch : trunk
Diffstat (limited to 'src')
-rw-r--r-- | src/server/game/Entities/Unit/Unit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Entities/Unit/Unit.cpp b/src/server/game/Entities/Unit/Unit.cpp index c90c891c944..a745bb00487 100644 --- a/src/server/game/Entities/Unit/Unit.cpp +++ b/src/server/game/Entities/Unit/Unit.cpp @@ -2225,8 +2225,8 @@ void Unit::CalcAbsorbResist(Unit *pVictim, SpellSchoolMask schoolMask, DamageEff if (preventDeathSpell->SpellIconID == 2873) { int32 healAmount = pVictim->GetMaxHealth() * preventDeathAmount / 100; - pVictim->CastCustomSpell(pVictim, 48153, &healAmount, NULL, NULL, true); pVictim->RemoveAurasDueToSpell(preventDeathSpell->Id); + pVictim->CastCustomSpell(pVictim, 48153, &healAmount, NULL, NULL, true); RemainingDamage = 0; } break; |