mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-21 01:37:37 +01:00
Backed out changeset: ad4f100c0a9d
--HG-- branch : trunk
This commit is contained in:
@@ -82,6 +82,10 @@ void WorldSession::HandleLearnTalentOpcode( WorldPacket & recv_data )
|
||||
}
|
||||
}
|
||||
|
||||
// Check if it requires spell
|
||||
if( talentInfo->DependsOnSpell && !player->HasSpell(talentInfo->DependsOnSpell) )
|
||||
return;
|
||||
|
||||
// Find out how many points we have in this field
|
||||
uint32 spentPoints = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user