mirror of
https://github.com/araxiaonline/TrinityCore.git
synced 2026-06-20 23:11:56 -04:00
Core/Items: Defined all item flags
This commit is contained in:
@@ -376,7 +376,7 @@ void Player::UpdateAttackPowerAndDamage(bool ranged)
|
||||
{
|
||||
UpdateDamagePhysical(BASE_ATTACK);
|
||||
if (Item* offhand = GetWeaponForAttack(OFF_ATTACK, true))
|
||||
if (CanDualWield() || offhand->GetTemplate()->GetFlags3() & ITEM_FLAG3_DUAL_WIELD_NOT_REQUIRED)
|
||||
if (CanDualWield() || offhand->GetTemplate()->GetFlags3() & ITEM_FLAG3_ALWAYS_ALLOW_DUAL_WIELD)
|
||||
UpdateDamagePhysical(OFF_ATTACK);
|
||||
|
||||
if (HasAuraType(SPELL_AURA_MOD_SPELL_DAMAGE_OF_ATTACK_POWER) ||
|
||||
|
||||
Reference in New Issue
Block a user