Skip to content

Commit

Permalink
adjust obsidian weapon proc rates
Browse files Browse the repository at this point in the history
  • Loading branch information
kayla-glick committed Nov 19, 2024
1 parent 7d9c64f commit 3a451a9
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions sim/common/sod/item_effects/phase_6.go
Original file line number Diff line number Diff line change
Expand Up @@ -314,23 +314,23 @@ func ObsidianEdgedAura(itemID int32, agent core.Agent) {
meleeProcMask := character.GetProcMaskForItem(itemID)

core.MakeProcTriggerAura(&character.Unit, core.ProcTrigger{
Name: "Obsidian Edged Proc Melee",
Callback: core.CallbackOnSpellHitDealt,
Outcome: core.OutcomeLanded,
ProcMask: meleeProcMask,
PPM: 1.0, // TODO: Determine PPM
ICD: time.Millisecond * 2100,
Name: "Obsidian Edged Proc Melee",
Callback: core.CallbackOnSpellHitDealt,
Outcome: core.OutcomeLanded,
ProcMask: meleeProcMask,
ProcChance: 0.05,
ICD: time.Millisecond * 2100,
Handler: func(sim *core.Simulation, spell *core.Spell, result *core.SpellResult) {
damageSpell.Cast(sim, result.Target)
},
})

core.MakeProcTriggerAura(&character.Unit, core.ProcTrigger{
Name: "Obsidian Edged Proc Melee",
Name: "Obsidian Edged Proc Spell",
Callback: core.CallbackOnSpellHitDealt,
Outcome: core.OutcomeLanded,
ProcMask: core.ProcMaskSpellDamage,
ProcChance: 1.0, // Wowhead and Wago show 100% but this seems unlikely due to the tooltip. We'll see
ProcChance: 0.05,
ICD: time.Millisecond * 2100,
Handler: func(sim *core.Simulation, spell *core.Spell, result *core.SpellResult) {
damageSpell.Cast(sim, result.Target)
Expand Down

0 comments on commit 3a451a9

Please sign in to comment.