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
+3 -2
View File
@@ -60,8 +60,9 @@ function AzerothAISetRecoveryIntents(rows)
return 'Recovery intentions refreshed'
end
local function safe(p,a)
if AzerothAITrainingOverride and AzerothAITrainingOverride(p) then return false end
if AzerothAISurvivalOverride and AzerothAISurvivalOverride(p) then return false end
if p:IsDead() or p:IsInCombat() or p:IsTaxi() or a:HasGameClientMaster()
if p:IsDead() or p:IsInCombat() or p:HasUnitState(0x00000100) or a:HasGameClientMaster()
or p:IsRooted() or a:IsMovementImpaired() then return false end
local g=p:GetGroup()
if g then
@@ -81,7 +82,7 @@ local function recover(p,a,r,guid,now,followup)
if q and not recent then
local interrupted=p:IsCasting()
if interrupted then p:StopSpellCast() end
local staleFlight=p:GetMovementType()==7 and not p:IsTaxi()
local staleFlight=p:GetMovementType()==7 and not p:HasUnitState(0x00000100)
if staleFlight then p:MoveExpire();p:MoveClear() end
a:Reset(true)
local gathering,looting=a:HasStrategy('gather',1),a:HasStrategy('loot',1)