Skip to content

Commit

Permalink
Update enums for A_MOD_MELEE_ATTACK_SPEED
Browse files Browse the repository at this point in the history
  • Loading branch information
EvanMichaels committed May 8, 2024
1 parent beff401 commit c8af77c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion engine/dbc/data_enums.hh
Original file line number Diff line number Diff line change
Expand Up @@ -1151,7 +1151,7 @@ enum effect_subtype_t : unsigned {
A_316 = 316,
A_317 = 317,
A_MOD_MASTERY_PCT = 318,
A_319 = 319,
A_MOD_MELEE_ATTACK_SPEED = 319,
A_320 = 320,
A_321 = 321,
A_322 = 322,
Expand Down
2 changes: 1 addition & 1 deletion engine/dbc/sc_const_data.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -739,7 +739,7 @@ double dbc::fmt_value( double v, effect_type_t type, effect_subtype_t sub_type )
case A_MOD_MANA_REGEN_INTERRUPT: // Meditation
case A_MOD_CRIT_CHANCE_FROM_CASTER_SPELLS: // Increase critical chance of something, Stormstrike, Mind Spike, Holy Word: Serenity
case A_317: // Totemic Wrath, Flametongue Totem, Demonic Pact, etc ...
case A_319: // Windfury Totem
case A_MOD_MELEE_ATTACK_SPEED: // Windfury Totem
v /= 100.0;
break;
default:
Expand Down

0 comments on commit c8af77c

Please sign in to comment.