affliction

package
v0.0.185 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DDBC_Haunt int = iota
	DDBC_Total
)

Damage Done By Caster setup

View Source
const HauntSpellID = 48181
View Source
const MaxSoulShards = 4.0

Variables

This section is empty.

Functions

func RegisterAfflictionWarlock

func RegisterAfflictionWarlock()

Types

type APLActionNextExhaleTarget added in v0.0.89

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

func (*APLActionNextExhaleTarget) Execute added in v0.0.89

func (action *APLActionNextExhaleTarget) Execute(sim *core.Simulation)

Execute implements core.APLActionImpl.

func (*APLActionNextExhaleTarget) Finalize added in v0.0.89

func (action *APLActionNextExhaleTarget) Finalize(*core.APLRotation)

func (*APLActionNextExhaleTarget) GetAPLValues added in v0.0.89

func (action *APLActionNextExhaleTarget) GetAPLValues() []core.APLValue

func (*APLActionNextExhaleTarget) GetInnerActions added in v0.0.89

func (action *APLActionNextExhaleTarget) GetInnerActions() []*core.APLAction

func (*APLActionNextExhaleTarget) GetNextAction added in v0.0.89

func (action *APLActionNextExhaleTarget) GetNextAction(sim *core.Simulation) *core.APLAction

func (*APLActionNextExhaleTarget) IsReady added in v0.0.89

func (action *APLActionNextExhaleTarget) IsReady(sim *core.Simulation) bool

func (*APLActionNextExhaleTarget) PostFinalize added in v0.0.89

func (action *APLActionNextExhaleTarget) PostFinalize(*core.APLRotation)

func (*APLActionNextExhaleTarget) ReResolveVariableRefs added in v0.0.89

func (action *APLActionNextExhaleTarget) ReResolveVariableRefs(*core.APLRotation, map[string]*proto.APLValue)

func (*APLActionNextExhaleTarget) Reset added in v0.0.89

func (action *APLActionNextExhaleTarget) Reset(sim *core.Simulation)

Reset implements core.APLActionImpl.

func (*APLActionNextExhaleTarget) String added in v0.0.89

func (action *APLActionNextExhaleTarget) String() string

String implements core.APLActionImpl.

type APLValueAfflictionCurrentSnapshot added in v0.0.137

type APLValueAfflictionCurrentSnapshot struct {
	core.DefaultAPLValueImpl
	// contains filtered or unexported fields
}

modified snapshot tracker, designed to be affliction specific. checks the snapshotted magnitude of existing dots relative to baseline. ignores crit and haste factors, since malefic effect ignores these

func (*APLValueAfflictionCurrentSnapshot) Finalize added in v0.0.137

func (value *APLValueAfflictionCurrentSnapshot) Finalize(rot *core.APLRotation)

func (*APLValueAfflictionCurrentSnapshot) GetFloat added in v0.0.137

func (*APLValueAfflictionCurrentSnapshot) String added in v0.0.137

func (value *APLValueAfflictionCurrentSnapshot) String() string

func (*APLValueAfflictionCurrentSnapshot) Type added in v0.0.137

type APLValueExhaleWindow added in v0.0.137

type APLValueExhaleWindow struct {
	core.DefaultAPLValueImpl
	// contains filtered or unexported fields
}

func (*APLValueExhaleWindow) GetDuration added in v0.0.137

func (value *APLValueExhaleWindow) GetDuration(sim *core.Simulation) time.Duration

func (*APLValueExhaleWindow) String added in v0.0.137

func (value *APLValueExhaleWindow) String() string

func (*APLValueExhaleWindow) Type added in v0.0.137

func (value *APLValueExhaleWindow) Type() proto.APLValueType

type AfflictionWarlock

type AfflictionWarlock struct {
	*warlock.Warlock

	SoulShards         core.SecondaryResourceBar
	Agony              *core.Spell
	UnstableAffliction *core.Spell

	SoulBurnAura *core.Aura

	LastCorruptionTarget *core.Unit // Tracks the last target we've applied corruption to
	LastInhaleTarget     *core.Unit

	DrainSoulMaleficEffectMultiplier    float64
	MaleficGraspMaleficEffectMultiplier float64
	ProcMaleficEffect                   func(target *core.Unit, coeff float64, sim *core.Simulation)

	ExhaleWindow time.Duration
}

func NewAfflictionWarlock

func NewAfflictionWarlock(character *core.Character, options *proto.Player) *AfflictionWarlock

func (*AfflictionWarlock) ApplyTalents

func (affliction *AfflictionWarlock) ApplyTalents()

func (*AfflictionWarlock) GetWarlock

func (affliction *AfflictionWarlock) GetWarlock() *warlock.Warlock

func (*AfflictionWarlock) Initialize

func (affliction *AfflictionWarlock) Initialize()

func (*AfflictionWarlock) NewAPLAction added in v0.0.89

func (warlock *AfflictionWarlock) NewAPLAction(rot *core.APLRotation, config *proto.APLAction) core.APLActionImpl

func (*AfflictionWarlock) NewAPLValue

func (warlock *AfflictionWarlock) NewAPLValue(rot *core.APLRotation, config *proto.APLValue) core.APLValue

func (*AfflictionWarlock) OnEncounterStart added in v0.0.13

func (affliction *AfflictionWarlock) OnEncounterStart(sim *core.Simulation)

func (*AfflictionWarlock) Reset

func (affliction *AfflictionWarlock) Reset(sim *core.Simulation)

Jump to

Keyboard shortcuts

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