[8101] Prevent use talents as quest rewards or spell_learn_spell learned spells. Author: VladimirMangos

--HG--
branch : trunk
This commit is contained in:
megamage committed 2009-07-01 18:07:57 -05:00
1 parent e1d93bd00f
commit de4faabbcb
2 files changed
+25 -5

No files matched your search

+7 -1
View File
@@ -1680,7 +1680,13 @@ void SpellMgr::LoadSpellLearnSpells()
if(!sSpellStore.LookupEntry(node.spell))
{
sLog.outErrorDb("Spell %u listed in `spell_learn_spell` does not exist",node.spell);
sLog.outErrorDb("Spell %u listed in `spell_learn_spell` learning not existed spell %u",spell_id,node.spell);
continue;
}
if(GetTalentSpellCost(node.spell))
{
sLog.outErrorDb("Spell %u listed in `spell_learn_spell` attempt learning talent spell %u, skipped",spell_id,node.spell);
continue;
}