Documentation ¶
Index ¶
- Constants
- type CrystallizeShield
- type Reactable
- func (r *Reactable) ActiveAuraString() []string
- func (r *Reactable) AuraContains(e ...attributes.Element) bool
- func (r *Reactable) AuraType() attributes.Element
- func (r *Reactable) Init(self combat.Target, c *core.Core) *Reactable
- func (r *Reactable) React(a *combat.AttackEvent)
- func (r *Reactable) ShatterCheck(a *combat.AttackEvent)
- func (r *Reactable) Tick()
Constants ¶
View Source
const ZeroDur combat.Durability = 0.00000000001
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CrystallizeShield ¶
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 (*Reactable) AuraContains ¶
func (r *Reactable) AuraContains(e ...attributes.Element) bool
func (*Reactable) AuraType ¶
func (r *Reactable) AuraType() attributes.Element
func (*Reactable) React ¶
func (r *Reactable) React(a *combat.AttackEvent)
func (*Reactable) ShatterCheck ¶
func (r *Reactable) ShatterCheck(a *combat.AttackEvent)
Click to show internal directories.
Click to hide internal directories.