Skip to content

Commit

Permalink
fix logic
Browse files Browse the repository at this point in the history
  • Loading branch information
kayla-glick committed Sep 4, 2024
1 parent 91080cc commit 0af253b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sim/hunter/runes.go
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ func (hunter *Hunter) applyCobraStrikes() {
core.MakePermanent(hunter.RegisterAura(core.Aura{
Label: "Cobra Strikes Trigger",
OnSpellHitDealt: func(aura *core.Aura, sim *core.Simulation, spell *core.Spell, result *core.SpellResult) {
if result.DidCrit() && spell.Flags.Matches(SpellFlagShot|SpellFlagStrike) || spell.SpellCode == SpellCode_HunterMongooseBite {
if result.DidCrit() && (spell.Flags.Matches(SpellFlagShot|SpellFlagStrike) || spell.SpellCode == SpellCode_HunterMongooseBite) {
hunter.CobraStrikesAura.Activate(sim)
hunter.CobraStrikesAura.SetStacks(sim, 2)
}
Expand Down

0 comments on commit 0af253b

Please sign in to comment.