fix(Core/Professions): properly unlearn skill dependent spells (#7290)

- Closes #7165
This commit is contained in:
UltraNix
2021-08-13 17:47:16 +02:00
committed by GitHub
parent 5c1b1299e7
commit 3487973c0e
2 changed files with 8 additions and 7 deletions

View File

@@ -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();