fix(Arrow): correct Felendren arrow coordinates on Sunstrider
- _ResolveArrowUiMapId: stop redirecting 1241→1941. With zoneDB now mapping areaId 3431→uiMapId 1241, and player on uiMapId 1241, keeping 1241 as 1241 ensures both player and target world coords are computed through the same ASCENSION_ZONE_BOUNDS[1241] calibration (1600x1066.67, -2721, 8433.94). This gives correct ~169yd distance and bearing.
This commit is contained in:
@@ -135,9 +135,10 @@ end
|
||||
|
||||
local function _ResolveArrowUiMapId(uiMapId)
|
||||
-- Ghost map 946 has no real coordinate data; redirect to Eversong (1941).
|
||||
-- Ascension custom map 1241 (Sunstrider Isle) must also redirect to 1941
|
||||
-- so target world coords match player world coords (both in Eversong space).
|
||||
if uiMapId == 946 or uiMapId == 1241 then
|
||||
-- NOTE: 1241 (Sunstrider Isle) is no longer redirected here - zoneDB now
|
||||
-- maps areaId 3431 → uiMapId 1241, and player is on uiMapId 1241, so 1241
|
||||
-- stays as 1241 for correct world-coord computation via its own bounds.
|
||||
if uiMapId == 946 then
|
||||
return 1941
|
||||
end
|
||||
return uiMapId
|
||||
|
||||
Reference in New Issue
Block a user