From e9cd7af2dfcb7948f27e83e73398da0086190aab Mon Sep 17 00:00:00 2001 From: Gustavo Date: Tue, 8 Aug 2017 22:36:40 -0300 Subject: Core/Scripts: Rewrite Boss Kalecgos (Sunwell Plateau) (#19897) * Core/Scripts: Rewrite Boss Kalecgos (Sunwell Plateau) Scripted all spells Corrected behavior of Spectral Blast and Curse of Boundless Agony Removed wrong wipe behavior Fix problem where bosses would be stuck with banish Added Boundaries Corrected texts Removed old hacks Other minor fixes --- src/server/game/Spells/Spell.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/server/game/Spells/Spell.cpp') diff --git a/src/server/game/Spells/Spell.cpp b/src/server/game/Spells/Spell.cpp index 48dddb23ca5..be01f88c2d5 100644 --- a/src/server/game/Spells/Spell.cpp +++ b/src/server/game/Spells/Spell.cpp @@ -2552,7 +2552,8 @@ SpellMissInfo Spell::DoSpellHitOnUnit(Unit* unit, uint32 effectMask, bool scaleA // for delayed spells ignore negative spells (after duel end) for friendly targets /// @todo this cause soul transfer bugged // 63881 - Malady of the Mind jump spell (Yogg-Saron) - if (m_spellInfo->Speed > 0.0f && unit->GetTypeId() == TYPEID_PLAYER && !m_spellInfo->IsPositive() && m_spellInfo->Id != 63881) + // 45034 - Curse of Boundless Agony jump spell (Kalecgos) + if (m_spellInfo->Speed > 0.0f && unit->GetTypeId() == TYPEID_PLAYER && !m_spellInfo->IsPositive() && m_spellInfo->Id != 63881 && m_spellInfo->Id != 45034) return SPELL_MISS_EVADE; // assisting case, healing and resurrection @@ -7882,7 +7883,7 @@ bool WorldObjectSpellAreaTargetCheck::operator()(WorldObject* target) if (!isInsideCylinder) return false; } - + return WorldObjectSpellTargetCheck::operator ()(target); } -- cgit v1.2.3