Core/Movement: Added Velocity field to waypoint_path table (#29837)

This commit is contained in:
ModoX
2024-04-02 04:12:52 +02:00
committed by GitHub
parent 47e4bf06d3
commit e8f7d41536
6 changed files with 38 additions and 7 deletions

View File

@@ -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);
}
}
}

View File

@@ -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);
}
}