Fix progression stalls and add normal class trainer visits
Core tests / core (push) Successful in 29s
Core tests / core (push) Successful in 29s
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user