wotlk

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2023 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 v1.0.1

func ConstructValkyrPets(character *core.Character)

func CreateBlackMagicProcAura added in v1.0.1

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

func MakeNibelungTriggerAura added in v1.0.1

func MakeNibelungTriggerAura(agent core.Agent, isHeroic bool)

func NewItemEffectWithHeroic added in v1.0.1

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 added in v1.0.1

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

func NewHighestStatAura added in v1.0.1

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

func (HighestStatAura) Get added in v1.0.1

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

func (HighestStatAura) Init added in v1.0.1

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 added in v1.0.1

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

type ValkyrPet added in v1.0.1

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

func (*ValkyrPet) GetPet added in v1.0.1

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

func (*ValkyrPet) Initialize added in v1.0.1

func (valkyr *ValkyrPet) Initialize()

func (*ValkyrPet) OnGCDReady added in v1.0.1

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

func (*ValkyrPet) Reset added in v1.0.1

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

Jump to

Keyboard shortcuts

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