testhelper

package
v1.3.5 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type Character

type Character struct {
	*character.CharWrapper
}

func (*Character) ActionReady

func (c *Character) ActionReady(a action.Action, p map[string]int) (bool, action.ActionFailure)

func (*Character) ActionStam

func (c *Character) ActionStam(a action.Action, p map[string]int) float64

func (*Character) Charges

func (c *Character) Charges(a action.Action) int

func (*Character) Cooldown

func (c *Character) Cooldown(a action.Action) int

func (*Character) Init

func (c *Character) Init() error

func (*Character) ReduceActionCooldown

func (c *Character) ReduceActionCooldown(a action.Action, v int)

func (*Character) ResetActionCooldown

func (c *Character) ResetActionCooldown(a action.Action)

func (*Character) SetCD

func (c *Character) SetCD(a action.Action, dur int)

func (*Character) SetCDWithDelay

func (h *Character) SetCDWithDelay(a action.Action, dur int, delay int)

func (*Character) Snapshot

func (c *Character) Snapshot(a *combat.AttackInfo) combat.Snapshot

type Weapon

type Weapon struct {
	Index int
}

func (*Weapon) Init

func (b *Weapon) Init() error

func (*Weapon) SetIndex

func (b *Weapon) SetIndex(idx int)

Jump to

Keyboard shortcuts

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