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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user