Skip to content

Commit 91656fb

Browse files
committed
brain freeze helper use
1 parent e9b2978 commit 91656fb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

sim/mage/frost/brain_freeze.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,12 @@ func (frost *FrostMage) registerBrainFreeze() {
4242
Callback: core.CallbackOnSpellHitDealt,
4343
Handler: func(sim *core.Simulation, spell *core.Spell, result *core.SpellResult) {
4444
// https://github.com/simulationcraft/simc/blob/e1190fed141feec2ec7a489e80caec5138c3a6ab/engine/class_modules/sc_mage.cpp#L4169
45-
if spell.ClassSpellMask == mage.MageSpellLivingBombDot || spell.ClassSpellMask == mage.MageSpellLivingBombExplosion {
45+
if spell.Matches(mage.MageSpellLivingBombDot | mage.MageSpellLivingBombExplosion) {
4646
var livingBombProcChance = 0.25
4747
if sim.Proc(livingBombProcChance, "BrainFreezeProc") {
4848
buff.Activate(sim)
4949
}
50-
} else if spell.ClassSpellMask == mage.MageSpellFrostBomb {
50+
} else if spell.Matches(mage.MageSpellFrostBomb) {
5151
var frostBombProcChance = 1.0
5252
if sim.Proc(frostBombProcChance, "BrainFreezeProc") {
5353
buff.Activate(sim)

0 commit comments

Comments
 (0)