Documentation
¶
Index ¶
- Constants
- func RegisterShadowPriest()
- type ShadowPriest
- func (spriest *ShadowPriest) BasicMindflayRotation(sim *core.Simulation, gcd time.Duration, tickLength time.Duration) int
- func (spriest *ShadowPriest) ClippingMindflayRotation(sim *core.Simulation, gcd time.Duration, tickLength time.Duration) int
- func (spriest *ShadowPriest) GetPriest() *priest.Priest
- func (spriest *ShadowPriest) IdealMindflayRotation(sim *core.Simulation, gcd time.Duration, tickLength time.Duration, ...) int
- func (spriest *ShadowPriest) Initialize()
- func (spriest *ShadowPriest) OnGCDReady(sim *core.Simulation)
- func (spriest *ShadowPriest) OnManaTick(sim *core.Simulation)
- func (spriest *ShadowPriest) Reset(sim *core.Simulation)
Constants ¶
View Source
const ( MindBlastIdx int = iota ShadowWordDeathIdx DevouringPlagueIdx VampiricTouchIdx ShadowWordPainIdx MindFlay1Idx MindFlay2Idx MindFlay3Idx SpellLen )
Variables ¶
This section is empty.
Functions ¶
func RegisterShadowPriest ¶
func RegisterShadowPriest()
Types ¶
type ShadowPriest ¶
type ShadowPriest struct { PrevTicks float64 *priest.Priest VTCastTime time.Duration AllCDs []time.Duration BLUsedAt time.Duration CanRolloverSWP bool // contains filtered or unexported fields }
func NewShadowPriest ¶
func NewShadowPriest(character core.Character, options *proto.Player) *ShadowPriest
func (*ShadowPriest) BasicMindflayRotation ¶
func (spriest *ShadowPriest) BasicMindflayRotation(sim *core.Simulation, gcd time.Duration, tickLength time.Duration) int
Returns the number of MF ticks to use, or 0 to wait for next CD.
func (*ShadowPriest) ClippingMindflayRotation ¶
func (spriest *ShadowPriest) ClippingMindflayRotation(sim *core.Simulation, gcd time.Duration, tickLength time.Duration) int
func (*ShadowPriest) GetPriest ¶
func (spriest *ShadowPriest) GetPriest() *priest.Priest
func (*ShadowPriest) IdealMindflayRotation ¶
func (spriest *ShadowPriest) IdealMindflayRotation(sim *core.Simulation, gcd time.Duration, tickLength time.Duration, currentWait time.Duration, mfDamage, mbDamage, dpDamage, vtDamage, swdDamage, overwriteDPS float64) int
Returns the number of MF ticks to use, or 0 to wait for next CD.
func (*ShadowPriest) Initialize ¶
func (spriest *ShadowPriest) Initialize()
func (*ShadowPriest) OnGCDReady ¶
func (spriest *ShadowPriest) OnGCDReady(sim *core.Simulation)
func (*ShadowPriest) OnManaTick ¶
func (spriest *ShadowPriest) OnManaTick(sim *core.Simulation)
func (*ShadowPriest) Reset ¶
func (spriest *ShadowPriest) Reset(sim *core.Simulation)
Click to show internal directories.
Click to hide internal directories.