Skip to content

Commit 0401253

Browse files
committed
[Player] Fix passive aura subtype 342 handling
1 parent 0650bec commit 0401253

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

engine/player/player.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1570,6 +1570,7 @@ void player_t::init_base_stats()
15701570
}
15711571

15721572
base.attack_speed_multiplier /= get_passive_player_value( base.attack_speed_multiplier, "attack_speed" );
1573+
base.attack_speed_multiplier *= get_passive_player_value( base.attack_speed_multiplier, "attack_speed_modifier" );
15731574
base.attack_power_multiplier = get_passive_player_value( base.attack_power_multiplier, "attack_power_multiplier" );
15741575

15751576
base.absorb_multiplier = get_passive_player_value( base.absorb_multiplier, "absorb_multiplier" );
@@ -15152,7 +15153,7 @@ static constexpr std::pair<int, std::string_view> field_type_map[] = {
1515215153
{ A_MOD_MELEE_AUTO_ATTACK_SPEED, "attack_speed" }, // 319
1515315154
{ A_APPLY_HASTED_GCD_LABEL, "hasted_gcd" }, // 320
1515415155
{ A_MODIFY_CATEGORY_COOLDOWN, "category_cooldown" }, // 341
15155-
{ A_MOD_RANGED_AND_MELEE_AUTO_ATTACK_SPEED, "attack_speed" }, // 342
15156+
{ A_MOD_RANGED_AND_MELEE_AUTO_ATTACK_SPEED, "attack_speed_modifier" }, // 342
1515615157
{ A_MOD_AUTO_ATTACK_PCT, "auto_attack_multiplier" }, // 344
1515715158
{ A_OVERRIDE_SP_PER_AP, "spell_power_per_attack_power" }, // 366
1515815159
{ A_MOD_MANA_REGEN_PCT, "resource_regen" }, // 379

0 commit comments

Comments
 (0)