Documentation
¶
Index ¶
- Variables
- func RegisterHunter()
- type APLValueHunterActiveHawks
- type HawkPet
- type Hunter
- func (hunter *Hunter) AddPartyBuffs(_ *proto.PartyBuffs)
- func (hunter *Hunter) AddRaidBuffs(raidBuffs *proto.RaidBuffs)
- func (hunter *Hunter) ApplyTalents()
- func (hunter *Hunter) GetCharacter() *core.Character
- func (hunter *Hunter) GetHunter() *Hunter
- func (hunter *Hunter) Initialize()
- func (hunter *Hunter) NewAPLValue(rot *core.APLRotation, config *proto.APLValue) core.APLValue
- func (hunter *Hunter) NewHunterPet() *HunterPet
- func (hunter *Hunter) OnEncounterStart(sim *core.Simulation)
- func (hunter *Hunter) Reset(_ *core.Simulation)
- func (hunter *Hunter) TryRaptorStrike(sim *core.Simulation, mhSwingSpell *core.Spell) *core.Spell
- type HunterAgent
- type HunterPet
Constants ¶
This section is empty.
Variables ¶
var ItemSetCryptstalkerArmor = core.NewItemSet(core.ItemSet{ Name: "Cryptstalker Armor", ID: 530, Slots: shared.TierThreeSlots, Bonuses: map[int32]core.ApplySetBonus{ 2: shared.ParsedSetBonus(cryptstalkerRapidFire), 4: applyStalkersAlly, 6: func(agent core.Agent, setBonusAura *core.Aura) { character := agent.GetCharacter() manaMetrics := character.NewManaMetrics(core.ActionID{SpellID: cryptstalkerAdrenalineMana.ID}) mana := cryptstalkerAdrenalineMana.EnergizeEffect().Average() trigger := spelldata.ProcTrigger(character, cryptstalkerAdrenalineProc, func(sim *core.Simulation, _ *core.Spell, _ *core.SpellResult) { character.AddMana(sim, mana, manaMetrics) }) trigger.Name = "Cryptstalker Armor - 6PC" trigger.Outcome = core.OutcomeCrit trigger.ClassFlags = core.ClassFlags{} setBonusAura.AttachProcTrigger(trigger) }, 8: shared.ParsedSetBonus(cryptstalkerShotCost), }, })
Tier 3
var ItemSetStrikersGarb = core.NewItemSet(core.ItemSet{ ID: 509, Name: "Striker's Garb", Slots: []proto.ItemSlot{ proto.ItemSlot_ItemSlotHead, proto.ItemSlot_ItemSlotShoulder, proto.ItemSlot_ItemSlotChest, proto.ItemSlot_ItemSlotLegs, proto.ItemSlot_ItemSlotFeet, }, Bonuses: map[int32]core.ApplySetBonus{ 3: shared.ParsedSetBonus(spelldata.MustFind(26173)), 5: shared.ParsedSetBonus(spelldata.MustFind(26174)), }, })
Ruins of Ahn'Qiraj https://www.wowhead.com/forever/item-set=509/strikers-garb
var ItemSetTrappingsOfTheUnseenPath = core.NewItemSet(core.ItemSet{ ID: 510, Name: "Trappings of the Unseen Path", Slots: []proto.ItemSlot{ proto.ItemSlot_ItemSlotBack, proto.ItemSlot_ItemSlotFinger1, proto.ItemSlot_ItemSlotFinger2, proto.ItemSlot_ItemSlotMainHand, proto.ItemSlot_ItemSlotOffHand, }, Bonuses: map[int32]core.ApplySetBonus{ 3: applyBeastOfTheUnseenPath, }, })
Ruins of Ahn'Qiraj https://www.wowhead.com/forever/item-set=510/trappings-of-the-unseen-path
var ItemSetWildstalkerArmor = core.NewItemSet(core.ItemSet{ ID: 2101, Name: "Wildstalker Armor", Slots: []proto.ItemSlot{ proto.ItemSlot_ItemSlotHead, proto.ItemSlot_ItemSlotShoulder, proto.ItemSlot_ItemSlotChest, proto.ItemSlot_ItemSlotHands, proto.ItemSlot_ItemSlotLegs, proto.ItemSlot_ItemSlotFeet, }, Bonuses: map[int32]core.ApplySetBonus{ 2: shared.ParsedSetBonus(spelldata.MustFind(1300945)), 3: shared.ParsedSetBonus(spelldata.MustFind(1301012)), 4: shared.ParsedSetBonus(spelldata.MustFind(1301078)), 5: shared.ParsedSetBonus(spelldata.MustFind(1301252)), }, })
Tier 1 https://www.wowhead.com/forever/item-set=2101/wildstalker-armor
The game files ship four of the six pieces, so the 5-piece bonus waits on the head and chest the ItemSet row lists. The 5-piece's mask names Aimed Shot alone; Multi-Shot shares its cooldown category.
var TalentTreeSizes = [3]int{16, 16, 18}
Functions ¶
func RegisterHunter ¶
func RegisterHunter()
Types ¶
type APLValueHunterActiveHawks ¶
type APLValueHunterActiveHawks struct {
core.DefaultAPLValueImpl
// contains filtered or unexported fields
}
A hawk counts from the moment the dive lands until it leaves or the next one replaces it.
func (*APLValueHunterActiveHawks) GetInt ¶
func (value *APLValueHunterActiveHawks) GetInt(_ *core.Simulation) int32
func (*APLValueHunterActiveHawks) String ¶
func (value *APLValueHunterActiveHawks) String() string
func (*APLValueHunterActiveHawks) Type ¶
func (value *APLValueHunterActiveHawks) Type() proto.APLValueType
type HawkPet ¶
A hawk the dive leaves behind: a guardian with a pet's base stats and swing damage, summoned at the enemy by the cast.
func (*HawkPet) ExecuteCustomRotation ¶
func (hawk *HawkPet) ExecuteCustomRotation(sim *core.Simulation)
A hawk only swings: its rotation sleeps for as long as a hawk can be up.
func (*HawkPet) OnEncounterStart ¶
func (hawk *HawkPet) OnEncounterStart(_ *core.Simulation)
func (*HawkPet) Reset ¶
func (hawk *HawkPet) Reset(_ *core.Simulation)
type Hunter ¶
type Hunter struct {
core.Character
Talents *proto.HunterTalents
Options *proto.HunterOptions
Pet *HunterPet
Hawks []*HawkPet
RapidFire *core.Spell
RaptorStrike *core.Spell
AspectOfTheBeastAura *core.Aura
MongooseBiteAura *core.Aura
// contains filtered or unexported fields
}
func (*Hunter) AddPartyBuffs ¶
func (hunter *Hunter) AddPartyBuffs(_ *proto.PartyBuffs)
func (*Hunter) AddRaidBuffs ¶
func (*Hunter) ApplyTalents ¶
func (hunter *Hunter) ApplyTalents()
func (*Hunter) GetCharacter ¶
func (*Hunter) Initialize ¶
func (hunter *Hunter) Initialize()
func (*Hunter) NewAPLValue ¶
func (*Hunter) NewHunterPet ¶
func (*Hunter) OnEncounterStart ¶
func (hunter *Hunter) OnEncounterStart(sim *core.Simulation)
func (*Hunter) Reset ¶
func (hunter *Hunter) Reset(_ *core.Simulation)
func (*Hunter) TryRaptorStrike ¶
The swing a main-hand auto becomes: the queued Raptor Strike when it can still be cast, the plain swing otherwise.
type HunterAgent ¶
type HunterAgent interface {
GetHunter() *Hunter
}
Agent is a generic way to access underlying hunter on any of the agents.
type HunterPet ¶
func (*HunterPet) ApplyTalents ¶
func (hp *HunterPet) ApplyTalents()
The family's own damage, armor and health, and what Beast Training taught the pet that changes its damage. Great Stamina, Natural Armor, Pet Hardiness and Pet Resistance change nothing the sim measures, and no Beast Training teaching spell in the game files teaches Pet Aggression.
func (*HunterPet) ExecuteCustomRotation ¶
func (hp *HunterPet) ExecuteCustomRotation(sim *core.Simulation)
func (*HunterPet) Initialize ¶
func (hp *HunterPet) Initialize()
func (*HunterPet) OnEncounterStart ¶
func (hp *HunterPet) OnEncounterStart(_ *core.Simulation)
func (*HunterPet) Reset ¶
func (hp *HunterPet) Reset(sim *core.Simulation)
Source Files
¶
- aimed_shot.go
- ammo_auto_gen.go
- apl_values.go
- arcane_shot.go
- aspects.go
- hunter.go
- hunters_mark.go
- item_armor.go
- item_sets.go
- item_trinkets.go
- mongoose_bite.go
- multi_shot.go
- pet_families_auto_gen.go
- pets.go
- rapid_fire.go
- raptor_strike.go
- scorpid_sting.go
- serpent_sting.go
- sniper_shot.go
- spell_data_auto_gen.go
- summon_hawk.go
- talents.go
- talents_beast_mastery.go
- talents_marksmanship.go
- talents_survival.go
- traps.go
- volley.go
- wing_clip.go