mirror of
https://github.com/mangosfour/server.git
synced 2025-12-29 16:37:04 +00:00
[c12574] Improve debug log output for learning/unlearning spells/skills
This commit is contained in:
parent
3e2aefb538
commit
1e15277bba
3 changed files with 12 additions and 3 deletions
|
|
@ -314,6 +314,7 @@ void WorldSession::HandleTrainerBuySpellOpcode(WorldPacket& recv_data)
|
|||
SendPacket(&data);
|
||||
|
||||
// learn explicitly or cast explicitly
|
||||
// TODO - Are these spells really cast correctly this way?
|
||||
if (trainer_spell->IsCastable())
|
||||
_player->CastSpell(_player, trainer_spell->spell, true);
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue