Correct stats of warlock pets.

This commit is contained in:
ratkosrb
2022-09-12 09:35:46 +03:00
parent 47c461ac3c
commit bae3603dfa
2 changed files with 576 additions and 1 deletions
+1 -1
View File
@@ -974,7 +974,7 @@ void Pet::UpdateResistances(uint32 school)
void Pet::UpdateArmor()
{
float amount = (GetStat(STAT_AGILITY) * 2.0f);
float amount = (GetStat(STAT_AGILITY) * (getPetType() == HUNTER_PET ? 2.0f : 1.0f));
m_auraModifiersGroup[UNIT_MOD_ARMOR][TOTAL_VALUE] += amount;
int32 value = GetTotalResistanceValue(SPELL_SCHOOL_NORMAL);