Skip to content

Commit

Permalink
Merge branch 'master' into RogueAbsorbSet
Browse files Browse the repository at this point in the history
  • Loading branch information
sanguinerarogue authored Dec 14, 2024
2 parents d00f6ed + 65cb818 commit f030843
Show file tree
Hide file tree
Showing 46 changed files with 5,587 additions and 4,009 deletions.
Binary file modified assets/database/db.bin
Binary file not shown.
2,847 changes: 1,448 additions & 1,399 deletions assets/database/db.json

Large diffs are not rendered by default.

Binary file modified assets/database/leftover_db.bin
Binary file not shown.
180 changes: 90 additions & 90 deletions assets/database/leftover_db.json

Large diffs are not rendered by default.

1,465 changes: 842 additions & 623 deletions assets/db_inputs/atlasloot_db.json

Large diffs are not rendered by default.

2,200 changes: 1,104 additions & 1,096 deletions assets/db_inputs/wowhead_gearplannerdb.txt

Large diffs are not rendered by default.

32 changes: 30 additions & 2 deletions sim/common/sod/item_effects/phase_6.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,37 @@ func init() {
// (2.1s cooldown)
core.NewItemEffect(ObsidianChampion, func(agent core.Agent) {
character := agent.GetCharacter()
vanilla.StrengthOfTheChampionAura(character)
vanilla.EnrageAura446327(character)

ObsidianEdgedAura(ObsidianChampion, agent)

strengthAura := vanilla.StrengthOfTheChampionAura(character)
enrageAura := vanilla.EnrageAura446327(character)

procMask := character.GetProcMaskForItem(ObsidianChampion)

core.MakeProcTriggerAura(&character.Unit, core.ProcTrigger{
Name: "Obsidian Champion (Strength)",
Callback: core.CallbackOnSpellHitDealt,
Outcome: core.OutcomeLanded,
ProcMask: procMask,
SpellFlagsExclude: core.SpellFlagSuppressWeaponProcs,
PPM: 1, // Estimated based on data from WoW Armaments Discord
Handler: func(sim *core.Simulation, spell *core.Spell, result *core.SpellResult) {
strengthAura.Activate(sim)
},
})

core.MakeProcTriggerAura(&character.Unit, core.ProcTrigger{
Name: "Obsidian Champion (Enrage)",
Callback: core.CallbackOnSpellHitDealt,
Outcome: core.OutcomeLanded,
ProcMask: procMask,
SpellFlagsExclude: core.SpellFlagSuppressWeaponProcs,
PPM: 1, // Estimated based on data from WoW Armaments Discord
Handler: func(sim *core.Simulation, spell *core.Spell, result *core.SpellResult) {
enrageAura.Activate(sim)
},
})
})

// https://www.wowhead.com/classic/item=233801/obsidian-defender
Expand Down
Loading

0 comments on commit f030843

Please sign in to comment.