diff options
author | QAston <qaston@gmail.com> | 2011-06-26 00:29:12 +0200 |
---|---|---|
committer | QAston <qaston@gmail.com> | 2011-06-26 00:29:12 +0200 |
commit | 2bcf63d3879cdb7175b83e98f8cd37bacd6449b3 (patch) | |
tree | 49e1222b5dc4102f3ba69486187546e4c40a2354 /src/server/game/Spells/SpellMgr.cpp | |
parent | b54b72ba5446c20faa4b67bb6433e353d0be72f6 (diff) |
Core/Spells: don't allow spells which hit target only with SPELL_EFFECT_DUMMY to execute spell triggers on that targets, also cleanup related code a bit.
Diffstat (limited to 'src/server/game/Spells/SpellMgr.cpp')
-rwxr-xr-x | src/server/game/Spells/SpellMgr.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/server/game/Spells/SpellMgr.cpp b/src/server/game/Spells/SpellMgr.cpp index 28dce44e2c6..4167b9e1516 100755 --- a/src/server/game/Spells/SpellMgr.cpp +++ b/src/server/game/Spells/SpellMgr.cpp @@ -3753,8 +3753,6 @@ void SpellMgr::LoadSpellCustomAttr() ++count; break; case 27820: // Mana Detonation - //case 28062: case 39090: // Positive/Negative Charge - //case 28085: case 39093: case 69782: // Ooze Flood case 69796: // Ooze Flood case 69798: // Ooze Flood @@ -3893,10 +3891,6 @@ void SpellMgr::LoadSpellCustomAttr() spellInfo->EffectMiscValue[0] |= 1; ++count; break; - case 52025: // Cleansing Totem Effect - spellInfo->EffectDieSides[1] = 1; - ++count; - break; case 51904: // Summon Ghouls On Scarlet Crusade (core does not know the triggered spell is summon spell) spellInfo->EffectImplicitTargetA[0] = TARGET_UNIT_CASTER; ++count; @@ -4243,14 +4237,6 @@ void SpellMgr::LoadSpellCustomAttr() break; ++count; break; - // Do not allow Deadly throw and Slice and Dice to proc twice - case SPELLFAMILY_ROGUE: - if (spellInfo->SpellFamilyFlags[1] & 0x1 || spellInfo->SpellFamilyFlags[0] & 0x40000) - spellInfo->AttributesEx4 |= SPELL_ATTR4_CANT_PROC_FROM_SELFCAST; - else - break; - ++count; - break; case SPELLFAMILY_PALADIN: // Seals of the Pure should affect Seal of Righteousness if (spellInfo->SpellIconID == 25 && spellInfo->Attributes & SPELL_ATTR0_PASSIVE) |