mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-30 05:43:12 +01:00
Core/Spells: Fixed calling spellhit script hooks on launch when spell hits both caster and target with different effects
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user