Skip to content

Commit 8b0d8e1

Browse files
committed
Cleanup spell mog
1 parent 834ad83 commit 8b0d8e1

1 file changed

Lines changed: 2 additions & 7 deletions

File tree

sim/monk/items.go

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,9 @@ var ItemSetBattlegearOfTheRedCrane = core.NewItemSet(core.ItemSet{
1919
},
2020
4: func(agent core.Agent, setBonusAura *core.Aura) {
2121
setBonusAura.AttachSpellMod(core.SpellModConfig{
22-
Kind: core.SpellMod_Custom,
22+
Kind: core.SpellMod_BuffDuration_Flat,
2323
ClassMask: MonkSpellEnergizingBrew,
24-
ApplyCustom: func(mod *core.SpellMod, spell *core.Spell) {
25-
spell.RelatedSelfBuff.Duration += 5 * time.Second
26-
},
27-
RemoveCustom: func(mod *core.SpellMod, spell *core.Spell) {
28-
spell.RelatedSelfBuff.Duration -= 5 * time.Second
29-
},
24+
TimeValue: 5 * time.Second,
3025
}).ExposeToAPL(123150)
3126
},
3227
},

0 commit comments

Comments
 (0)