mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-29 21:32:52 +01:00
*Cleanup
--HG-- branch : trunk
This commit is contained in:
@@ -1063,7 +1063,7 @@ void Guardian::UpdateAttackPowerAndDamage(bool ranged)
|
||||
val = 2 * GetStat(STAT_STRENGTH) - 20.0f;
|
||||
|
||||
Unit* owner = GetOwner();
|
||||
if( owner && owner->GetTypeId()==TYPEID_PLAYER)
|
||||
if( owner && owner->GetTypeId() == TYPEID_PLAYER)
|
||||
{
|
||||
if(isHunterPet()) //hunter pets benefit from owner's attack power
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user