fix(Core/Trainers): add new column ReqSpell to npc_trainer table (#9490)

Prevent learning gnomish and goblin engineering recipes at same time.
Fixes #5390

Co-authored-by: Skjalf <47818697+Nyeriah@users.noreply.github.com>
This commit is contained in:
UltraNix
2021-12-16 11:18:21 +01:00
committed by GitHub
parent c822ef969b
commit 0f83d52f43
6 changed files with 75 additions and 4 deletions

View File

@@ -1055,7 +1055,7 @@ public:
void LoadVendors();
void LoadTrainerSpell();
void AddSpellToTrainer(uint32 entry, uint32 spell, uint32 spellCost, uint32 reqSkill, uint32 reqSkillValue, uint32 reqLevel);
void AddSpellToTrainer(uint32 entry, uint32 spell, uint32 spellCost, uint32 reqSkill, uint32 reqSkillValue, uint32 reqLevel, uint32 reqSpell);
std::string GeneratePetName(uint32 entry);
uint32 GetBaseXP(uint8 level);