Add doc of return value of tag lapse

This commit is contained in:
Jakub Hanko 2024-05-19 21:25:20 +02:00
parent 9cc3e98d59
commit badce42d89
No known key found for this signature in database
GPG Key ID: 775D427937A306CC

View File

@ -271,7 +271,7 @@ export class DestinyBondTag extends BattlerTag {
*
* @param {Pokemon} pokemon Pokemon that is attacking the Destiny Bond user.
* @param {BattlerTagLapseType} lapseType CUSTOM or PRE_MOVE
* @returns
* @returns false if the tag source fainted or one turn has passed since the application
*/
lapse(pokemon: Pokemon, lapseType: BattlerTagLapseType): boolean {
if (lapseType !== BattlerTagLapseType.CUSTOM) {