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
@@ -18,7 +18,7 @@ function player:IsDead()return self.dead end
function player:IsInCombat()return self.combat end
function player:IsCasting()return self.casting end
function player:StopSpellCast()self.casting=false;self.interrupted=true end
function player:IsTaxi()return self.taxi end
function player:HasUnitState(state)assert(state==0x00000100);return self.taxi end
function player:IsRooted()return self.root end
function player:GetGroup()return self.group end
function player:GetX()return self.x end
@@ -58,6 +58,7 @@ l=new();l.execute('step(0);now=now+601;tick();assert(attempts==0)')
print('Intent, movement, health progress, active identity and stale input guards passed')
l=new();l.execute('player.group={GetMembers=function()return {{IsPlayerbot=function()return false end}} end,GetMembersCount=function()return 1 end};step(0);step(601);assert(attempts==0)')
l=new();l.execute('player.motion=7;step(0);step(601);assert(attempts==1 and expired==1)')
l=new();l.execute('function player:IsTaxi()return false end;player.taxi=true;player.motion=7;step(0);step(601);assert(attempts==0 and expired==0,"In-flight state protects a player even though IsTaxi NPC predicate is false")')
print('Human group exclusion and stale flight recovery passed')
l=new();l.execute("step(0);step(600);player.x=8;step(30);assert(string.find(captured[#captured], '726573756D6564'))")