From 8a17d95647f2d87a5a6c08efbcb32040462b4f37 Mon Sep 17 00:00:00 2001 From: Shauren Date: Sat, 16 Oct 2010 16:34:21 +0200 Subject: 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 extra : rebase_source : 943e3bac5d9063974d7f7132f144e91946f825d4 --- src/server/game/Spells/SpellMgr.cpp | 40 +++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) (limited to 'src/server/game/Spells/SpellMgr.cpp') 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; } -- cgit v1.2.3