Skip to content

Commit

Permalink
Clean up glyph auras
Browse files Browse the repository at this point in the history
  • Loading branch information
ToxicKevinFerm committed May 12, 2024
1 parent d418721 commit e8504d9
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions sim/hunter/glyphs.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,8 @@ func (hunter *Hunter) ApplyGlyphs() {
Timer: hunter.NewTimer(),
Duration: time.Second * 6,
}
hunter.RegisterAura(core.Aura{
Label: "Kill Shot Glyph",
Duration: core.NeverExpires,
OnReset: func(aura *core.Aura, sim *core.Simulation) {
aura.Activate(sim)
},
core.MakePermanent(hunter.RegisterAura(core.Aura{
Label: "Kill Shot Glyph",
OnSpellHitDealt: func(aura *core.Aura, sim *core.Simulation, spell *core.Spell, result *core.SpellResult) {
if spell == hunter.KillShot {
if icd.IsReady(sim) {
Expand All @@ -74,7 +70,7 @@ func (hunter *Hunter) ApplyGlyphs() {
}
}
},
})
}))
}
// Major Glyphs
if hunter.HasMajorGlyph(proto.HunterMajorGlyph_GlyphOfBestialWrath) && hunter.Talents.BestialWrath {
Expand Down

0 comments on commit e8504d9

Please sign in to comment.