Documentation ¶
Index ¶
- Constants
- func AddSingleTargetBossEncounter(presetTarget *core.PresetTarget)
- func NewDefaultAI(abilities []TargetAbility) core.AIFactory
- func NewGnomereganMechanicalAI() core.AIFactory
- func NewSunkenTempleDragonkinAI() core.AIFactory
- func NewVaelastraszTheCorruptAI() core.AIFactory
- type DefaultAI
- type GnomereganMechanicalAI
- type SunkenTempleDragonkinAI
- type TargetAbility
- type VaelastraszTheCorruptAI
Constants ¶
View Source
const BossGCD = time.Millisecond * 1600
Variables ¶
This section is empty.
Functions ¶
func AddSingleTargetBossEncounter ¶
func AddSingleTargetBossEncounter(presetTarget *core.PresetTarget)
func NewDefaultAI ¶
func NewDefaultAI(abilities []TargetAbility) core.AIFactory
func NewSunkenTempleDragonkinAI ¶ added in v0.0.5
func NewVaelastraszTheCorruptAI ¶ added in v0.0.26
Types ¶
type DefaultAI ¶
type DefaultAI struct { Target *core.Target Abilities []TargetAbility }
Default implementation of TargetAI which takes a list of abilities as input in order of priority.
func (*DefaultAI) ExecuteCustomRotation ¶
func (ai *DefaultAI) ExecuteCustomRotation(sim *core.Simulation)
func (*DefaultAI) Initialize ¶
func (*DefaultAI) Reset ¶
func (ai *DefaultAI) Reset(sim *core.Simulation)
type GnomereganMechanicalAI ¶
func (*GnomereganMechanicalAI) ExecuteCustomRotation ¶
func (ai *GnomereganMechanicalAI) ExecuteCustomRotation(_ *core.Simulation)
func (*GnomereganMechanicalAI) Initialize ¶
func (ai *GnomereganMechanicalAI) Initialize(target *core.Target, _ *proto.Target)
func (*GnomereganMechanicalAI) Reset ¶
func (ai *GnomereganMechanicalAI) Reset(*core.Simulation)
type SunkenTempleDragonkinAI ¶ added in v0.0.5
func (*SunkenTempleDragonkinAI) ExecuteCustomRotation ¶ added in v0.0.5
func (ai *SunkenTempleDragonkinAI) ExecuteCustomRotation(_ *core.Simulation)
func (*SunkenTempleDragonkinAI) Initialize ¶ added in v0.0.5
func (ai *SunkenTempleDragonkinAI) Initialize(target *core.Target, _ *proto.Target)
func (*SunkenTempleDragonkinAI) Reset ¶ added in v0.0.5
func (ai *SunkenTempleDragonkinAI) Reset(*core.Simulation)
type TargetAbility ¶
type TargetAbility struct { // Puts ability on CD at the start of each iteration. InitialCD time.Duration // Probability (0-1) that this ability will be used when available. ChanceToUse float64 // Factory function for creating the spell. Can use this or supply Spell // directly. MakeSpell func(*core.Target) *core.Spell Spell *core.Spell }
type VaelastraszTheCorruptAI ¶ added in v0.0.26
type VaelastraszTheCorruptAI struct { Target *core.Target // contains filtered or unexported fields }
func (*VaelastraszTheCorruptAI) ExecuteCustomRotation ¶ added in v0.0.26
func (ai *VaelastraszTheCorruptAI) ExecuteCustomRotation(sim *core.Simulation)
func (*VaelastraszTheCorruptAI) Initialize ¶ added in v0.0.26
func (ai *VaelastraszTheCorruptAI) Initialize(target *core.Target, config *proto.Target)
func (*VaelastraszTheCorruptAI) Reset ¶ added in v0.0.26
func (ai *VaelastraszTheCorruptAI) Reset(*core.Simulation)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.