diff options
| author | Blaymoira <none@none> | 2008-12-09 16:21:41 +0100 |
|---|---|---|
| committer | Blaymoira <none@none> | 2008-12-09 16:21:41 +0100 |
| commit | 357557a12f146e2aaaf69b593e3f04ef68715606 (patch) | |
| tree | 22cc3f85452e84be827ed19096682998107376ee /src | |
| parent | 928ba0e3666ac986a310884943ef904938ca1ada (diff) | |
*Added 2 generic spells wich not affected by bonus dmg/healing.
--HG--
branch : trunk
Diffstat (limited to 'src')
| -rw-r--r-- | src/game/Unit.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index 40ed45d027b..97a9a6d04de 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) |
