From 357557a12f146e2aaaf69b593e3f04ef68715606 Mon Sep 17 00:00:00 2001 From: Blaymoira Date: Tue, 9 Dec 2008 16:21:41 +0100 Subject: [PATCH] *Added 2 generic spells wich not affected by bonus dmg/healing. --HG-- branch : trunk --- src/game/Unit.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index 40ed45d027..97a9a6d04d 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -8600,6 +8600,17 @@ uint32 Unit::SpellDamageBonus(Unit *pVictim, SpellEntry const *spellProto, uint3 switch(spellProto->SpellFamilyName) { + case SPELLFAMILY_GENERIC: + // Siphon Essence - 0% + if(spellProto->AttributesEx == 268435456 && spellProto->SpellIconID == 2027) + { + CastingTime = 0; + } + // Goblin Rocket Launcher - 0% + else if (spellProto->SpellIconID == 184 && spellProto->Attributes == 4259840) + { + CastingTime = 0; + } case SPELLFAMILY_MAGE: // Ignite - do not modify, it is (8*Rank)% damage of procing Spell if(spellProto->Id==12654)