priest

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2026 License: MIT Imports: 9 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
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

View Source
var DevouringPlagueRankMap = spellData.DevouringPlague
View Source
var HolyNovaRankMap = spellData.HolyNova
View Source
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.

View Source
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

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
var MindBlastRankMap = spellData.MindBlast
View Source
var ShadowWordDeathRankMap = spellData.ShadowWordDeath
View Source
var ShadowWordPainRankMap = spellData.ShadowWordPain
View Source
var SmiteRankMap = spellData.Smite
View Source
var StarshardsRankMap = spellData.Starshards
View Source
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 New

func New(char *core.Character, selfBuffs SelfBuffs, talents string) *Priest

func NewPriest

func NewPriest(character *core.Character, options *proto.Player) *Priest

func (*Priest) AddPartyBuffs

func (priest *Priest) AddPartyBuffs(_ *proto.PartyBuffs)

func (*Priest) ApplyTalents

func (priest *Priest) ApplyTalents()

func (*Priest) GetCharacter

func (priest *Priest) GetCharacter() *core.Character

func (*Priest) GetPriest

func (priest *Priest) GetPriest() *Priest

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
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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