mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-29 13:22:48 +01:00
@@ -715,7 +715,7 @@ void Pet::GivePetLevel(uint8 level)
|
||||
if (!level || level == getLevel())
|
||||
return;
|
||||
|
||||
if (getPetType()==HUNTER_PET)
|
||||
if (getPetType() == HUNTER_PET)
|
||||
{
|
||||
SetUInt32Value(UNIT_FIELD_PETEXPERIENCE, 0);
|
||||
SetUInt32Value(UNIT_FIELD_PETNEXTLEVELEXP, uint32(sObjectMgr->GetXPForLevel(level)*PET_XP_FACTOR));
|
||||
|
||||
Reference in New Issue
Block a user