Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterPriest()
- type Priest
- func (priest *Priest) AddPartyBuffs(_ *proto.PartyBuffs)
- func (priest *Priest) ApplyTalents()
- func (priest *Priest) GetCharacter() *core.Character
- func (priest *Priest) GetPriest() *Priest
- func (priest *Priest) Initialize()
- func (priest *Priest) InitializeHealingSpells()
- func (priest *Priest) OnEncounterStart(sim *core.Simulation)
- func (priest *Priest) Reset(_ *core.Simulation)
- type PriestAgent
- type SelfBuffs
Constants ¶
const ( PriestSpellDevouringPlague int64 = 1 << iota PriestSpellHolyFire PriestSpellMindBlast PriestSpellMindFlay PriestSpellPenance PriestSpellShadowWordDeath PriestSpellShadowWordPain PriestSpellSmite PriestSpellFlashHeal PriestSpellLesserHeal PriestSpellHeal PriestSpellGreaterHeal PriestSpellRenew PriestSpellPowerWordShield PriestSpellHolyNova PriestSpellLightwell PriestSpellPrayerOfHealing PriestSpellPrayerOfMending PriestSpellCureDisease PriestSpellAbolishDisease PriestShadowSpells = PriestSpellDevouringPlague | PriestSpellShadowWordDeath | PriestSpellShadowWordPain | PriestSpellMindFlay | PriestSpellMindBlast )
Variables ¶
var DevouringPlagueRankMap = spellData.DevouringPlague
var HolyNovaRankMap = spellData.HolyNova
var ItemSetConfessorsRaiment = core.NewItemSet(core.ItemSet{ ID: 480, Name: "Confessor's Raiment", Slots: []proto.ItemSlot{ proto.ItemSlot_ItemSlotNeck, proto.ItemSlot_ItemSlotShoulder, proto.ItemSlot_ItemSlotWrist, proto.ItemSlot_ItemSlotWaist, proto.ItemSlot_ItemSlotTrinket1, proto.ItemSlot_ItemSlotTrinket2, }, Bonuses: map[int32]core.ApplySetBonus{ 2: parsedSetBonus(9408), 3: parsedSetBonus(24482), }, })
Zul'Gurub https://www.wowhead.com/forever/item-set=480/confessors-raiment
The 5-piece bonus cuts Mind Control's cast time, which the sim does not cast.
var ItemSetFineryOfInfiniteWisdom = core.NewItemSet(core.ItemSet{ ID: 508, Name: "Finery of Infinite Wisdom", Slots: []proto.ItemSlot{ proto.ItemSlot_ItemSlotMainHand, proto.ItemSlot_ItemSlotFinger1, proto.ItemSlot_ItemSlotFinger2, proto.ItemSlot_ItemSlotBack, }, Bonuses: map[int32]core.ApplySetBonus{ 3: parsedSetBonus(26172), }, })
Ruins of Ahn'Qiraj https://www.wowhead.com/forever/item-set=508/finery-of-infinite-wisdom
var ItemSetGarmentsOfTheOracle = core.NewItemSet(core.ItemSet{ ID: 507, Name: "Garments of the Oracle", Slots: []proto.ItemSlot{ proto.ItemSlot_ItemSlotHead, proto.ItemSlot_ItemSlotShoulder, proto.ItemSlot_ItemSlotChest, proto.ItemSlot_ItemSlotLegs, proto.ItemSlot_ItemSlotFeet, }, Bonuses: map[int32]core.ApplySetBonus{ 5: parsedSetBonus(26171), }, })
Temple of Ahn'Qiraj https://www.wowhead.com/forever/item-set=507/garments-of-the-oracle
The 3-piece bonus (26169) heals the priest for a share of the heals cast on others, which the sim does not model.
var ItemSetRaimentsOfConviction = core.NewItemSet(core.ItemSet{ ID: 2105, Name: "Raiments of Conviction", Slots: sixPieceSetSlots, Bonuses: map[int32]core.ApplySetBonus{ 2: parsedSetBonus(1300955), 4: func(_ core.Agent, setBonusAura *core.Aura) { effect := convictionUndeadDamage.EffectN(1) setBonusAura. AttachMobTypeBonusStats(stats.Stats{stats.SpellDamage: effect.BaseValue()}, spelldata.MobTypes(effect.Misc)...). ExposeToAPL(convictionUndeadDamage.ID) }, 5: parsedSetBonus(1301706), }, })
Tier 1 - Shadow https://www.wowhead.com/forever/item-set=2105/raiments-of-conviction
The 3-piece bonus lengthens Shackle Undead, which the sim does not cast.
var ItemSetVestmentsOfConviction = core.NewItemSet(core.ItemSet{ ID: 2104, Name: "Vestments of Conviction", Slots: sixPieceSetSlots, Bonuses: map[int32]core.ApplySetBonus{ 2: parsedSetBonus(1300954), 4: parsedSetBonus(1301085), 5: parsedSetBonus(1301703), }, })
Tier 1 - Discipline and Holy https://www.wowhead.com/forever/item-set=2104/vestments-of-conviction
The 3-piece bonus takes 60 sec off Fear Ward's cooldown, which the sim does not cast.
var ItemSetVestmentsOfFaith = core.NewItemSet(core.ItemSet{ ID: 525, Name: "Vestments of Faith", Slots: shared.TierThreeSlots, Bonuses: map[int32]core.ApplySetBonus{ 2: parsedSetBonus(28807), 6: parsedSetBonus(28808), 8: func(agent core.Agent, setBonusAura *core.Aura) { character := agent.GetCharacter() epiphany := character.RegisterAura(spelldata.AuraConfig(faithEpiphanyBuff)) spelldata.ParseEffects(character, epiphany, faithEpiphanyBuff) trigger := spelldata.ProcTrigger(character, faithEpiphanyProc, func(sim *core.Simulation, _ *core.Spell, _ *core.SpellResult) { epiphany.Activate(sim) }) trigger.Name = "Vestments of Faith - 8PC" trigger.ClassFlags = core.ClassFlags{} setBonusAura.AttachProcTrigger(trigger) setBonusAura.ExposeToAPL(faithEpiphanyProc.ID) }, }, })
Tier 3 https://www.wowhead.com/forever/item-set=525/vestments-of-faith
The 4-piece bonus (28809) shields the target of a Greater Heal crit with Armor of Faith, which the sim does not model.
var MindBlastRankMap = spellData.MindBlast
var ShadowWordDeathRankMap = spellData.ShadowWordDeath
var ShadowWordPainRankMap = spellData.ShadowWordPain
var SmiteRankMap = spellData.Smite
var StarshardsRankMap = spellData.Starshards
var TalentTreeSizes = [3]int{18, 17, 18}
Functions ¶
func RegisterPriest ¶
func RegisterPriest()
Types ¶
type Priest ¶
type Priest struct {
core.Character
SelfBuffs
Talents *proto.PriestTalents
PrayerOfHealingMode proto.PrayerOfHealingMode
PrayerOfMendingJumps int32
PrayerOfMendingDelay float64
HolyNovaHealTargets int32
Latency float64
InnerFocusAura *core.Aura
VampiricEmbrace *core.Spell
// contains filtered or unexported fields
}
func (*Priest) AddPartyBuffs ¶
func (priest *Priest) AddPartyBuffs(_ *proto.PartyBuffs)
func (*Priest) ApplyTalents ¶
func (priest *Priest) ApplyTalents()
func (*Priest) GetCharacter ¶
func (*Priest) Initialize ¶
func (priest *Priest) Initialize()
func (*Priest) InitializeHealingSpells ¶
func (priest *Priest) InitializeHealingSpells()
func (*Priest) OnEncounterStart ¶
func (priest *Priest) OnEncounterStart(sim *core.Simulation)
func (*Priest) Reset ¶
func (priest *Priest) Reset(_ *core.Simulation)
type PriestAgent ¶
type PriestAgent interface {
GetPriest() *Priest
}
Agent is a generic way to access underlying priest on any of the agents.
type SelfBuffs ¶
type SelfBuffs struct {
PreShadowform bool
Armor proto.PriestOptions_Armor
}
Source Files
¶
- chastise.go
- confounding_flash.go
- contingency_plan.go
- dark_sacrifice.go
- desperate_prayer.go
- devouring_plague.go
- divine_grace.go
- elunes_grace.go
- fade.go
- feedback.go
- flash_heal.go
- greater_heal.go
- heal.go
- hex_of_weakness.go
- holy_fire.go
- holy_nova.go
- inner_fire.go
- item_armor.go
- item_sets.go
- item_weapons.go
- lesser_heal.go
- mana_burn.go
- mind_blast.go
- mind_flay.go
- penance.go
- power_word_shield.go
- prayer_of_fortitude.go
- prayer_of_healing.go
- prayer_of_mending.go
- prayer_of_shadow_protection.go
- prayer_of_spirit.go
- priest.go
- renew.go
- renewed_hope.go
- shadow_word_death.go
- shadow_word_pain.go
- shadowguard.go
- smite.go
- spell_data_auto_gen.go
- starshards.go
- talents.go
- talents_discipline.go
- talents_holy.go
- talents_shadow.go
- touch_of_weakness.go
- vampiric_embrace.go