Class BlockSkill
- Namespace
- GrindFest
- Assembly
- GrindFest.dll
public class BlockSkill : ActiveSkill
- Inheritance
-
objectBlockSkill
- Inherited Members
Fields
Properties
- IsBlocking
Whether the stance is actually up. It is set only after the start-up animation has played (
Usewaits for it first), so "the skill is currently used" is not the same thing as "this character is blocking" - anything that has to wait for a block instead of guessing at animation length needs this. It also makes a silent failure visible: if the block transition asset fails to load,Usereturns before ever setting it, and the skill looks active while absorbing nothing at all.
Methods
- CanUse()
Can this skill be used right now? Buffs and passives override this away.
- OnRemoved()
Equipment swapped in for the skill is restored when the skill ends.