[3.3.5] Beast Mastery hunter talent Animal Handler
The goal of this PR is to restore the correct AP values for a BM hunter: Animal Handler, Rank 1 - Increases your pet's attack power by 5% and increases the duration of your Master's Call effect by 3 sec. Animal Handler, Rank 2 - Increases your pet's attack power by 10%, and increases the duration of your Master's Call effect by 6 sec. Viewed in talent calculator: http://wotlk.openwow.com/talent#cVbhzTGRb by Rushor, closes #15361
This commit is contained in:
1 parent
f95ca514e6
commit
2ec12775a1
2 files changed
+10
No files matched your search
@@ -1170,6 +1170,11 @@ void Guardian::UpdateAttackPowerAndDamage(bool ranged)
|
||||
{
|
||||
float mod = 1.0f; //Hunter contribution modifier
|
||||
bonusAP = owner->GetTotalAttackPowerValue(RANGED_ATTACK) * 0.22f * mod;
|
||||
if (AuraEffect* aurEff = owner->GetAuraEffectOfRankedSpell(34453, EFFECT_1, owner->GetGUID())) // Animal Handler
|
||||
{
|
||||
AddPct(bonusAP, aurEff->GetAmount());
|
||||
AddPct(val, aurEff->GetAmount());
|
||||
}
|
||||
SetBonusDamage(int32(owner->GetTotalAttackPowerValue(RANGED_ATTACK) * 0.1287f * mod));
|
||||
}
|
||||
else if (IsPetGhoul()) //ghouls benefit from deathknight's attack power (may be summon pet or not)
|
||||
|
||||
Reference in new issue
Block a user