Core/Players: Properly mark all class/specialization/talent/pvp talent learned spells as dependent
Port From (https://github.com/TrinityCore/TrinityCore/commit/d7f5c19e1a1b969bf34fcf5cb38f54c1472583ea)
This commit is contained in:
@@ -307,7 +307,7 @@ namespace Game.Entities
|
||||
if (spellInfo == null || spellInfo.SpellLevel > GetLevel())
|
||||
continue;
|
||||
|
||||
LearnSpell(specSpell.SpellID, false);
|
||||
LearnSpell(specSpell.SpellID, true);
|
||||
if (specSpell.OverridesSpellID != 0)
|
||||
AddOverrideSpell(specSpell.OverridesSpellID, specSpell.SpellID);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user