File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 )
You can’t perform that action at this time.
0 commit comments