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; }