Documentation ¶
Index ¶
- Variables
- func RegisterShadowPriest()
- type ShadowPriest
- func (spriest *ShadowPriest) BasicMindflayRotation(sim *core.Simulation, allCDs []time.Duration, gcd time.Duration, ...) int
- func (spriest *ShadowPriest) ClippingMindflayRotation(sim *core.Simulation, allCDs []time.Duration, gcd time.Duration, ...) int
- func (spriest *ShadowPriest) GetPriest() *priest.Priest
- func (spriest *ShadowPriest) IdealMindflayRotation(sim *core.Simulation, allCDs []time.Duration, gcd time.Duration, ...) int
- func (spriest *ShadowPriest) OnGCDReady(sim *core.Simulation)
- func (spriest *ShadowPriest) OnManaTick(sim *core.Simulation)
- func (spriest *ShadowPriest) Reset(sim *core.Simulation)
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultGlyphs = &proto.Glyphs{ Major1: int32(proto.PriestMajorGlyph_GlyphOfShadow), Major2: int32(proto.PriestMajorGlyph_GlyphOfMindFlay), Major3: int32(proto.PriestMajorGlyph_GlyphOfDispersion), }
View Source
var FullConsumes = &proto.Consumes{ Flask: proto.Flask_FlaskOfPureDeath, Food: proto.Food_FoodBlackenedBasilisk, DefaultPotion: proto.Potions_SuperManaPotion, PrepopPotion: proto.Potions_PotionOfWildMagic, DefaultConjured: proto.Conjured_ConjuredDarkRune, }
View Source
var P1Gear = items.EquipmentSpecFromJsonString(`{"items": [
{
"id": 40562,
"enchant": 44877,
"gems": [
41285,
39998
]
},
{
"id": 44661,
"gems": [
40026
]
},
{
"id": 40459,
"enchant": 44874,
"gems": [
39998
]
},
{
"id": 44005,
"enchant": 55642,
"gems": [
40026
]
},
{
"id": 44002,
"enchant": 33990,
"gems": [
39998,
39998
]
},
{
"id": 44008,
"enchant": 44498,
"gems": [
39998,
0
]
},
{
"id": 40454,
"enchant": 54999,
"gems": [
40049,
0
]
},
{
"id": 40561,
"gems": [
39998
]
},
{
"id": 40560,
"enchant": 41602
},
{
"id": 40558,
"enchant": 55016
},
{
"id": 40719
},
{
"id": 40399
},
{
"id": 40255
},
{
"id": 40432
},
{
"id": 40395,
"enchant": 44487
},
{
"id": 40273
},
{
"id": 39712
}
]}`)
View Source
var PlayerOptionsBasic = &proto.Player_ShadowPriest{ ShadowPriest: &proto.ShadowPriest{ Talents: StandardTalents, Options: &proto.ShadowPriest_Options{ Armor: proto.ShadowPriest_Options_InnerFire, UseShadowfiend: true, }, Rotation: &proto.ShadowPriest_Rotation{ RotationType: proto.ShadowPriest_Rotation_Basic, Latency: 50, }, }, }
View Source
var PlayerOptionsClipping = &proto.Player_ShadowPriest{ ShadowPriest: &proto.ShadowPriest{ Talents: StandardTalents, Options: &proto.ShadowPriest_Options{ Armor: proto.ShadowPriest_Options_InnerFire, UseShadowfiend: true, }, Rotation: &proto.ShadowPriest_Rotation{ RotationType: proto.ShadowPriest_Rotation_Clipping, PrecastVt: true, Latency: 50, }, }, }
View Source
var PlayerOptionsIdeal = &proto.Player_ShadowPriest{ ShadowPriest: &proto.ShadowPriest{ Talents: StandardTalents, Options: &proto.ShadowPriest_Options{ Armor: proto.ShadowPriest_Options_InnerFire, UseShadowfiend: true, }, Rotation: &proto.ShadowPriest_Rotation{ RotationType: proto.ShadowPriest_Rotation_Ideal, PrecastVt: true, Latency: 50, }, }, }
View Source
var StandardTalents = &proto.PriestTalents{ InnerFocus: true, Meditation: 3, ShadowAffinity: 3, ImprovedShadowWordPain: 2, ShadowFocus: 3, ImprovedMindBlast: 5, MindFlay: true, ShadowWeaving: 5, VampiricEmbrace: true, FocusedMind: 3, Darkness: 5, Shadowform: true, ShadowPower: 4, Misery: 5, VampiricTouch: true, }
Functions ¶
func RegisterShadowPriest ¶
func RegisterShadowPriest()
Types ¶
type ShadowPriest ¶
type ShadowPriest struct { PrevTicks float64 DPstatH float64 DPstatpH float64 DPstatSp float64 VTstatH float64 VTstatpH float64 VTstatSp float64 *priest.Priest // contains filtered or unexported fields }
func NewShadowPriest ¶
func NewShadowPriest(character core.Character, options *proto.Player) *ShadowPriest
func (*ShadowPriest) BasicMindflayRotation ¶
func (spriest *ShadowPriest) BasicMindflayRotation(sim *core.Simulation, allCDs []time.Duration, gcd time.Duration, tickLength time.Duration) int
Returns the number of MF ticks to use, or 0 to wait for next CD.
func (*ShadowPriest) ClippingMindflayRotation ¶
func (spriest *ShadowPriest) ClippingMindflayRotation(sim *core.Simulation, allCDs []time.Duration, gcd time.Duration, tickLength time.Duration) int
func (*ShadowPriest) GetPriest ¶
func (spriest *ShadowPriest) GetPriest() *priest.Priest
func (*ShadowPriest) IdealMindflayRotation ¶
func (spriest *ShadowPriest) IdealMindflayRotation(sim *core.Simulation, allCDs []time.Duration, gcd time.Duration, tickLength time.Duration, currentWait time.Duration, mfDamage, mbDamage, dpDamage, vtDamage, swdDamage, overwriteDPS float64) int
Returns the number of MF ticks to use, or 0 to wait for next CD.
func (*ShadowPriest) OnGCDReady ¶
func (spriest *ShadowPriest) OnGCDReady(sim *core.Simulation)
func (*ShadowPriest) OnManaTick ¶
func (spriest *ShadowPriest) OnManaTick(sim *core.Simulation)
func (*ShadowPriest) Reset ¶
func (spriest *ShadowPriest) Reset(sim *core.Simulation)
Click to show internal directories.
Click to hide internal directories.