mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-06 20:37:45 +00:00
fix(Core/Professions): properly unlearn skill dependent spells (#7290)
- Closes #7165
This commit is contained in:
@@ -1574,7 +1574,7 @@ public:
|
||||
void SendLearnPacket(uint32 spellId, bool learn);
|
||||
bool addSpell(uint32 spellId, uint8 addSpecMask, bool updateActive, bool temporary = false, bool learnFromSkill = false);
|
||||
bool _addSpell(uint32 spellId, uint8 addSpecMask, bool temporary, bool learnFromSkill = false);
|
||||
void learnSpell(uint32 spellId);
|
||||
void learnSpell(uint32 spellId, bool temporary = false);
|
||||
void removeSpell(uint32 spellId, uint8 removeSpecMask, bool onlyTemporary);
|
||||
void resetSpells();
|
||||
void LearnCustomSpells();
|
||||
|
||||
Reference in New Issue
Block a user