Table of Contents

Class RangedAttack

Namespace
GrindFest
Assembly
GrindFest.dll

Ranged attack skill for bows and crossbows. Two modes through skill system:

  • If no arrow nocked: plays nock animation (allows movement), spawns arrow
  • If arrow nocked: shoots the arrow
public class RangedAttack : SkillBehaviour
Inheritance
object
RangedAttack
Inherited Members

Fields

ArrowProjectilePrefab
NockAnimation
NockDuration

Properties

IsArrowNocked

Is arrow currently nocked and ready to fire?

Range

Methods

CanUse()
Update()
Use()