Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/wowsims/wotlk
Browse files Browse the repository at this point in the history
  • Loading branch information
NerdEgghead committed Nov 17, 2023
2 parents 831e4d9 + 57593f3 commit b949606
Show file tree
Hide file tree
Showing 3 changed files with 345 additions and 340 deletions.
20 changes: 12 additions & 8 deletions sim/priest/priest.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,14 +116,18 @@ func (priest *Priest) AddPartyBuffs(_ *proto.PartyBuffs) {
}

func (priest *Priest) Initialize() {
// Shadow Insight gained from Glyph of Shadow
// Finalized spirit off gear and not dynamic spirit (e.g. Spirit Tap does not increase this)
priest.ShadowyInsightAura = priest.NewTemporaryStatsAura(
"Shadowy Insight",
core.ActionID{SpellID: 61792},
stats.Stats{stats.SpellPower: priest.GetStat(stats.Spirit) * 0.30},
time.Second*10,
)
statDep := priest.NewDynamicStatDependency(stats.Spirit, stats.SpellPower, 0.3)
priest.ShadowyInsightAura = priest.GetOrRegisterAura(core.Aura{
Label: "Shadowy Insight",
Duration: time.Second * 10,
ActionID: core.ActionID{SpellID: 61792},
OnGain: func(aura *core.Aura, sim *core.Simulation) {
priest.EnableDynamicStatDep(sim, statDep)
},
OnExpire: func(aura *core.Aura, sim *core.Simulation) {
priest.DisableDynamicStatDep(sim, statDep)
},
})

priest.registerSetBonuses()
priest.registerDevouringPlagueSpell()
Expand Down
Loading

0 comments on commit b949606

Please sign in to comment.