mirror of
https://github.com/araxiaonline/TrinityCore.git
synced 2026-06-21 07:22:02 -04:00
Core: Whitespace cleanup
This commit is contained in:
@@ -441,7 +441,7 @@ void Player::UpdateAttackPowerAndDamage(bool ranged)
|
||||
SetFloatValue(index_mult, attPowerMultiplier); //UNIT_FIELD_(RANGED)_ATTACK_POWER_MULTIPLIER field
|
||||
|
||||
Pet* pet = GetPet(); //update pet's AP
|
||||
Guardian* guardian = GetGuardianPet();
|
||||
Guardian* guardian = GetGuardianPet();
|
||||
//automatically update weapon damage after attack power modification
|
||||
if (ranged)
|
||||
{
|
||||
@@ -1309,7 +1309,7 @@ void Guardian::UpdateAttackPowerAndDamage(bool ranged)
|
||||
bonusAP = owner->GetTotalAttackPowerValue(BASE_ATTACK) * 0.22f;
|
||||
SetBonusDamage(int32(owner->GetTotalAttackPowerValue(BASE_ATTACK) * 0.1287f));
|
||||
}
|
||||
else if (IsSpiritWolf()) //wolf benefit from shaman's attack power
|
||||
else if (IsSpiritWolf()) //wolf benefit from shaman's attack power
|
||||
{
|
||||
float dmg_multiplier = 0.31f;
|
||||
if (m_owner->GetAuraEffect(63271, 0)) // Glyph of Feral Spirit
|
||||
|
||||
Reference in New Issue
Block a user