reactable

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2022 License: MIT Imports: 8 Imported by: 6

Documentation

Index

Constants

View Source
const ZeroDur combat.Durability = 0.00000000001

Variables

This section is empty.

Functions

This section is empty.

Types

type CrystallizeShield

type CrystallizeShield struct {
	*shield.Tmpl
	// contains filtered or unexported fields
}

func NewCrystallizeShield

func NewCrystallizeShield(typ attributes.Element, src int, lvl int, em float64, expiry int) *CrystallizeShield

func (*CrystallizeShield) OnDamage

func (c *CrystallizeShield) OnDamage(dmg float64, ele attributes.Element, bonus float64) (float64, bool)

type Reactable

type Reactable struct {
	Durability []combat.Durability
	DecayRate  []combat.Durability
	// contains filtered or unexported fields
}

func (*Reactable) ActiveAuraString

func (r *Reactable) ActiveAuraString() []string

func (*Reactable) AuraContains

func (r *Reactable) AuraContains(e ...attributes.Element) bool

func (*Reactable) AuraType

func (r *Reactable) AuraType() attributes.Element

func (*Reactable) Init

func (r *Reactable) Init(self combat.Target, c *core.Core) *Reactable

func (*Reactable) React

func (r *Reactable) React(a *combat.AttackEvent)

func (*Reactable) ShatterCheck

func (r *Reactable) ShatterCheck(a *combat.AttackEvent)

func (*Reactable) Tick

func (r *Reactable) Tick()

Jump to

Keyboard shortcuts

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