Merge pull request 'Change distance to check reach destination' (#361) from fixbug/npc-dialog into develop

Reviewed-on: https://git.pthub.vn/Unity/perfect-world-unity/pulls/361
This commit is contained in:
hungdk
2026-04-18 09:23:29 +00:00
@@ -74,10 +74,10 @@ namespace BrewMonster.Scripts
/// RMap marks deep water as blocked; AutoPF snaps goals to nearest land. If the real mission point
/// (m_vMoveDest) is still farther horizontally (e.g. in water), continue with DEST_2D after AutoPF ends.
/// </summary>
const float AutoPF_WorldDestContinueDistH = 4.0f;
const float AutoPF_WorldDestContinueDistH = 0.2f;
/// <summary>Horizontal radius to treat DEST_2D as arrived (swim/fly overshoot logic often never fires).</summary>
const float Dest2D_ArrivalDistH = 2.5f;
const float Dest2D_ArrivalDistH = 0.2f;
public CECHPWorkMove(CECHPWorkMan pWorkMan) : base(Host_work_ID.WORK_MOVETOPOS, pWorkMan)
{