infusion

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2022 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

View Source
const MaxTeamSize = 4

Variables

This section is empty.

Functions

This section is empty.

Types

type InfusionHandler

type InfusionHandler struct {
	// contains filtered or unexported fields
}

func New

func New(f *int, log glog.Logger, debug bool) InfusionHandler

func (*InfusionHandler) AddWeaponInfuse

func (i *InfusionHandler) AddWeaponInfuse(char int, key string, ele attributes.Element, dur int, canBeOverriden bool, tags ...combat.AttackTag)

func (*InfusionHandler) ExtendInfusion

func (i *InfusionHandler) ExtendInfusion(char int, factor, dur float64)

func (*InfusionHandler) Infused

func (i *InfusionHandler) Infused(char int, a combat.AttackTag) attributes.Element

func (*InfusionHandler) WeaponInfuseIsActive

func (i *InfusionHandler) WeaponInfuseIsActive(char int, key string) bool

type WeaponInfusion

type WeaponInfusion struct {
	Key             string
	Ele             attributes.Element
	Tags            []combat.AttackTag
	Expiry          float64
	CanBeOverridden bool
}

Jump to

Keyboard shortcuts

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