shadow

package
v0.1.46 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

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 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