shadow

package
v0.1.51 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 9, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

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(_ *core.Simulation, gcd time.Duration, _ 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(_ *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 added in v0.1.10

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL