mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-02-10 03:59:05 +01:00
Core/Spells: Hunter Pets will now correctly inherit 22% of the player's attackpower instead of 42.5%
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user