fix(Core/Spells): Spells learned from skills should be visibile immediately in the spellbook and chat. (#5106)

This commit is contained in:
UltraNix
2021-04-09 05:09:17 +02:00
committed by GitHub
parent a2c034dc48
commit 3de7d14620
2 changed files with 7 additions and 7 deletions

View File

@@ -1695,8 +1695,8 @@ public:
void SendProficiency(ItemClass itemClass, uint32 itemSubclassMask);
void SendInitialSpells();
void SendLearnPacket(uint32 spellId, bool learn);
bool addSpell(uint32 spellId, uint8 addSpecMask, bool updateActive, bool temporary = false);
bool _addSpell(uint32 spellId, uint8 addSpecMask, bool temporary);
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 removeSpell(uint32 spellId, uint8 removeSpecMask, bool onlyTemporary);
void resetSpells();