paladin

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: May 30, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SpellFlagSecondaryJudgement = core.SpellFlagAgentReserved1
	SpellFlagPrimaryJudgement   = core.SpellFlagAgentReserved2
)
View Source
const (
	SpellMaskSpecialAttack int64 = 1 << iota

	SpellMaskTemplarsVerdict
	SpellMaskCrusaderStrike
	SpellMaskDivineStorm
	SpellMaskExorcism
	SpellMaskHammerOfWrath
	SpellMaskJudgement
	SpellMaskHolyWrath
	SpellMaskConsecration
	SpellMaskHammerOfTheRighteous
	SpellMaskHandOfReckoning
	SpellMaskShieldOfRighteousness
	SpellMaskAvengersShield
	SpellMaskDivinePlea
	SpellMaskDivineProtection

	SpellMaskHolyShock
	SpellMaskWordOfGlory

	SpellMaskSealOfTruth
	SpellMaskSealOfInsight
	SpellMaskSealOfRighteousness
	SpellmaskSealofJustice
)

Variables

View Source
var TalentTreeSizes = [3]int{20, 20, 20}

Functions

This section is empty.

Types

type APLValueCurrentHolyPower added in v0.0.2

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

func (*APLValueCurrentHolyPower) GetInt added in v0.0.2

func (value *APLValueCurrentHolyPower) GetInt(sim *core.Simulation) int32

func (*APLValueCurrentHolyPower) String added in v0.0.2

func (value *APLValueCurrentHolyPower) String() string

func (*APLValueCurrentHolyPower) Type added in v0.0.2

type HolyPowerBar added in v0.0.2

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

func (*HolyPowerBar) GainHolyPower added in v0.0.2

func (pb *HolyPowerBar) GainHolyPower(sim *core.Simulation, amountToAdd int32, metrics *core.ResourceMetrics)

func (*HolyPowerBar) Reset added in v0.0.2

func (pb *HolyPowerBar) Reset()

func (*HolyPowerBar) SpendHolyPower added in v0.0.2

func (pb *HolyPowerBar) SpendHolyPower(sim *core.Simulation, metrics *core.ResourceMetrics)

type Paladin

type Paladin struct {
	core.Character
	HolyPowerBar

	PaladinAura proto.PaladinAura

	Talents *proto.PaladinTalents

	CurrentSeal      *core.Aura
	CurrentJudgement *core.Spell

	DivinePlea            *core.Spell
	DivineStorm           *core.Spell
	HolyWrath             *core.Spell
	Consecration          *core.Spell
	CrusaderStrike        *core.Spell
	Exorcism              *core.Spell
	HolyShield            *core.Spell
	HammerOfTheRighteous  *core.Spell
	HandOfReckoning       *core.Spell
	ShieldOfRighteousness *core.Spell
	AvengersShield        *core.Spell
	HammerOfWrath         *core.Spell
	AvengingWrath         *core.Spell
	DivineProtection      *core.Spell

	SealOfTruth *core.Spell

	HolyShieldAura          *core.Aura
	RighteousFuryAura       *core.Aura
	DivinePleaAura          *core.Aura
	JudgementOfWisdomAura   *core.Aura
	JudgementOfLightAura    *core.Aura
	SealOfTruthAura         *core.Aura
	SealOfCommandAura       *core.Aura
	SealOfRighteousnessAura *core.Aura
	AvengingWrathAura       *core.Aura
	DivineProtectionAura    *core.Aura
	ForbearanceAura         *core.Aura
	VengeanceAura           *core.Aura

	ArtOfWarInstantCast *core.Aura

	SpiritualAttunementMetrics *core.ResourceMetrics

	HasTuralyonsOrLiadrinsBattlegear2Pc bool

	DemonAndUndeadTargetCount int32
	// contains filtered or unexported fields
}

func NewPaladin

func NewPaladin(character *core.Character, talentsStr string) *Paladin

func (*Paladin) AddPartyBuffs

func (paladin *Paladin) AddPartyBuffs(_ *proto.PartyBuffs)

func (*Paladin) AddRaidBuffs

func (paladin *Paladin) AddRaidBuffs(raidBuffs *proto.RaidBuffs)

func (*Paladin) ApplyArbitorOfTheLight added in v0.0.2

func (paladin *Paladin) ApplyArbitorOfTheLight()

Holy Talents first two rows

func (*Paladin) ApplyCrusade added in v0.0.2

func (paladin *Paladin) ApplyCrusade()

Retribution Talents first two rows

func (*Paladin) ApplyJudgementsOfThePure added in v0.0.2

func (paladin *Paladin) ApplyJudgementsOfThePure()

Might need Rework

func (*Paladin) ApplyProtectorOfTheInnocent added in v0.0.2

func (paladin *Paladin) ApplyProtectorOfTheInnocent()

func (*Paladin) ApplyRuleOfLaw added in v0.0.2

func (paladin *Paladin) ApplyRuleOfLaw()

func (*Paladin) ApplySealsOfThePure added in v0.0.2

func (paladin *Paladin) ApplySealsOfThePure()

Protection Talents first two rows

func (*Paladin) ApplyTalents

func (paladin *Paladin) ApplyTalents()

func (*Paladin) CurrentHolyPower added in v0.0.2

func (paladin *Paladin) CurrentHolyPower() int32

func (*Paladin) GetCharacter

func (paladin *Paladin) GetCharacter() *core.Character

func (*Paladin) GetMutualLockoutDPAW

func (paladin *Paladin) GetMutualLockoutDPAW() *core.Timer

Shared 30sec cooldown for Divine Protection and Avenging Wrath

func (*Paladin) GetPaladin

func (paladin *Paladin) GetPaladin() *Paladin

func (*Paladin) HasHolyPowerBar added in v0.0.2

func (paladin *Paladin) HasHolyPowerBar() bool

func (*Paladin) HasMajorGlyph

func (paladin *Paladin) HasMajorGlyph(glyph proto.PaladinMajorGlyph) bool

func (*Paladin) HasMinorGlyph

func (paladin *Paladin) HasMinorGlyph(glyph proto.PaladinMinorGlyph) bool

func (*Paladin) HasPrimeGlyph added in v0.0.2

func (paladin *Paladin) HasPrimeGlyph(glyph proto.PaladinPrimeGlyph) bool

func (*Paladin) Initialize

func (paladin *Paladin) Initialize()

func (*Paladin) InitializeHolyPowerbar added in v0.0.2

func (paladin *Paladin) InitializeHolyPowerbar()

func (*Paladin) NewAPLValue added in v0.0.2

func (paladin *Paladin) NewAPLValue(rot *core.APLRotation, config *proto.APLValue) core.APLValue

func (*Paladin) NewHolyPowerMetrics added in v0.0.2

func (unit *Paladin) NewHolyPowerMetrics(actionID core.ActionID) *core.ResourceMetrics

func (*Paladin) RegisterCrusaderStrike added in v0.0.2

func (paladin *Paladin) RegisterCrusaderStrike()

func (*Paladin) RegisterJudgement added in v0.0.2

func (paladin *Paladin) RegisterJudgement()

func (*Paladin) RegisterSealOfTruth added in v0.0.2

func (paladin *Paladin) RegisterSealOfTruth()

func (*Paladin) Reset

func (paladin *Paladin) Reset(_ *core.Simulation)

type PaladinAgent

type PaladinAgent interface {
	GetPaladin() *Paladin
}

Implemented by each Paladin spec.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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