aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Spells/SpellMgr.cpp
diff options
context:
space:
mode:
authorShauren <none@none>2010-10-16 16:34:21 +0200
committerShauren <none@none>2010-10-16 16:34:21 +0200
commit4ce274dbcdeba8b9647bc445efda4a211b730a8e (patch)
tree81e12625d17b3d64a4c5caac3a9c13ca1126c3a7 /src/server/game/Spells/SpellMgr.cpp
parent8154f7243cfa6221662615993b2bd17b75f06c38 (diff)
Scripts/Icecrown Citadel: Added Professor Putricide script
Scripts/Icecrown Citadel: Fixed Professor Putricide gate opening when both Rotface and Festergut are dead Scripts/Icecrown Citadel: Added script updating entries of NPCs at Light's Hammer depending on faction Scripts/Icecrown Citadel: Rotface should not pick main tank as target for Slime Spray (removed debugging code) Core/Spells/Conditions : Spell script target condition now accepts ConditionValue3 as affecting effect mask (only search targets with matching mask) --HG-- branch : trunk
Diffstat (limited to 'src/server/game/Spells/SpellMgr.cpp')
-rwxr-xr-xsrc/server/game/Spells/SpellMgr.cpp40
1 files changed, 40 insertions, 0 deletions
diff --git a/src/server/game/Spells/SpellMgr.cpp b/src/server/game/Spells/SpellMgr.cpp
index 48d8faa4369..f18d53bc893 100755
--- a/src/server/game/Spells/SpellMgr.cpp
+++ b/src/server/game/Spells/SpellMgr.cpp
@@ -3605,6 +3605,8 @@ void SpellMgr::LoadSpellCustomAttr()
case 64422: case 64688: // Sonic Screech
case 72373: // Shared Suffering
case 71904: // Chaos Bane
+ case 70492: case 72505: // Ooze Eruption
+ case 72624: case 72625: // Ooze Eruption
// ONLY SPELLS WITH SPELLFAMILY_GENERIC and EFFECT_SCHOOL_DAMAGE
mSpellCustomAttr[i] |= SPELL_ATTR_CU_SHARE_DAMAGE;
count++;
@@ -3882,6 +3884,44 @@ void SpellMgr::LoadSpellCustomAttr()
spellInfo->EffectSpellClassMask[0] = flag96(423937, 276955137, 2049);
count++;
break;
+ // this is here until targetAuraSpell and alike support SpellDifficulty.dbc
+ case 70459: // Ooze Eruption Search Effect
+ spellInfo->targetAuraSpell = 0;
+ count++;
+ break;
+ case 71413: // Green Ooze Summon
+ case 71414: // Orange Ooze Summon
+ spellInfo->EffectImplicitTargetA[0] = TARGET_DEST_DEST;
+ count++;
+ break;
+ // THIS IS HERE BECAUSE COOLDOWN ON CREATURE PROCS IS NOT IMPLEMENTED
+ case 71604: // Mutated Strength
+ case 72673: // Mutated Strength
+ case 72674: // Mutated Strength
+ case 72675: // Mutated Strength
+ spellInfo->Effect[1] = 0;
+ count++;
+ break;
+ case 70447: // Volatile Ooze Adhesive
+ case 72836: // Volatile Ooze Adhesive
+ case 72837: // Volatile Ooze Adhesive
+ case 72838: // Volatile Ooze Adhesive
+ case 70672: // Gaseous Bloat
+ case 72455: // Gaseous Bloat
+ case 72832: // Gaseous Bloat
+ case 72833: // Gaseous Bloat
+ spellInfo->EffectImplicitTargetB[0] = TARGET_UNIT_TARGET_ENEMY;
+ spellInfo->EffectImplicitTargetB[1] = TARGET_UNIT_TARGET_ENEMY;
+ spellInfo->EffectImplicitTargetB[2] = TARGET_UNIT_TARGET_ENEMY;
+ count++;
+ break;
+ case 70911: // Unbound Plague
+ case 72854: // Unbound Plague
+ case 72855: // Unbound Plague
+ case 72856: // Unbound Plague
+ spellInfo->EffectImplicitTargetB[0] = TARGET_UNIT_TARGET_ENEMY;
+ count++;
+ break;
default:
break;
}