mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 10:37:02 +00:00
[6851] Removed level dependant scaling for warlock pets. Only hunter pets are supposed to behave in that way.
This commit is contained in:
parent
ce387d8535
commit
b83cd2a2a9
2 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue