From bf10f4f3a4a4ce535519f50d5892cf682b343c4b Mon Sep 17 00:00:00 2001 From: Rochet2 Date: Wed, 19 Jul 2017 18:12:20 +0300 Subject: [PATCH] Fix talent learning code to properly do updates --- PlayerMethods.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/PlayerMethods.h b/PlayerMethods.h index f78a480..73ac167 100644 --- a/PlayerMethods.h +++ b/PlayerMethods.h @@ -3591,6 +3591,13 @@ namespace LuaPlayer uint32 rank = Eluna::CHECKVAL(L, 3); player->LearnTalent(id, rank); + player->SendTalentsInfoData(false); + +#ifndef TRINITY + // if player has a pet, update owner talent auras + if (player->GetPet()) + player->GetPet()->CastOwnerTalentAuras(); +#endif return 0; }