mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-17 13:52:18 +02:00
Add doc of return value of tag lapse
This commit is contained in:
parent
9cc3e98d59
commit
badce42d89
@ -271,7 +271,7 @@ export class DestinyBondTag extends BattlerTag {
|
|||||||
*
|
*
|
||||||
* @param {Pokemon} pokemon Pokemon that is attacking the Destiny Bond user.
|
* @param {Pokemon} pokemon Pokemon that is attacking the Destiny Bond user.
|
||||||
* @param {BattlerTagLapseType} lapseType CUSTOM or PRE_MOVE
|
* @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 {
|
lapse(pokemon: Pokemon, lapseType: BattlerTagLapseType): boolean {
|
||||||
if (lapseType !== BattlerTagLapseType.CUSTOM) {
|
if (lapseType !== BattlerTagLapseType.CUSTOM) {
|
||||||
|
Loading…
Reference in New Issue
Block a user