aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Spells/Spell.cpp
diff options
context:
space:
mode:
authorhorn <pankrac.ja@seznam.cz>2013-03-03 22:19:57 +0100
committerhorn <pankrac.ja@seznam.cz>2013-05-14 17:52:37 +0200
commit0a0698b1d41cca4ae19f84b1c62c97d2964e13a5 (patch)
treee2744de7b80577a49a9810150211524809d204b0 /src/server/game/Spells/Spell.cpp
parent8e1601e202708ccd483456f5bfa06957470e2d3c (diff)
Scripts/Ulduar: Yogg-Saron
Known issues: - encounter doesn't start immediately after you enter the room, you need to go closer - players standing outside of the room are not turned Insane after 15 seconds - encounter resets if the last living player is gripped by Constrictor Tentacle or encased in Hodir's Flash Freeze - Hodir won't freeze multiple players when they die at the same moment - Flash Freeze missile (64176) won't hit anybody, probably cast too soon (cosmetic issue) - there are some unused spells, don't know when or why they should be cast - some spell animations hit multiple players, but they shouldn't do that
Diffstat (limited to 'src/server/game/Spells/Spell.cpp')
-rw-r--r--src/server/game/Spells/Spell.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/server/game/Spells/Spell.cpp b/src/server/game/Spells/Spell.cpp
index 8f887cebe38..dfec24f3996 100644
--- a/src/server/game/Spells/Spell.cpp
+++ b/src/server/game/Spells/Spell.cpp
@@ -2633,7 +2633,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
- if (m_spellInfo->Speed > 0.0f && unit->GetTypeId() == TYPEID_PLAYER && !m_spellInfo->IsPositive())
+ // 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)
return SPELL_MISS_EVADE;
// assisting case, healing and resurrection