Update src/data/battler-tags.ts

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
This commit is contained in:
Mumble 2024-09-20 16:53:03 -07:00 committed by GitHub
parent bd8d629155
commit 505db2b504
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2223,7 +2223,7 @@ export class HealBlockTag extends MoveRestrictionBattlerTag {
* @param {Moves} move {@linkcode Moves} the move ID * @param {Moves} move {@linkcode Moves} the move ID
* @param {Pokemon} user {@linkcode Pokemon} the move user * @param {Pokemon} user {@linkcode Pokemon} the move user
* @param {Pokemon} target {@linkcode Pokemon} the target of the move * @param {Pokemon} target {@linkcode Pokemon} the target of the move
* @returns {boolean} the move cannot be used b/c the target is an ally * @returns `true` if the move cannot be used because the target is an ally
*/ */
override isMoveTargetRestricted(move: Moves, user: Pokemon, target: Pokemon) { override isMoveTargetRestricted(move: Moves, user: Pokemon, target: Pokemon) {
const moveCategory = new Utils.IntegerHolder(allMoves[move].category); const moveCategory = new Utils.IntegerHolder(allMoves[move].category);