Core/Spells: Fixed calling spellhit script hooks on launch when spell hits both caster and target with different effects

This commit is contained in:
Shauren
2019-08-31 01:29:54 +02:00
parent c924840ce7
commit 04ab611111
4 changed files with 50 additions and 22 deletions

View File

@@ -3605,7 +3605,7 @@ void SpellMgr::LoadSpellInfoCorrections()
case SPELL_EFFECT_JUMP:
case SPELL_EFFECT_JUMP_DEST:
case SPELL_EFFECT_LEAP_BACK:
if (!spellInfo->Speed && !spellInfo->SpellFamilyName)
if (!spellInfo->Speed && !spellInfo->SpellFamilyName && !spellInfo->HasAttribute(SPELL_ATTR9_SPECIAL_DELAY_CALCULATION))
spellInfo->Speed = SPEED_CHARGE;
break;
}