mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-19 22:09:27 +02:00
Address bertie's review comments
This commit is contained in:
parent
92c7ece725
commit
7207c3b6ab
@ -122,11 +122,12 @@ export abstract class Move implements Localizable {
|
|||||||
* @remarks
|
* @remarks
|
||||||
* These are the default conditions checked during the move effect phase (aka sequence 4).
|
* These are the default conditions checked during the move effect phase (aka sequence 4).
|
||||||
* When adding a new condition, if unsure of where it occurs in the failure checks, it should go here.
|
* When adding a new condition, if unsure of where it occurs in the failure checks, it should go here.
|
||||||
* @remarks Different from {@linkcode restrictions}, which is checked when the move is selected
|
*
|
||||||
|
* Different from {@linkcode restrictions}, which are checked when the move is selected
|
||||||
*/
|
*/
|
||||||
private conditions: MoveCondition[] = [];
|
private conditions: MoveCondition[] = [];
|
||||||
/**
|
/**
|
||||||
* Move failure conditions that occur during the second sequence (after move message and before )
|
* Move failure conditions that occur during the second sequence (after move message but before the move is recorded as the last move used)
|
||||||
*/
|
*/
|
||||||
private conditionsSeq2: MoveCondition[] = [];
|
private conditionsSeq2: MoveCondition[] = [];
|
||||||
/**
|
/**
|
||||||
@ -695,7 +696,7 @@ export abstract class Move implements Localizable {
|
|||||||
* Sets the {@linkcode MoveFlags.GRAVITY} flag for the calling Move and adds {@linkcode GravityUseRestriction} to the
|
* Sets the {@linkcode MoveFlags.GRAVITY} flag for the calling Move and adds {@linkcode GravityUseRestriction} to the
|
||||||
* move's restrictions.
|
* move's restrictions.
|
||||||
*
|
*
|
||||||
* @returns The {@linkcode Move} that called this function
|
* @returns `this`
|
||||||
*
|
*
|
||||||
* @remarks
|
* @remarks
|
||||||
* No {@linkcode condition} is added, as gravity's condition is already checked
|
* No {@linkcode condition} is added, as gravity's condition is already checked
|
||||||
|
Loading…
Reference in New Issue
Block a user