Core/Pets: pets will now properly scale with the bonus health from their owner's stamina instead of a fixed value to make them scale correctly on lower levels

This commit is contained in:
Ovahlord committed 2019-05-24 12:02:59 +02:00
1 parent 18d30102cc
commit 2023209900
1 file changed
+1 -3
+1 -3
View File
@@ -530,9 +530,7 @@ class spell_hun_pet_scaling_01 : public AuraScript
else if (pet->HasAura(SPELL_HUNTER_PET_CUNNING_MARKER))
mod = 0.725f;
float stamina = owner->GetStat(STAT_STAMINA);
uint32 bonus = (stamina * mod) * 14.0f;
amount = bonus;
amount = int32(owner->GetHealthBonusFromStamina() * mod);
}
}
}