Core/Spells: Fixed calling spellhit script hooks on launch when spell hits both caster and target with different effects
Port From (https://github.com/TrinityCore/TrinityCore/commit/04ab611111824c7709582637660d01eb117fe9fc)
This commit is contained in:
@@ -2435,7 +2435,7 @@ namespace Game.Entities
|
||||
case SpellEffectName.Jump:
|
||||
case SpellEffectName.JumpDest:
|
||||
case SpellEffectName.LeapBack:
|
||||
if (spellInfo.Speed == 0 && spellInfo.SpellFamilyName == 0)
|
||||
if (spellInfo.Speed == 0 && spellInfo.SpellFamilyName == 0 && !spellInfo.HasAttribute(SpellAttr9.SpecialDelayCalculation))
|
||||
spellInfo.Speed = MotionMaster.SPEED_CHARGE;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user