Core/Skills: Fixed spells automatically learned from skill lines adding more skill lines
This commit is contained in:
1 parent
442a94fc68
commit
d91964912e
8 files changed
+106
-102
No files matched your search
@@ -2912,7 +2912,7 @@ class spell_gen_profession_research : public SpellScriptLoader
|
||||
|
||||
// learn random explicit discovery recipe (if any)
|
||||
if (uint32 discoveredSpellId = GetExplicitDiscoverySpell(spellId, caster))
|
||||
caster->learnSpell(discoveredSpellId, false);
|
||||
caster->LearnSpell(discoveredSpellId, false);
|
||||
|
||||
caster->UpdateCraftSkill(spellId);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user