Fix progression stalls and add normal class trainer visits
Core tests / core (push) Successful in 29s

This commit is contained in:
Codex
2026-09-24 09:24:57 +12:00
parent d57d793a84
commit 132bf75f9d
24 changed files with 343 additions and 31 deletions
+2 -1
View File
@@ -13,12 +13,13 @@ local function managed(p)
return r and p:IsPlayerbot() and r.name==p:GetName() and r.account==p:GetAccountId() and p:GetBotAI() and not p:GetBotAI():HasGameClientMaster()
end
local function safe(p)
if not managed(p) or p:IsDead() or p:IsInCombat() or p:IsCasting() or p:IsTaxi() then return false end
if not managed(p) or p:IsDead() or p:IsInCombat() or p:IsCasting() or p:HasUnitState(0x00000100) then return false end
local g=p:GetGroup()
if g then
if g:IsRaidGroup() or #g:GetMembers()~=g:GetMembersCount() then return false end
for _,m in pairs(g:GetMembers()) do if not managed(m) then return false end end
end
if AzerothAITrainingOverride and AzerothAITrainingOverride(p) then return false end
return not (AzerothAISurvivalOverride and AzerothAISurvivalOverride(p))
end
function AzerothAIReadinessSnapshot(p)