Core/Spells: Hunter Pets will now correctly inherit 22% of the player's attackpower instead of 42.5%

This commit is contained in:
Ovahlord
2022-01-16 11:32:47 +01:00
parent d17ceb70d5
commit d5fa8c3e10

View File

@@ -522,7 +522,7 @@ class spell_hun_pet_scaling_01 : public AuraScript
canBeRecalculated = true;
if (Pet* pet = GetUnitOwner()->ToPet())
if (Player* owner = pet->GetOwner())
amount = owner->GetTotalAttackPowerValue(RANGED_ATTACK) * 0.425f;
amount = owner->GetTotalAttackPowerValue(RANGED_ATTACK) * 0.22f;
}
void CalculateDamageDoneAmount(AuraEffect const* /* aurEff */, int32& amount, bool& canBeRecalculated)