mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-26 20:02:25 +01:00
Core/Movement: Added Velocity field to waypoint_path table (#29837)
This commit is contained in:
@@ -325,7 +325,7 @@ struct boss_guarm : public BossAI
|
||||
DoCastAOE(SPELL_HEADLONG_CHARGE_PERIODIC_DAMAGE, true);
|
||||
DoCastAOE(SPELL_HEADLONG_CHARGE_AT, true);
|
||||
|
||||
me->GetMotionMaster()->MovePath(HeadlongChargePairs[headlongChargeId].PathID, false, {}, 35.0f);
|
||||
me->GetMotionMaster()->MovePath(HeadlongChargePairs[headlongChargeId].PathID, false);
|
||||
}
|
||||
else if (pointId == POINT_BERSERK_JUMP)
|
||||
{
|
||||
@@ -333,7 +333,7 @@ struct boss_guarm : public BossAI
|
||||
DoCastAOE(SPELL_BERSERK_CHARGE_AT);
|
||||
DoCastAOE(SPELL_ROARING_LEAP_INITIAL_KNOCKBACK, true);
|
||||
|
||||
me->GetMotionMaster()->MovePath(BerserkerPair.PathID, false, {}, 35.0f);
|
||||
me->GetMotionMaster()->MovePath(BerserkerPair.PathID, false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -217,7 +217,7 @@ struct npc_kayn_sunfury_invasion_begins : public ScriptedAI
|
||||
else if (pointId == POINT_KAYN_MOVE_TO_DEMON)
|
||||
{
|
||||
me->SetAIAnimKitId(ANIM_DH_RUN);
|
||||
me->GetMotionMaster()->MovePath(PATH_KAYN_ATTACK_DEMON, false, {}, 4.0f);
|
||||
me->GetMotionMaster()->MovePath(PATH_KAYN_ATTACK_DEMON, false);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user