mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 10:37:02 +00:00
Futher pet spell work
This commit is contained in:
parent
cdd1f4e098
commit
ca8180ecd1
5 changed files with 19 additions and 27 deletions
|
|
@ -1970,7 +1970,6 @@ void SpellMgr::LoadSpellPetAuras()
|
|||
|
||||
void SpellMgr::LoadPetLevelupSpellMap()
|
||||
{
|
||||
PetLevelupSpell petSpell;
|
||||
CreatureFamilyEntry const *creatureFamily;
|
||||
SpellEntry const *spell;
|
||||
uint32 count = 0;
|
||||
|
|
@ -2140,10 +2139,7 @@ void SpellMgr::LoadPetLevelupSpellMap()
|
|||
}
|
||||
}
|
||||
|
||||
petSpell.SpellId = spell->Id;
|
||||
petSpell.ReqLevel = spell->spellLevel;
|
||||
|
||||
mPetLevelupSpellMap[creatureFamily->ID].push_back(petSpell);
|
||||
mPetLevelupSpellMap[creatureFamily->ID][spell->spellLevel] = spell->Id;
|
||||
count++;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue