feral

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var P1Gear = items.EquipmentSpecFromJsonString(`{"items": [
	{
		"id": 40473,
		"enchant": 3817,
		"gems": [
			41398,
			39996
		]
	},
	{
		"id": 44664,
		"gems": [
			39996
		]
	},
	{
		"id": 40494,
		"enchant": 3808,
		"gems": [
			39996
		]
	},
	{
		"id": 40403,
		"enchant": 3605
	},
	{
		"id": 40539,
		"enchant": 3832,
		"gems": [
			39996
		]
	},
	{
		"id": 39765,
		"enchant": 3845,
		"gems": [
			39996,
			0
		]
	},
	{
		"id": 40541,
		"enchant": 3604,
		"gems": [
			0
		]
	},
	{
		"id": 40205,
		"gems": [
			39996
		]
	},
	{
		"id": 44011,
		"enchant": 3823,
		"gems": [
			39996,
			49110
		]
	},
	{
		"id": 40243,
		"enchant": 3606,
		"gems": [
			40014
		]
	},
	{
		"id": 40474
	},
	{
		"id": 40717
	},
	{
		"id": 42987
	},
	{
		"id": 40256
	},
	{
		"id": 40388,
		"enchant": 3789
	},
	{},
	{
		"id": 39757
	}
]}`)
View Source
var PlayerOptionsBearweaveLacerate = &proto.Player_FeralDruid{
	FeralDruid: &proto.FeralDruid{
		Talents: StandardTalents,
		Options: &proto.FeralDruid_Options{
			InnervateTarget: &proto.RaidTarget{TargetIndex: -1},
			LatencyMs:       100,
		},
		Rotation: &proto.FeralDruid_Rotation{
			BearWeaveType:      proto.FeralDruid_Rotation_Lacerate,
			UseRake:            true,
			UseBite:            true,
			MinCombosForRip:    5,
			MinCombosForBite:   5,
			BiteTime:           10.0,
			MaintainFaerieFire: true,
			BerserkBiteThresh:  30.0,
			MaxRoarOffset:      14.0,
		},
	},
}
View Source
var StandardTalents = &proto.DruidTalents{
	Ferocity:                5,
	FeralInstinct:           3,
	SavageFury:              2,
	FeralSwiftness:          2,
	SurvivalInstincts:       true,
	SharpenedClaws:          3,
	ShreddingAttacks:        2,
	PredatoryStrikes:        3,
	PrimalFury:              2,
	PrimalPrecision:         2,
	HeartOfTheWild:          5,
	SurvivalOfTheFittest:    3,
	LeaderOfThePack:         true,
	ImprovedLeaderOfThePack: 2,
	ProtectorOfThePack:      2,
	PredatoryInstincts:      3,
	KingOfTheJungle:         3,
	Mangle:                  true,
	RendAndTear:             5,
	PrimalGore:              true,
	Berserk:                 true,
	ImprovedMarkOfTheWild:   2,
	Furor:                   5,
	Naturalist:              5,
	NaturalShapeshifter:     3,
	MasterShapeshifter:      2,
	OmenOfClarity:           true,
}

Functions

func RegisterFeralDruid

func RegisterFeralDruid()

Types

type FeralDruid

type FeralDruid struct {
	*druid.Druid

	Rotation FeralDruidRotation
	// contains filtered or unexported fields
}

func NewFeralDruid

func NewFeralDruid(character core.Character, options *proto.Player) *FeralDruid

func (*FeralDruid) GetDruid

func (cat *FeralDruid) GetDruid() *druid.Druid

func (*FeralDruid) Initialize

func (cat *FeralDruid) Initialize()

func (*FeralDruid) MissChance

func (cat *FeralDruid) MissChance() float64

func (*FeralDruid) OnAutoAttack

func (cat *FeralDruid) OnAutoAttack(sim *core.Simulation, spell *core.Spell)

func (*FeralDruid) OnEnergyGain

func (cat *FeralDruid) OnEnergyGain(sim *core.Simulation)

func (*FeralDruid) OnGCDReady

func (cat *FeralDruid) OnGCDReady(sim *core.Simulation)

func (*FeralDruid) Reset

func (cat *FeralDruid) Reset(sim *core.Simulation)

type FeralDruidRotation

type FeralDruidRotation struct {
	BearweaveType      proto.FeralDruid_Rotation_BearweaveType
	MaintainFaerieFire bool
	MinCombosForRip    int32
	UseRake            bool
	UseBite            bool
	BiteTime           time.Duration
	MinCombosForBite   int32
	MangleSpam         bool
	BerserkBiteThresh  float64
	Powerbear          bool
	MaxRoarOffset      time.Duration
	RevitFreq          float64
	LacerateTime       time.Duration
}

Jump to

Keyboard shortcuts

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