Silence trainer scan noise during Growl auto-teach

- Add MTH_Growl_IsTeaching(); the beast-training scanner skips its chat
  feedback while auto-teach is driving the trainer window (no more
  'scan did not run yet' spam on tame)
- Confirm the taught rank in chat: 'Auto-taught Growl (Rank N) to <pet>.'
This commit is contained in:
DuvelCorp
2026-09-13 10:46:23 +02:00
parent dec41628ad
commit 71c84e1704
2 changed files with 19 additions and 0 deletions
+4
View File
@@ -714,6 +714,10 @@ local function MTH_PT_RunDoubleScan(triggerBase)
or triggerText == "beast-training-rows-open"
or triggerText == "petbook-visible-poll"
)
-- Stay quiet while Growl auto-teach is driving the trainer window.
if feedbackOnOpen and type(MTH_Growl_IsTeaching) == "function" and MTH_Growl_IsTeaching() then
feedbackOnOpen = false
end
if not MTH_PT_ShouldScanNow() then
if MTH_PT_DebugLog then
MTH_PT_DebugLog("scan skipped: no beast-training rows, trigger=" .. tostring(triggerBase or ""))