Address bertie's review comments

This commit is contained in:
Sirz Benjie 2025-08-18 21:12:38 -05:00
parent 92c7ece725
commit 7207c3b6ab
No known key found for this signature in database
GPG Key ID: 4A524B4D196C759E

View File

@ -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