Table of Contents

Class Buff

Namespace
GrindFest
Assembly
GrindFest.dll

A temporary effect. Ticked centrally by SkillUserBehaviour — there is no per-buff Update() and no GameObject.

public abstract class Buff : Skill
Inheritance
object
Buff
Derived
Inherited Members

Fields

StackCount
durationSeconds

How long the buff lasts. A field, not a property, because whoever applies the buff sets it — the old code patched this on the shared prefab before spawning it.

Properties

Duration
IsHidden
MaxStacks
MovementInterrupts

Methods

OnAdded()
Reapply()

Application of an already-present buff, mirroring the old AddSkill merge behaviour.

Stack()

A fresh application of the same buff: refresh the timer, stack when allowed.

Tick(float)