mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07:37:01 +00:00
[6931] Small fix (from 3.0.3) PET_BONUS_RAP_TO_SPELLDMG for Hunter pet
Signed-off-by: DiSlord <dislord@nomail.com>
This commit is contained in:
parent
f4ce2f6e9d
commit
9024f5274f
2 changed files with 2 additions and 2 deletions
|
|
@ -917,7 +917,7 @@ void Pet::UpdateAttackPowerAndDamage(bool ranged)
|
|||
if(getPetType() == HUNTER_PET) //hunter pets benefit from owner's attack power
|
||||
{
|
||||
bonusAP = owner->GetTotalAttackPowerValue(RANGED_ATTACK) * 0.22f;
|
||||
SetBonusDamage( int32(owner->GetTotalAttackPowerValue(RANGED_ATTACK) * 0.125f));
|
||||
SetBonusDamage( int32(owner->GetTotalAttackPowerValue(RANGED_ATTACK) * 0.1287f));
|
||||
}
|
||||
//demons benefit from warlocks shadow or fire damage
|
||||
else if(getPetType() == SUMMON_PET && owner->getClass() == CLASS_WARLOCK)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue