Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ItemSetAgonyAndTorment = core.NewItemSet(core.ItemSet{ Name: "Agony and Torment", Bonuses: map[int32]core.ApplyEffect{ 2: func(agent core.Agent) { character := agent.GetCharacter() procAura := character.NewTemporaryStatsAura( "Agony and Torment Proc", core.ActionID{SpellID: 95762}, stats.Stats{stats.HasteRating: 1000}, time.Second*10, ) icd := core.Cooldown{ Timer: character.NewTimer(), Duration: time.Second * 45, } procAura.Icd = &icd core.MakeProcTriggerAura(&character.Unit, core.ProcTrigger{ Name: "Agony and Torment Trigger", Callback: core.CallbackOnSpellHitDealt, ProcMask: core.ProcMaskMeleeOrRanged, ActionID: core.ActionID{SpellID: 95763}, Handler: func(sim *core.Simulation, _ *core.Spell, _ *core.SpellResult) { if icd.IsReady(sim) && sim.Proc(.10, "Agony and Torment Proc") { icd.Use(sim) procAura.Activate(sim) } }, }) }, }, })
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.