fix(arrow): Sunstrider zoneId 3431, rotation CW, collection distance, native map pins
- zoneId detection: accept 3430 OR 3431 OR uiMapId 1241 (4 locations) - SetRotation is CW-positive: rotAngle=relative (was -relative) - Collection functions: override target->1241 when player on Sunstrider - NPC 15281: spawn zone 1241 (not 3430) for correct coord space - _ResolveMapUiMapId: removed 1241->1941 redirect - zoneDB: added areaIdToUiMapId[1241]=1241 - Updated CHANGELOG, README, docs
This commit is contained in:
@@ -693,7 +693,9 @@ function QuestieDB.GetSuppressedNPCs(zoneId)
|
||||
local threshold = ld.settings.minConfidencePins or 2
|
||||
local npcId, entry = next(ld.npcs)
|
||||
while npcId do
|
||||
if entry.mc and entry.mc >= threshold and entry[7] and entry[7][zoneId] then
|
||||
-- Support both old format ([4]=spawns) and new format ([7]=spawns)
|
||||
local spawns = entry[7] or entry[4]
|
||||
if entry.mc and entry.mc >= threshold and spawns and spawns[zoneId] then
|
||||
suppressed[npcId] = true
|
||||
end
|
||||
npcId, entry = next(ld.npcs, npcId)
|
||||
@@ -713,7 +715,9 @@ function QuestieDB.GetSuppressedObjects(zoneId)
|
||||
local threshold = ld.settings.minConfidencePins or 2
|
||||
local objId, entry = next(ld.objects)
|
||||
while objId do
|
||||
if entry.mc and entry.mc >= threshold and entry[4] and entry[4][zoneId] then
|
||||
-- Support both old format ([4]=spawns) and new format ([7]=spawns)
|
||||
local spawns = entry[4] or entry[7]
|
||||
if entry.mc and entry.mc >= threshold and spawns and spawns[zoneId] then
|
||||
suppressed[objId] = true
|
||||
end
|
||||
objId, entry = next(ld.objects, objId)
|
||||
|
||||
Reference in New Issue
Block a user