Skip to content

Commit

Permalink
Merge pull request #1070 from wowsims/t12-hunter
Browse files Browse the repository at this point in the history
Fix T12 procs Hunter
  • Loading branch information
ToxicKevinFerm authored Oct 2, 2024
2 parents b42fe81 + d425c51 commit 8d3d70a
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 8 deletions.
4 changes: 2 additions & 2 deletions sim/hunter/beast_mastery/TestBM.results
Original file line number Diff line number Diff line change
Expand Up @@ -620,8 +620,8 @@ dps_results: {
dps_results: {
key: "TestBM-AllItems-Flamewaker'sBattlegear"
value: {
dps: 22901.28393
tps: 19273.40391
dps: 22782.96715
tps: 19168.04784
}
}
dps_results: {
Expand Down
8 changes: 7 additions & 1 deletion sim/hunter/cata_items.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,16 @@ var ItemSetFlameWakersBattleGear = core.NewItemSet(core.ItemSet{
OnGain: func(aura *core.Aura, sim *core.Simulation) {
baMod.Activate()
},
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.ClassSpellMask&^HunterSpellsTierTwelve != 0 || spell.ActionID.SpellID == 0 {
return
}
if hunter.HasActiveAura("Lock and Load Proc") && spell.ClassSpellMask == HunterSpellExplosiveShot {
return
}
if hunter.HasActiveAura("Ready, Set, Aim...") && spell.ClassSpellMask == HunterSpellAimedShot {
return
}
baMod.Deactivate()
aura.Deactivate(sim)
},
Expand Down
2 changes: 1 addition & 1 deletion sim/hunter/kill_command.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ func (hunter *Hunter) registerKillCommandSpell() {
SpellSchool: core.SpellSchoolPhysical,
ProcMask: core.ProcMaskMelee,
ClassSpellMask: HunterSpellKillCommand,
Flags: core.SpellFlagNoOnCastComplete | core.SpellFlagAPL,
Flags: core.SpellFlagAPL,

FocusCost: core.FocusCostOptions{
Cost: 40,
Expand Down
4 changes: 2 additions & 2 deletions sim/hunter/marksmanship/TestMM.results
Original file line number Diff line number Diff line change
Expand Up @@ -620,8 +620,8 @@ dps_results: {
dps_results: {
key: "TestMM-AllItems-Flamewaker'sBattlegear"
value: {
dps: 22803.17757
tps: 20452.59604
dps: 23003.58742
tps: 20650.69778
}
}
dps_results: {
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 @@ -620,8 +620,8 @@ dps_results: {
dps_results: {
key: "TestSV-AllItems-Flamewaker'sBattlegear"
value: {
dps: 26671.69825
tps: 24122.77274
dps: 26644.74175
tps: 24113.99791
}
}
dps_results: {
Expand Down

0 comments on commit 8d3d70a

Please sign in to comment.