mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-29 10:49:29 +02:00
Update src/data/battler-tags.ts
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
This commit is contained in:
parent
53766052c2
commit
8360098bb4
@ -2215,7 +2215,7 @@ export class HealBlockTag extends MoveRestrictionBattlerTag {
|
|||||||
/**
|
/**
|
||||||
* Checks if a move is disabled under Heal Block
|
* Checks if a move is disabled under Heal Block
|
||||||
* @param {Moves} move {@linkcode Moves} the move ID
|
* @param {Moves} move {@linkcode Moves} the move ID
|
||||||
* @returns {boolean} T/F if the move has a TRIAGE_MOVE flag and is a status move
|
* @returns `true` if the move has a TRIAGE_MOVE flag and is a status move
|
||||||
*/
|
*/
|
||||||
override isMoveRestricted(move: Moves): boolean {
|
override isMoveRestricted(move: Moves): boolean {
|
||||||
if (allMoves[move].hasFlag(MoveFlags.TRIAGE_MOVE) && allMoves[move].category === MoveCategory.STATUS) {
|
if (allMoves[move].hasFlag(MoveFlags.TRIAGE_MOVE) && allMoves[move].category === MoveCategory.STATUS) {
|
||||||
|
Loading…
Reference in New Issue
Block a user