Skip to content

Commit

Permalink
Merge pull request #1250 from wowsims/SvHunterFix
Browse files Browse the repository at this point in the history
Fix lnl consume
  • Loading branch information
ToxicKevinFerm authored Dec 5, 2024
2 parents a277ac0 + 61f0ce6 commit 2b3bce6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion sim/hunter/cata_items.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ var ItemSetFlameWakersBattleGear = core.NewItemSet(core.ItemSet{
}

// Arcane Shot is free if Lock and Load is up
if hunter.HasActiveAura("Lock and Load Proc") && (spell.ClassSpellMask == HunterSpellArcaneShot || spell.ClassSpellMask == HunterSpellExplosiveShot) {
if hunter.LockAndLoadAura.IsActive() && (spell.ClassSpellMask == HunterSpellArcaneShot || spell.ClassSpellMask == HunterSpellExplosiveShot || spell.SpellID == 53301 || spell.SpellID == 1215485) {
return
}

Expand Down
4 changes: 2 additions & 2 deletions sim/hunter/survival/TestSV.results
Original file line number Diff line number Diff line change
Expand Up @@ -627,8 +627,8 @@ dps_results: {
dps_results: {
key: "TestSV-AllItems-Flamewaker'sBattlegear"
value: {
dps: 29211.80126
tps: 26471.66547
dps: 29213.80701
tps: 26471.28986
}
}
dps_results: {
Expand Down
2 changes: 1 addition & 1 deletion sim/hunter/survival_talents.go
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ func (hunter *Hunter) applyTNT() {
hunter.ExplosiveShot.CostMultiplier += 1
}
},
OnApplyEffects: func(aura *core.Aura, sim *core.Simulation, target *core.Unit, spell *core.Spell) {
OnCastComplete: func(aura *core.Aura, sim *core.Simulation, spell *core.Spell) {
if spell == hunter.ExplosiveShot {
hunter.ExplosiveShot.CD.Reset()
aura.RemoveStack(sim)
Expand Down

0 comments on commit 2b3bce6

Please sign in to comment.