Skip to content

Commit

Permalink
talisman is on cast complete. mind flay should proce it twice
Browse files Browse the repository at this point in the history
  • Loading branch information
lime-green committed Jul 17, 2023
1 parent 5b1a28d commit 632b052
Show file tree
Hide file tree
Showing 4 changed files with 330 additions and 336 deletions.
14 changes: 3 additions & 11 deletions sim/common/wotlk/stat_bonus_stacking.go
Original file line number Diff line number Diff line change
Expand Up @@ -328,8 +328,6 @@ func init() {
CD: time.Minute * 2,
Callback: core.CallbackOnCastComplete,
ProcMask: core.ProcMaskSpellOrProc,
Outcome: core.OutcomeLanded,
Harmful: true,
})
newStackingStatBonusCD(StackingStatBonusCD{
Name: "Ferver of the Frostborn",
Expand Down Expand Up @@ -359,10 +357,8 @@ func init() {
MaxStacks: 8,
Bonus: stats.Stats{stats.MeleeHaste: 57, stats.SpellHaste: 57},
CD: time.Minute * 2,
Callback: core.CallbackOnSpellHitDealt,
Callback: core.CallbackOnCastComplete,
ProcMask: core.ProcMaskSpellOrProc,
Outcome: core.OutcomeLanded,
Harmful: true,
})
newStackingStatBonusCD(StackingStatBonusCD{
Name: "Binding Stone",
Expand Down Expand Up @@ -403,10 +399,8 @@ func init() {
MaxStacks: 8,
Bonus: stats.Stats{stats.MeleeHaste: 64, stats.SpellHaste: 64},
CD: time.Minute * 2,
Callback: core.CallbackOnSpellHitDealt,
Callback: core.CallbackOnCastComplete,
ProcMask: core.ProcMaskSpellOrProc,
Outcome: core.OutcomeLanded,
Harmful: true,
})
newStackingStatBonusCD(StackingStatBonusCD{
Name: "Binding Light H",
Expand Down Expand Up @@ -447,10 +441,8 @@ func init() {
MaxStacks: 8,
Bonus: stats.Stats{stats.MeleeHaste: 64, stats.SpellHaste: 64},
CD: time.Minute * 2,
Callback: core.CallbackOnSpellHitDealt,
Callback: core.CallbackOnCastComplete,
ProcMask: core.ProcMaskSpellOrProc,
Outcome: core.OutcomeLanded,
Harmful: true,
})
newStackingStatBonusCD(StackingStatBonusCD{
Name: "Binding Stone H",
Expand Down
2 changes: 2 additions & 0 deletions sim/priest/mind_blast.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,10 @@ func (priest *Priest) registerMindBlastSpell() {
ActionID: core.ActionID{SpellID: 48301},
ProcMask: core.ProcMaskProc,
SpellSchool: core.SpellSchoolShadow,
Flags: core.SpellFlagNoMetrics,
ApplyEffects: func(sim *core.Simulation, target *core.Unit, spell *core.Spell) {
MindTraumaAura(target).Activate(sim)
spell.CalcAndDealOutcome(sim, target, spell.OutcomeAlwaysHit)
},
})

Expand Down
2 changes: 1 addition & 1 deletion sim/priest/mind_flay.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ func (priest *Priest) newMindFlaySpell(numTicks int32) *core.Spell {
if rolloverChance == 1 || sim.RandomFloat("Pain and Suffering") < rolloverChance {
priest.ShadowWordPain.Dot(target).Rollover(sim)
// trinkets can proc from the re-application
priest.Unit.OnCastComplete(sim, priest.ShadowWordPain)
priest.OnCastComplete(sim, priest.ShadowWordPain)
}
}
spell.Dot(target).Apply(sim)
Expand Down
Loading

0 comments on commit 632b052

Please sign in to comment.