reactable

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const ZeroDur core.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 core.EleType, src int, lvl int, em float64, expiry int) *CrystallizeShield

func (*CrystallizeShield) OnDamage

func (c *CrystallizeShield) OnDamage(dmg float64, ele core.EleType, bonus float64) (float64, bool)

type Reactable

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

func (*Reactable) ActiveAuraString

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

func (*Reactable) AuraContains

func (r *Reactable) AuraContains(e ...core.EleType) bool

func (*Reactable) AuraType

func (r *Reactable) AuraType() core.EleType

func (*Reactable) Init

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

func (*Reactable) React

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

func (*Reactable) ShatterCheck

func (r *Reactable) ShatterCheck(a *core.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