fix: learn gameobjects from used events

This commit is contained in:
Xurkon
2026-06-05 19:19:11 -05:00
parent fa8b204a8f
commit 3f87e04c75
2 changed files with 35 additions and 0 deletions
+3
View File
@@ -376,6 +376,9 @@ describe("Audit Pass 10 - additional performance findings (snapshot)", function(
assert.is_true(has(learner, 'TraceLearnerEntity("loot_target", targetGuid, targetType, targetId, UnitName("target"))'))
assert.is_true(has(learner, 'GetLootSourceInfo then'))
assert.is_true(has(learner, 'TraceLearnerEntity("loot_source", sourceGuid, nil, sourceQty, lootName)'))
assert.is_true(has(learner, 'function QuestieLearner:OnGameObjectUsed(objectId)'))
assert.is_true(has(learner, 'frame:RegisterEvent("GAMEOBJECT_USED")'))
assert.is_true(has(learner, 'self:OnGameObjectUsed(arg1)'))
assert.is_true(has(learner, 'TraceLearnerEntity("gossip", npcGuid, unitType, id, name)'))
assert.is_true(has(learner, 'self:LearnObject(entityId, name)'))
assert.is_true(has(learner, 'if unitType == "GameObject" then'))