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
-
objectBuff
- Derived
- Inherited Members
Fields
- 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
Methods
- 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.