Core/Commands: Cleanups

This commit is contained in:
hondacrx
2020-08-24 17:38:22 -04:00
parent 3d3fd0f55f
commit c2ae405346
7 changed files with 274 additions and 246 deletions
+2 -1
View File
@@ -2101,7 +2101,8 @@ namespace Game.Spells
// 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.HasHitDelay() && unit.IsTypeId(TypeId.Player) && !m_spellInfo.IsPositive() && m_spellInfo.Id != 63881)
// 45034 - Curse of Boundless Agony jump spell (Kalecgos)
if (m_spellInfo.HasHitDelay() && unit.IsPlayer() && !m_spellInfo.IsPositive() && m_spellInfo.Id != 63881 && m_spellInfo.Id != 45034)
return SpellMissInfo.Evade;
// assisting case, healing and resurrection