mirror of
https://github.com/liyunfan1223/mod-playerbots.git
synced 2026-02-20 18:10:02 +01:00
Fix double ap calculation for ranged class
This commit is contained in:
parent
2782e0dc6e
commit
0be18889e5
@ -504,7 +504,8 @@ void StatsCollector::HandleApplyAura(const SpellEffectInfo& effectInfo, float mu
|
||||
break;
|
||||
}
|
||||
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;
|
||||
case SPELL_AURA_MOD_RANGED_ATTACK_POWER:
|
||||
if (type_ == CollectorType::RANGED)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user