mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +00:00
[9216] Fixed hunter pet XP requirements.
Signed-off-by: VladimirMangos <vladimir@getmangos.com> Also move calculation to function. And avoid use operator[] for access to per-area base xp table data.
This commit is contained in:
parent
2b891624c6
commit
0088d1300c
5 changed files with 13 additions and 11 deletions
|
|
@ -637,8 +637,9 @@ class ObjectMgr
|
|||
void LoadTrainerSpell();
|
||||
|
||||
std::string GeneratePetName(uint32 entry);
|
||||
uint32 GetBaseXP(uint32 level);
|
||||
uint32 GetXPForLevel(uint32 level);
|
||||
uint32 GetBaseXP(uint32 level) const;
|
||||
uint32 GetXPForLevel(uint32 level) const;
|
||||
uint32 GetXPForPetLevel(uint32 level) const { return GetXPForLevel(level)/20; }
|
||||
|
||||
int32 GetFishingBaseSkillLevel(uint32 entry) const
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue