Table of Contents

Class Spell

Namespace
GrindFest
Assembly
GrindFest.dll

A castable spell: adds cast time, mana (or rune/reagent) cost and the spellbook requirement.

public abstract class Spell : ActiveSkill
Inheritance
object
Spell
Derived
Inherited Members

Properties

CastAnimation

Cast animation, taken from this spell's own data asset, once AcquireCastAnimation() has it.

CastAnimationAddress

Addressables address of the Animancer.ClipTransitionAsset holding this spell's cast animation. Fade durations and speeds live inside that asset, so the class only has to name it.

CastTime

Seconds the cast takes. 0 means instant.

Category
Element

Element used for casting requirements (spellbook) and damage.

IntelligenceBonusPercentage
ManaCost

Mana consumed per cast, when the character casts from mana.

Methods

AcquireCastAnimation()
CanUse()

Can this skill be used right now? Buffs and passives override this away.

Cast()

The spell's effect. Override this instead of Use() when possible.

Fizzle()
Use()
WaitForCastAnimationEvent(string)

Plays the cast animation and waits for the moment the spell actually fires.