From 89817e63d38b78651f95ebb445a3505e49ab946f Mon Sep 17 00:00:00 2001 From: arrai Date: Wed, 26 Nov 2008 23:59:10 +0100 Subject: [PATCH] [6851] Removed level dependant scaling for warlock pets. Only hunter pets are supposed to behave in that way. --- src/game/Pet.cpp | 2 +- src/shared/revision_nr.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game/Pet.cpp b/src/game/Pet.cpp index e72e29e64..40cdd9f75 100644 --- a/src/game/Pet.cpp +++ b/src/game/Pet.cpp @@ -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) diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index fe6de2022..fb11e456c 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "6850" + #define REVISION_NR "6851" #endif // __REVISION_NR_H__ -- 2.11.4.GIT