wotlk

package
v0.1.81 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ItemSetBlessedBattlegearOfUndeadSlaying = makeUndeadSet("Blessed Battlegear of Undead Slaying")
View Source
var ItemSetBlessedGarbOfTheUndeadSlayer = makeUndeadSet("Blessed Garb of the Undead Slayer")
View Source
var ItemSetBlessedRegaliaOfUndeadCleansing = makeUndeadSet("Blessed Regalia of Undead Cleansing")
View Source
var ItemSetPurifiedShardOfTheGods = core.NewItemSet(core.ItemSet{
	Name: "Purified Shard of the Gods",
	Bonuses: map[int32]core.ApplyEffect{
		2: func(agent core.Agent) {
			agent.GetCharacter().AddStats(stats.Stats{stats.SpellPower: 222})
			applyShardOfTheGodsDamageProc(agent.GetCharacter(), false)
			applyShardOfTheGodsHealingProc(agent.GetCharacter(), false)
		},
	},
})
View Source
var ItemSetShinyShardOfTheGods = core.NewItemSet(core.ItemSet{
	Name: "Shiny Shard of the Gods",
	Bonuses: map[int32]core.ApplyEffect{
		2: func(agent core.Agent) {
			agent.GetCharacter().AddStats(stats.Stats{stats.SpellPower: 250})
			applyShardOfTheGodsDamageProc(agent.GetCharacter(), true)
			applyShardOfTheGodsHealingProc(agent.GetCharacter(), true)
		},
	},
})
View Source
var ItemSetUndeadSlayersBlessedArmor = makeUndeadSet("Undead Slayer's Blessed Armor")

Functions

func ConstructValkyrPets added in v0.1.46

func ConstructValkyrPets(character *core.Character)

func CreateBlackMagicProcAura added in v0.1.43

func CreateBlackMagicProcAura(character *core.Character) *core.Aura

func MakeNibelungTriggerAura added in v0.1.46

func MakeNibelungTriggerAura(agent core.Agent, isHeroic bool)

func NewItemEffectWithHeroic

func NewItemEffectWithHeroic(f func(isHeroic bool))

Types

type CapacitorAura

type CapacitorAura struct {
	Aura    core.Aura
	Handler CapacitorHandler
}

type CapacitorDamageEffect

type CapacitorDamageEffect struct {
	Name      string
	ID        int32
	MaxStacks int32
	Trigger   core.ProcTrigger

	School core.SpellSchool
	MinDmg float64
	MaxDmg float64
}

type CapacitorHandler

type CapacitorHandler func(*core.Simulation)

type HighestStatAura

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

func NewHighestStatAura

func NewHighestStatAura(statOptions []stats.Stat, auraFactory func(stat stats.Stat) *core.Aura) HighestStatAura

func (HighestStatAura) Get

func (hsa HighestStatAura) Get(character *core.Character) *core.Aura

func (HighestStatAura) Init added in v0.1.15

func (hsa HighestStatAura) Init(character *core.Character)

type ProcDamageEffect

type ProcDamageEffect struct {
	ID      int32
	Trigger core.ProcTrigger

	School core.SpellSchool
	MinDmg float64
	MaxDmg float64
}

type ProcStatBonusEffect

type ProcStatBonusEffect struct {
	Name       string
	ID         int32
	AuraID     int32
	Bonus      stats.Stats
	Duration   time.Duration
	Callback   core.AuraCallback
	ProcMask   core.ProcMask
	Outcome    core.HitOutcome
	Harmful    bool
	ProcChance float64
	PPM        float64
	ICD        time.Duration

	// For ignoring a hardcoded spell.
	IgnoreSpellID int32
}

type StackingStatBonusCD

type StackingStatBonusCD struct {
	Name        string
	ID          int32
	AuraID      int32
	Bonus       stats.Stats
	Duration    time.Duration
	MaxStacks   int32
	CD          time.Duration
	Callback    core.AuraCallback
	ProcMask    core.ProcMask
	SpellFlags  core.SpellFlag
	Outcome     core.HitOutcome
	Harmful     bool
	ProcChance  float64
	IsDefensive bool
}

type StackingStatBonusEffect

type StackingStatBonusEffect struct {
	Name       string
	ID         int32
	AuraID     int32
	Bonus      stats.Stats
	Duration   time.Duration
	MaxStacks  int32
	Callback   core.AuraCallback
	ProcMask   core.ProcMask
	SpellFlags core.SpellFlag
	Outcome    core.HitOutcome
	Harmful    bool
	ProcChance float64
}

type StatCDFactory

type StatCDFactory func(itemID int32, bonus float64, duration time.Duration, cooldown time.Duration)

type ValkyrPet added in v0.1.46

type ValkyrPet struct {
	core.Pet
	// contains filtered or unexported fields
}

func (*ValkyrPet) ExecuteCustomRotation added in v0.1.63

func (valkyr *ValkyrPet) ExecuteCustomRotation(sim *core.Simulation)

func (*ValkyrPet) GetPet added in v0.1.46

func (valkyr *ValkyrPet) GetPet() *core.Pet

func (*ValkyrPet) Initialize added in v0.1.46

func (valkyr *ValkyrPet) Initialize()

func (*ValkyrPet) Reset added in v0.1.46

func (valkyr *ValkyrPet) Reset(_ *core.Simulation)

Jump to

Keyboard shortcuts

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