dps

package
v1.0.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterDpsDeathknight

func RegisterDpsDeathknight()

Types

type BloodRotation

type BloodRotation struct {
	// contains filtered or unexported fields
}

func (*BloodRotation) Initialize

func (br *BloodRotation) Initialize(dk *DpsDeathknight)

func (*BloodRotation) Reset

func (br *BloodRotation) Reset(sim *core.Simulation)

type DpsDeathknight

type DpsDeathknight struct {
	*deathknight.Deathknight

	CustomRotation *common.CustomRotation

	Rotation *proto.Deathknight_Rotation
	// contains filtered or unexported fields
}

func NewDpsDeathknight

func NewDpsDeathknight(character core.Character, player *proto.Player) *DpsDeathknight

func (*DpsDeathknight) FrostPointsInBlood

func (dk *DpsDeathknight) FrostPointsInBlood() int32

func (*DpsDeathknight) FrostPointsInUnholy

func (dk *DpsDeathknight) FrostPointsInUnholy() int32

func (*DpsDeathknight) GetDeathknight

func (dk *DpsDeathknight) GetDeathknight() *deathknight.Deathknight

func (*DpsDeathknight) Initialize

func (dk *DpsDeathknight) Initialize()

func (*DpsDeathknight) RegularPrioPickSpell

func (dk *DpsDeathknight) RegularPrioPickSpell(sim *core.Simulation, target *core.Unit, untilTime time.Duration) *core.Spell

func (*DpsDeathknight) Reset

func (dk *DpsDeathknight) Reset(sim *core.Simulation)

func (*DpsDeathknight) RotationActionBL_BP_ClipCheck

func (dk *DpsDeathknight) RotationActionBL_BP_ClipCheck(sim *core.Simulation, target *core.Unit, s *deathknight.Sequence) time.Duration

func (*DpsDeathknight) RotationActionBL_BS

func (dk *DpsDeathknight) RotationActionBL_BS(sim *core.Simulation, target *core.Unit, s *deathknight.Sequence) time.Duration

func (*DpsDeathknight) RotationActionBL_BS_ERW

func (dk *DpsDeathknight) RotationActionBL_BS_ERW(sim *core.Simulation, target *core.Unit, s *deathknight.Sequence) time.Duration

func (*DpsDeathknight) RotationActionBL_BloodRotation

func (dk *DpsDeathknight) RotationActionBL_BloodRotation(sim *core.Simulation, target *core.Unit, s *deathknight.Sequence) time.Duration

func (*DpsDeathknight) RotationActionBL_DRW_Custom

func (dk *DpsDeathknight) RotationActionBL_DRW_Custom(sim *core.Simulation, target *core.Unit, s *deathknight.Sequence) time.Duration

func (*DpsDeathknight) RotationActionBL_DRW_Snapshot

func (dk *DpsDeathknight) RotationActionBL_DRW_Snapshot(sim *core.Simulation, target *core.Unit, s *deathknight.Sequence) time.Duration

func (*DpsDeathknight) RotationActionBL_DiseaseClipCheck

func (dk *DpsDeathknight) RotationActionBL_DiseaseClipCheck(dot *core.Dot, gracePeriod time.Duration, sim *core.Simulation, target *core.Unit, s *deathknight.Sequence) time.Duration

Check if we have enough rune grace period to delay the disease cast so we get more ticks without losing on rune cd

func (*DpsDeathknight) RotationActionBL_FF_ClipCheck

func (dk *DpsDeathknight) RotationActionBL_FF_ClipCheck(sim *core.Simulation, target *core.Unit, s *deathknight.Sequence) time.Duration

func (*DpsDeathknight) RotationActionBL_FU

func (dk *DpsDeathknight) RotationActionBL_FU(sim *core.Simulation, target *core.Unit, s *deathknight.Sequence) time.Duration

func (*DpsDeathknight) RotationActionBL_IT_Custom

func (dk *DpsDeathknight) RotationActionBL_IT_Custom(sim *core.Simulation, target *core.Unit, s *deathknight.Sequence) time.Duration

Custom IT callback for tracking recasts for pestilence disease sync

func (*DpsDeathknight) RotationActionBL_IT_DRW

func (dk *DpsDeathknight) RotationActionBL_IT_DRW(sim *core.Simulation, target *core.Unit, s *deathknight.Sequence) time.Duration

Custom IT callback for tracking recasts for pestilence disease sync

func (*DpsDeathknight) RotationActionBL_PS_Custom

func (dk *DpsDeathknight) RotationActionBL_PS_Custom(sim *core.Simulation, target *core.Unit, s *deathknight.Sequence) time.Duration

Custom PS callback for tracking recasts for pestilence disease sync

func (*DpsDeathknight) RotationActionBL_PS_DRW

func (dk *DpsDeathknight) RotationActionBL_PS_DRW(sim *core.Simulation, target *core.Unit, s *deathknight.Sequence) time.Duration

Custom PS callback for tracking recasts for pestilence disease sync

func (*DpsDeathknight) RotationActionBL_Pesti_DRW

func (dk *DpsDeathknight) RotationActionBL_Pesti_DRW(sim *core.Simulation, target *core.Unit, s *deathknight.Sequence) time.Duration

func (*DpsDeathknight) RotationActionBL_ResetToBloodMain

func (dk *DpsDeathknight) RotationActionBL_ResetToBloodMain(sim *core.Simulation, target *core.Unit, s *deathknight.Sequence) time.Duration

func (*DpsDeathknight) RotationActionCallback_BS_Frost

func (dk *DpsDeathknight) RotationActionCallback_BS_Frost(sim *core.Simulation, target *core.Unit, s *deathknight.Sequence) time.Duration

func (*DpsDeathknight) RotationActionCallback_EndOfFightCheck

func (dk *DpsDeathknight) RotationActionCallback_EndOfFightCheck(sim *core.Simulation, target *core.Unit, s *deathknight.Sequence) time.Duration

func (*DpsDeathknight) RotationActionCallback_EndOfFightPrio

func (dk *DpsDeathknight) RotationActionCallback_EndOfFightPrio(sim *core.Simulation, target *core.Unit, s *deathknight.Sequence) time.Duration

func (*DpsDeathknight) RotationActionCallback_Force_Desync

func (dk *DpsDeathknight) RotationActionCallback_Force_Desync(sim *core.Simulation, target *core.Unit, s *deathknight.Sequence) time.Duration

func (*DpsDeathknight) RotationActionCallback_FrostDesync_Obli

func (dk *DpsDeathknight) RotationActionCallback_FrostDesync_Obli(sim *core.Simulation, target *core.Unit, s *deathknight.Sequence) time.Duration

func (*DpsDeathknight) RotationActionCallback_FrostSubBlood_Desync_FS_Dump

func (dk *DpsDeathknight) RotationActionCallback_FrostSubBlood_Desync_FS_Dump(sim *core.Simulation, target *core.Unit, s *deathknight.Sequence) time.Duration

func (*DpsDeathknight) RotationActionCallback_FrostSubBlood_Desync_Obli

func (dk *DpsDeathknight) RotationActionCallback_FrostSubBlood_Desync_Obli(sim *core.Simulation, target *core.Unit, s *deathknight.Sequence) time.Duration

func (*DpsDeathknight) RotationActionCallback_FrostSubBlood_Desync_Pesti

func (dk *DpsDeathknight) RotationActionCallback_FrostSubBlood_Desync_Pesti(sim *core.Simulation, target *core.Unit, s *deathknight.Sequence) time.Duration

func (*DpsDeathknight) RotationActionCallback_FrostSubBlood_Desync_Sequence1

func (dk *DpsDeathknight) RotationActionCallback_FrostSubBlood_Desync_Sequence1(sim *core.Simulation, target *core.Unit, s *deathknight.Sequence) time.Duration

func (*DpsDeathknight) RotationActionCallback_FrostSubBlood_Desync_Sequence2

func (dk *DpsDeathknight) RotationActionCallback_FrostSubBlood_Desync_Sequence2(sim *core.Simulation, target *core.Unit, s *deathknight.Sequence) time.Duration

func (*DpsDeathknight) RotationActionCallback_FrostSubBlood_Desync_UA

func (dk *DpsDeathknight) RotationActionCallback_FrostSubBlood_Desync_UA(sim *core.Simulation, target *core.Unit, s *deathknight.Sequence) time.Duration

func (*DpsDeathknight) RotationActionCallback_FrostSubBlood_Detect_Broken_Desync

func (dk *DpsDeathknight) RotationActionCallback_FrostSubBlood_Detect_Broken_Desync(sim *core.Simulation, target *core.Unit, s *deathknight.Sequence) time.Duration

func (*DpsDeathknight) RotationActionCallback_FrostSubBlood_Dump_UntilBR

func (dk *DpsDeathknight) RotationActionCallback_FrostSubBlood_Dump_UntilBR(sim *core.Simulation, target *core.Unit, s *deathknight.Sequence) time.Duration

func (*DpsDeathknight) RotationActionCallback_FrostSubBlood_FS_Dump

func (dk *DpsDeathknight) RotationActionCallback_FrostSubBlood_FS_Dump(sim *core.Simulation, target *core.Unit, s *deathknight.Sequence) time.Duration

func (*DpsDeathknight) RotationActionCallback_FrostSubBlood_FS_Dump_UntilUA

func (dk *DpsDeathknight) RotationActionCallback_FrostSubBlood_FS_Dump_UntilUA(sim *core.Simulation, target *core.Unit, s *deathknight.Sequence) time.Duration

func (*DpsDeathknight) RotationActionCallback_FrostSubBlood_FS_KM

func (dk *DpsDeathknight) RotationActionCallback_FrostSubBlood_FS_KM(sim *core.Simulation, target *core.Unit, s *deathknight.Sequence) time.Duration

TODO: Improve this

func (*DpsDeathknight) RotationActionCallback_FrostSubBlood_Obli

func (dk *DpsDeathknight) RotationActionCallback_FrostSubBlood_Obli(sim *core.Simulation, target *core.Unit, s *deathknight.Sequence) time.Duration

func (*DpsDeathknight) RotationActionCallback_FrostSubBlood_Obli_Check

func (dk *DpsDeathknight) RotationActionCallback_FrostSubBlood_Obli_Check(sim *core.Simulation, target *core.Unit, s *deathknight.Sequence) time.Duration

func (*DpsDeathknight) RotationActionCallback_FrostSubBlood_RecoverFromPestiMiss

func (dk *DpsDeathknight) RotationActionCallback_FrostSubBlood_RecoverFromPestiMiss(sim *core.Simulation, target *core.Unit, s *deathknight.Sequence) time.Duration

func (*DpsDeathknight) RotationActionCallback_FrostSubBlood_SequenceRotation

func (dk *DpsDeathknight) RotationActionCallback_FrostSubBlood_SequenceRotation(sim *core.Simulation, target *core.Unit, s *deathknight.Sequence) time.Duration

func (*DpsDeathknight) RotationActionCallback_FrostSubBlood_Sequence_Pesti

func (dk *DpsDeathknight) RotationActionCallback_FrostSubBlood_Sequence_Pesti(sim *core.Simulation, target *core.Unit, s *deathknight.Sequence) time.Duration

func (*DpsDeathknight) RotationActionCallback_FrostSubBlood_UA_Check

func (dk *DpsDeathknight) RotationActionCallback_FrostSubBlood_UA_Check(sim *core.Simulation, target *core.Unit, s *deathknight.Sequence) time.Duration

func (*DpsDeathknight) RotationActionCallback_FrostSubUnh_EndOfFight_Obli

func (dk *DpsDeathknight) RotationActionCallback_FrostSubUnh_EndOfFight_Obli(sim *core.Simulation, target *core.Unit, s *deathknight.Sequence) time.Duration

end of fight oblit does not check diseases, it just presses it regardless, but will retry if fails to land.

func (*DpsDeathknight) RotationActionCallback_FrostSubUnholy_Dump_Until_Deaths

func (dk *DpsDeathknight) RotationActionCallback_FrostSubUnholy_Dump_Until_Deaths(sim *core.Simulation, target *core.Unit, s *deathknight.Sequence) time.Duration

func (*DpsDeathknight) RotationActionCallback_FrostSubUnholy_FS_Dump

func (dk *DpsDeathknight) RotationActionCallback_FrostSubUnholy_FS_Dump(sim *core.Simulation, target *core.Unit, s *deathknight.Sequence) time.Duration

func (*DpsDeathknight) RotationActionCallback_FrostSubUnholy_FS_HB

func (dk *DpsDeathknight) RotationActionCallback_FrostSubUnholy_FS_HB(sim *core.Simulation, target *core.Unit, s *deathknight.Sequence) time.Duration

func (*DpsDeathknight) RotationActionCallback_FrostSubUnholy_FS_KM

func (dk *DpsDeathknight) RotationActionCallback_FrostSubUnholy_FS_KM(sim *core.Simulation, target *core.Unit, s *deathknight.Sequence) time.Duration

func (*DpsDeathknight) RotationActionCallback_FrostSubUnholy_Obli

func (dk *DpsDeathknight) RotationActionCallback_FrostSubUnholy_Obli(sim *core.Simulation, target *core.Unit, s *deathknight.Sequence) time.Duration

func (*DpsDeathknight) RotationActionCallback_FrostSubUnholy_Pesti

func (dk *DpsDeathknight) RotationActionCallback_FrostSubUnholy_Pesti(sim *core.Simulation, target *core.Unit, s *deathknight.Sequence) time.Duration

func (*DpsDeathknight) RotationActionCallback_FrostSubUnholy_RecoverFromPestiMiss

func (dk *DpsDeathknight) RotationActionCallback_FrostSubUnholy_RecoverFromPestiMiss(sim *core.Simulation, target *core.Unit, s *deathknight.Sequence) time.Duration

func (*DpsDeathknight) RotationActionCallback_FrostSubUnholy_Sequence1

func (dk *DpsDeathknight) RotationActionCallback_FrostSubUnholy_Sequence1(sim *core.Simulation, target *core.Unit, s *deathknight.Sequence) time.Duration

func (*DpsDeathknight) RotationActionCallback_FrostSubUnholy_Sequence2

func (dk *DpsDeathknight) RotationActionCallback_FrostSubUnholy_Sequence2(sim *core.Simulation, target *core.Unit, s *deathknight.Sequence) time.Duration

func (*DpsDeathknight) RotationActionCallback_FrostSubUnholy_UA_Check1

func (dk *DpsDeathknight) RotationActionCallback_FrostSubUnholy_UA_Check1(sim *core.Simulation, target *core.Unit, s *deathknight.Sequence) time.Duration

func (*DpsDeathknight) RotationActionCallback_FrostSubUnholy_UA_Check2

func (dk *DpsDeathknight) RotationActionCallback_FrostSubUnholy_UA_Check2(sim *core.Simulation, target *core.Unit, s *deathknight.Sequence) time.Duration

func (*DpsDeathknight) RotationActionCallback_FrostSubUnholy_UA_Check3

func (dk *DpsDeathknight) RotationActionCallback_FrostSubUnholy_UA_Check3(sim *core.Simulation, target *core.Unit, s *deathknight.Sequence) time.Duration

func (*DpsDeathknight) RotationActionCallback_Frost_FS_HB

func (dk *DpsDeathknight) RotationActionCallback_Frost_FS_HB(sim *core.Simulation, target *core.Unit, s *deathknight.Sequence) time.Duration

func (*DpsDeathknight) RotationActionCallback_Frost_Pesti_ERW

func (dk *DpsDeathknight) RotationActionCallback_Frost_Pesti_ERW(sim *core.Simulation, target *core.Unit, s *deathknight.Sequence) time.Duration

func (*DpsDeathknight) RotationActionCallback_Haste_Snapshot

func (dk *DpsDeathknight) RotationActionCallback_Haste_Snapshot(sim *core.Simulation, target *core.Unit, s *deathknight.Sequence) time.Duration

func (*DpsDeathknight) RotationActionCallback_LastSecondsCast

func (dk *DpsDeathknight) RotationActionCallback_LastSecondsCast(sim *core.Simulation, target *core.Unit) bool

func (*DpsDeathknight) RotationActionCallback_MindFreezeFiller

func (dk *DpsDeathknight) RotationActionCallback_MindFreezeFiller(sim *core.Simulation, target *core.Unit, s *deathknight.Sequence) time.Duration

func (*DpsDeathknight) RotationActionCallback_Pesti_Custom

func (dk *DpsDeathknight) RotationActionCallback_Pesti_Custom(sim *core.Simulation, target *core.Unit, s *deathknight.Sequence) time.Duration

func (*DpsDeathknight) RotationActionCallback_UA_Frost

func (dk *DpsDeathknight) RotationActionCallback_UA_Frost(sim *core.Simulation, target *core.Unit, s *deathknight.Sequence) time.Duration

func (*DpsDeathknight) RotationActionCallback_UnholyDndRotation

func (dk *DpsDeathknight) RotationActionCallback_UnholyDndRotation(sim *core.Simulation, target *core.Unit, s *deathknight.Sequence) time.Duration

func (*DpsDeathknight) RotationActionCallback_UnholySsRotation

func (dk *DpsDeathknight) RotationActionCallback_UnholySsRotation(sim *core.Simulation, target *core.Unit, s *deathknight.Sequence) time.Duration

func (*DpsDeathknight) RotationActionUH_BP_ClipCheck

func (dk *DpsDeathknight) RotationActionUH_BP_ClipCheck(sim *core.Simulation, target *core.Unit, s *deathknight.Sequence) time.Duration

func (*DpsDeathknight) RotationActionUH_BS

func (dk *DpsDeathknight) RotationActionUH_BS(sim *core.Simulation, target *core.Unit, s *deathknight.Sequence) time.Duration

Custom BS Callback

func (*DpsDeathknight) RotationActionUH_DiseaseClipCheck

func (dk *DpsDeathknight) RotationActionUH_DiseaseClipCheck(dot *core.Dot, gracePeriod time.Duration, sim *core.Simulation, target *core.Unit, s *deathknight.Sequence) time.Duration

Check if we have enough rune grace period to delay the disease cast so we get more ticks without losing on rune cd

func (*DpsDeathknight) RotationActionUH_FF_ClipCheck

func (dk *DpsDeathknight) RotationActionUH_FF_ClipCheck(sim *core.Simulation, target *core.Unit, s *deathknight.Sequence) time.Duration

func (*DpsDeathknight) RotationActionUH_IT_Custom

func (dk *DpsDeathknight) RotationActionUH_IT_Custom(sim *core.Simulation, target *core.Unit, s *deathknight.Sequence) time.Duration

Custom IT callback for tracking recasts for pestilence disease sync

func (*DpsDeathknight) RotationActionUH_IT_SetSync

func (dk *DpsDeathknight) RotationActionUH_IT_SetSync(sim *core.Simulation, target *core.Unit, s *deathknight.Sequence) time.Duration

Custom IT callback for ghoul frenzy frost rune sync

func (*DpsDeathknight) RotationActionUH_PS_Custom

func (dk *DpsDeathknight) RotationActionUH_PS_Custom(sim *core.Simulation, target *core.Unit, s *deathknight.Sequence) time.Duration

Custom PS callback for tracking recasts for pestilence disease sync

func (*DpsDeathknight) RotationActionUH_ResetToDndMain

func (dk *DpsDeathknight) RotationActionUH_ResetToDndMain(sim *core.Simulation, target *core.Unit, s *deathknight.Sequence) time.Duration

func (*DpsDeathknight) RotationActionUH_ResetToSsMain

func (dk *DpsDeathknight) RotationActionUH_ResetToSsMain(sim *core.Simulation, target *core.Unit, s *deathknight.Sequence) time.Duration

func (*DpsDeathknight) RotationActionUH_SS_Sigil

func (dk *DpsDeathknight) RotationActionUH_SS_Sigil(sim *core.Simulation, target *core.Unit, s *deathknight.Sequence) time.Duration

Custom SS Callback for when we have virulence sigil

func (*DpsDeathknight) RotationAction_CancelBT

func (dk *DpsDeathknight) RotationAction_CancelBT(sim *core.Simulation, target *core.Unit, s *deathknight.Sequence) time.Duration

func (*DpsDeathknight) SetupRotations

func (dk *DpsDeathknight) SetupRotations()

type FrostRotation

type FrostRotation struct {
	// contains filtered or unexported fields
}

func (*FrostRotation) Initialize

func (fr *FrostRotation) Initialize(dk *DpsDeathknight)

func (*FrostRotation) Reset

func (fr *FrostRotation) Reset(sim *core.Simulation)

type FrostSubBloodUAState

type FrostSubBloodUAState uint8
const (
	FrostSubBloodUAState_Now FrostSubBloodUAState = iota
	FrostSubBloodUAState_Soon
	FrostSubBloodUAState_CD
)

type SharedRotation

type SharedRotation struct {
	// contains filtered or unexported fields
}

func (*SharedRotation) Initialize

func (sr *SharedRotation) Initialize(dk *DpsDeathknight)

func (*SharedRotation) Reset

func (sr *SharedRotation) Reset(sim *core.Simulation)

type SigilType

type SigilType int32
const (
	Sigil_Other SigilType = iota
	Sigil_Virulence
	Sigil_HangedMan
)

type UnholyRotation

type UnholyRotation struct {
	// contains filtered or unexported fields
}

func (*UnholyRotation) Initialize

func (ur *UnholyRotation) Initialize(dk *DpsDeathknight)

func (*UnholyRotation) Reset

func (ur *UnholyRotation) Reset(sim *core.Simulation)

type WeaponSwapType

type WeaponSwapType int32
const (
	WeaponSwap_None WeaponSwapType = iota
	WeaponSwap_BlackMagic
	WeaponSwap_Berserking
	WeaponSwap_FallenCrusader
)

Jump to

Keyboard shortcuts

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