From 00e24b2681ad932176ef26fa6f55c23c674c54d2 Mon Sep 17 00:00:00 2001 From: Yunfan Li Date: Sun, 21 Jul 2024 22:23:03 +0800 Subject: [PATCH] [Command] Send talents info data after glyph changed --- src/strategy/actions/TrainerAction.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/strategy/actions/TrainerAction.cpp b/src/strategy/actions/TrainerAction.cpp index 231dea7d..15179234 100644 --- a/src/strategy/actions/TrainerAction.cpp +++ b/src/strategy/actions/TrainerAction.cpp @@ -172,6 +172,7 @@ bool MaintenanceAction::Execute(Event event) factory.ApplyEnchantAndGemsNew(); } bot->DurabilityRepairAll(false, 1.0f, false); + bot->SendTalentsInfoData(false); return true; } @@ -181,6 +182,7 @@ bool RemoveGlyphAction::Execute(Event event) { bot->SetGlyph(slotIndex, 0, true); } + bot->SendTalentsInfoData(false); return true; }