[6851] Removed level dependant scaling for warlock pets. Only hunter pets are supposed to behave in that way.

This commit is contained in:
arrai 2008-11-26 23:59:10 +01:00
parent ce387d8535
commit b83cd2a2a9
2 changed files with 2 additions and 2 deletions

View file

@ -1006,7 +1006,7 @@ bool Pet::InitStatsForLevel(uint32 petlevel)
SetFloatValue(UNIT_MOD_CAST_SPEED, 1.0);
CreatureFamilyEntry const* cFamily = sCreatureFamilyStore.LookupEntry(cinfo->family);
if(cFamily && cFamily->minScale > 0.0f)
if(cFamily && cFamily->minScale > 0.0f && getPetType()==HUNTER_PET)
{
float scale;
if (getLevel() >= cFamily->maxScaleLevel)