-
Notifications
You must be signed in to change notification settings - Fork 5
Ability Documentation
TwiliChaos edited this page Jun 2, 2019
·
2 revisions
This page lists methods and fields pertaining to the Ability class that are exposed to other mods. This page is most useful for getting information about an ability's current states and acting on those
| Field | Type | Default Value | Description |
|---|---|---|---|
| States | enum | Possible states the ability can be in. Inactive = 0 Starting = 1 Active = 2 Ending = 3 Failed = 4 |
|
| State | States | States.Inactive | Current state of the ability |
| InUse | bool | false | True if State is neither State.Inactive nor State.Failed, false otherwise |
| Method | Returns | Parameters | Description |
|---|---|---|---|
| IsState | bool | param States[] | True if State is any of the provided States |
| Field | Type | Default Value | Description |
|---|---|---|---|
| Npc | byte | 255 | ID of the NPC that the player is targeting in ChargeDash. 0-199 if a valid NPC, 255 if not targeting any NPCs |
| Field | Type | Default Value | Description |
|---|---|---|---|
| Proj | ModProjectile | null | ModProjectile used by stomp to damage enemies while State is either Active or Ending - Ending makes the projectile significantly larger |