From ed82a4a9ba3c604907724357ec0322c06d3fea39 Mon Sep 17 00:00:00 2001 From: Splinter Date: Wed, 16 Dec 2009 17:09:43 +0300 Subject: [PATCH] [9004] Drop dead code case Signed-off-by: VladimirMangos --- src/game/Unit.cpp | 10 ---------- src/shared/revision_nr.h | 2 +- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index 5bcac4181..df4fc9efc 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -7638,16 +7638,6 @@ bool Unit::HandleOverrideClassScriptAuraProc(Unit *pVictim, uint32 damage, Aura case 6953: // Warbringer RemoveAurasAtMechanicImmunity(IMMUNE_TO_ROOT_AND_SNARE_MASK,0,true); return true; - case 8152: // Serendipity - { - // if heal your target over maximum health - if (pVictim->GetHealth() + damage < pVictim->GetMaxHealth()) - return false; - int32 cost = procSpell->manaCost + procSpell->ManaCostPercentage * GetCreateMana() / 100; - int32 basepoints0 = cost * triggeredByAura->GetModifier()->m_amount/100; - CastCustomSpell(this, 47762, &basepoints0, NULL, NULL, true, NULL, triggeredByAura); - return true; - } } // not processed diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 5ebc8c063..8a470704c 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "9003" + #define REVISION_NR "9004" #endif // __REVISION_NR_H__ -- 2.11.4.GIT