Module necro.game.system.Ability
Functions
checkGameplayAction (playerID, actionID, args) | |
getActionFlags (actionID) |
Tables
Flag | |
Type |
Functions
- checkGameplayAction (playerID, actionID, args)
-
Parameters:
- playerID
- actionID
- args
- getActionFlags (actionID)
-
Parameters:
- actionID
Tables
- Flag
-
Fields:
- BEATMAP
1
- Checks the beatmap before performing the action, snapping it to the next beat or failing it if the input was too early after the most recent beat. Unsetting this bit allows the action to be inserted between beats on the beatmap, and does not count as a full beat, preventing the beatmap's counter from being advanced. Checked only on the client-side for local players. - IGNORE_ACTION
2
- If set, the input does not affect the beatmap and is not sent across the network. Checked only on the client-side for local players. - ACTIVATE_OBJECT
4
- Sets the player's "gameObject.active" attribute, allowing all nearby entities to act. - PREEMPT_DELAYS
8
- Runs any pending delays for this player immediately. - ACTION_QUEUE
16
- Performs the action within the turn's player action queue, sorted by sub-beat timing. - CHECK_BEAT_DELAY
32
- Suppresses the action if a beat delay is currently active. - CHECK_STUN
64
- Suppresses the action if the entity is currently stunned. - OVERRIDABLE
128
- Overrides the action if the entity is currently sliding or charging. - BEGIN_BOSS_LEVEL
256
- Dismisses the boss screen splash and allows enemies in the pre-boss room to move
- BEATMAP
- Type
-
Fields:
- SYSTEM
0
- System actions do not have any special properties - DIRECTION
509
- Default flags for directions - SPECIAL
501
- Default flags for special actions - IDLE
245
- Default flags for idling - DEFAULT
501
- Default flags for custom actions - SUB_BEAT
16
- Default flags for sub-beat actions (special abilities that do not consume a turn)
- SYSTEM