From 111ed6fd5bd73a81e7b5fc52481b1e78b64ea530 Mon Sep 17 00:00:00 2001 From: Golrag Date: Sun, 12 Jul 2015 20:38:44 +0200 Subject: Script/Rotface: Fixed Ooze flood targets. --- src/server/game/Spells/SpellMgr.cpp | 7 +++++++ 1 file changed, 7 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 53b44fdd5cc..8978359fd26 100644 --- a/src/server/game/Spells/SpellMgr.cpp +++ b/src/server/game/Spells/SpellMgr.cpp @@ -3507,6 +3507,13 @@ void SpellMgr::LoadSpellInfoCorrections() case 71415: // Orange Ooze Summon (Professor Putricide) spellInfo->Effects[EFFECT_0].TargetA = SpellImplicitTargetInfo(TARGET_UNIT_TARGET_ANY); break; + case 69783: // Ooze flood + case 69797: // Ooze flood + case 69799: // Ooze flood + case 69802: // Ooze flood + // Those spells are cast on creatures with same entry as caster while they have TARGET_UNIT_NEARBY_ENTRY. + spellInfo->AttributesEx |= SPELL_ATTR1_CANT_TARGET_SELF; + break; case 71159: // Awaken Plagued Zombies spellInfo->DurationEntry = sSpellDurationStore.LookupEntry(21); break; -- cgit v1.2.3