Documentation ¶
Index ¶
- Constants
- Variables
- type APLValueCurrentHolyPower
- type HolyPowerBar
- type Paladin
- func (paladin *Paladin) AddPartyBuffs(_ *proto.PartyBuffs)
- func (paladin *Paladin) AddRaidBuffs(raidBuffs *proto.RaidBuffs)
- func (paladin *Paladin) ApplyTalents()
- func (paladin *Paladin) CurrentHolyPower() int32
- func (paladin *Paladin) GetCharacter() *core.Character
- func (paladin *Paladin) GetHolyPowerValue() int32
- func (paladin *Paladin) GetPaladin() *Paladin
- func (paladin *Paladin) HasHolyPowerBar() bool
- func (paladin *Paladin) HasMajorGlyph(glyph proto.PaladinMajorGlyph) bool
- func (paladin *Paladin) HasMinorGlyph(glyph proto.PaladinMinorGlyph) bool
- func (paladin *Paladin) HasPrimeGlyph(glyph proto.PaladinPrimeGlyph) bool
- func (paladin *Paladin) Initialize()
- func (paladin *Paladin) NewAPLValue(rot *core.APLRotation, config *proto.APLValue) core.APLValue
- func (unit *Paladin) NewHolyPowerMetrics(actionID core.ActionID) *core.ResourceMetrics
- func (paladin *Paladin) Reset(_ *core.Simulation)
- type PaladinAgent
Constants ¶
View Source
const ( SpellFlagSecondaryJudgement = core.SpellFlagAgentReserved1 SpellFlagPrimaryJudgement = core.SpellFlagAgentReserved2 )
View Source
const ( SpellMaskSpecialAttack int64 = 1 << iota SpellMaskTemplarsVerdict SpellMaskCrusaderStrike SpellMaskDivineStorm SpellMaskExorcism SpellMaskGlyphOfExorcism SpellMaskHammerOfWrath SpellMaskJudgement SpellMaskHolyWrath SpellMaskConsecration SpellMaskHammerOfTheRighteous SpellMaskHandOfReckoning SpellMaskShieldOfRighteousness SpellMaskAvengersShield SpellMaskDivinePlea SpellMaskDivineProtection SpellMaskAvengingWrath SpellMaskCensure SpellMaskInquisition SpellMaskHandOfLight SpellMaskZealotry SpellMaskHolyShock SpellMaskWordOfGlory SpellMaskSealOfTruth SpellMaskSealOfInsight SpellMaskSealOfRighteousness SpellMaskSealOfJustice )
View Source
const SpellMaskCanTriggerDivinePurpose = SpellMaskHammerOfWrath | SpellMaskExorcism | SpellMaskJudgement | SpellMaskHolyWrath | SpellMaskTemplarsVerdict | SpellMaskDivineStorm | SpellMaskInquisition
View Source
const SpellMaskModifiedByInquisition = SpellMaskHammerOfWrath | SpellMaskConsecration | SpellMaskExorcism | SpellMaskGlyphOfExorcism | SpellMaskJudgement | SpellMaskSealOfTruth | SpellMaskCensure | SpellMaskHandOfLight | SpellMaskHolyWrath
View Source
const SpellMaskSingleTarget = SpellMaskCrusaderStrike | SpellMaskTemplarsVerdict
Variables ¶
View Source
var ItemSetReinforcedSapphiriumBattlearmor = core.NewItemSet(core.ItemSet{ Name: "Reinforced Sapphirium Battlearmor", Bonuses: map[int32]core.ApplyEffect{ 2: func(agent core.Agent) { paladin := agent.(PaladinAgent).GetPaladin() paladin.AddStaticMod(core.SpellModConfig{ Kind: core.SpellMod_DamageDone_Flat, ClassMask: SpellMaskCrusaderStrike, FloatValue: 0.1, }) }, 4: func(agent core.Agent) { }, }, })
Tier 11 prot
View Source
var ItemSetReinforcedSapphiriumBattleplate = core.NewItemSet(core.ItemSet{ Name: "Reinforced Sapphirium Battleplate", Bonuses: map[int32]core.ApplyEffect{ 2: func(agent core.Agent) { paladin := agent.(PaladinAgent).GetPaladin() paladin.AddStaticMod(core.SpellModConfig{ Kind: core.SpellMod_DamageDone_Flat, ClassMask: SpellMaskTemplarsVerdict, FloatValue: 0.1, }) }, 4: func(agent core.Agent) { }, }, })
Tier 11 ret
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
func (value *APLValueCurrentHolyPower) Type() proto.APLValueType
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 TemplarsVerdict *core.Spell Zealotry *core.Spell Inquisition *core.Spell SealsOfCommand *core.Spell SealOfTruth *core.Spell HandOfLight *core.Spell HolyShieldAura *core.Aura RighteousFuryAura *core.Aura DivinePleaAura *core.Aura SealOfTruthAura *core.Aura SealOfRighteousnessAura *core.Aura AvengingWrathAura *core.Aura DivineProtectionAura *core.Aura ForbearanceAura *core.Aura VengeanceAura *core.Aura ZealotryAura *core.Aura InquisitionAura *core.Aura DivinePurposeAura *core.Aura ArtOfWarInstantCast *core.Aura SpiritualAttunementMetrics *core.ResourceMetrics }
func (*Paladin) AddPartyBuffs ¶
func (paladin *Paladin) AddPartyBuffs(_ *proto.PartyBuffs)
func (*Paladin) AddRaidBuffs ¶
func (*Paladin) ApplyTalents ¶
func (paladin *Paladin) ApplyTalents()
func (*Paladin) CurrentHolyPower ¶ added in v0.0.2
CurrentHolyPower returns the actual amount of holy power the paladin has, not counting the Divine Purpose proc.
func (*Paladin) GetCharacter ¶
func (*Paladin) GetHolyPowerValue ¶ added in v0.0.9
GetHolyPowerValue returns the amount of holy power used for calculating the damage done by Templar's Verdict and duration of Inquisition.
func (*Paladin) GetPaladin ¶
func (*Paladin) HasHolyPowerBar ¶ added in v0.0.2
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) NewAPLValue ¶ added in v0.0.2
func (*Paladin) NewHolyPowerMetrics ¶ added in v0.0.2
func (unit *Paladin) NewHolyPowerMetrics(actionID core.ActionID) *core.ResourceMetrics
func (*Paladin) Reset ¶
func (paladin *Paladin) Reset(_ *core.Simulation)
type PaladinAgent ¶
type PaladinAgent interface {
GetPaladin() *Paladin
}
Implemented by each Paladin spec.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.