mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08:00
Fix double ap calculation for ranged class
This commit is contained in:
@@ -504,7 +504,8 @@ void StatsCollector::HandleApplyAura(const SpellEffectInfo& effectInfo, float mu
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case SPELL_AURA_MOD_ATTACK_POWER:
|
case SPELL_AURA_MOD_ATTACK_POWER:
|
||||||
stats[STATS_TYPE_ATTACK_POWER] += val * multiplier;
|
if (type_ == CollectorType::MELEE)
|
||||||
|
stats[STATS_TYPE_ATTACK_POWER] += val * multiplier;
|
||||||
break;
|
break;
|
||||||
case SPELL_AURA_MOD_RANGED_ATTACK_POWER:
|
case SPELL_AURA_MOD_RANGED_ATTACK_POWER:
|
||||||
if (type_ == CollectorType::RANGED)
|
if (type_ == CollectorType::RANGED)
|
||||||
|
|||||||
Reference in New Issue
Block a user