mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-19 06:42:20 +02:00
List relevant moves in tsdocs
This commit is contained in:
parent
38b4d3ddc8
commit
1cf4b28051
@ -1301,7 +1301,10 @@ export class ProtectedTag extends BattlerTag {
|
|||||||
/** Base class for `BattlerTag`s that block damaging moves but not status moves */
|
/** Base class for `BattlerTag`s that block damaging moves but not status moves */
|
||||||
export class DamageProtectedTag extends ProtectedTag {}
|
export class DamageProtectedTag extends ProtectedTag {}
|
||||||
|
|
||||||
/** `BattlerTag` class for moves that block damaging moves damage the enemy if the enemy's move makes contact */
|
/**
|
||||||
|
* `BattlerTag` class for moves that block damaging moves damage the enemy if the enemy's move makes contact
|
||||||
|
* Used by {@linkcode Moves.SPIKY_SHIELD}
|
||||||
|
*/
|
||||||
export class ContactDamageProtectedTag extends ProtectedTag {
|
export class ContactDamageProtectedTag extends ProtectedTag {
|
||||||
private damageRatio: number;
|
private damageRatio: number;
|
||||||
|
|
||||||
@ -1337,7 +1340,10 @@ export class ContactDamageProtectedTag extends ProtectedTag {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/** `BattlerTag` class for moves that block damaging moves and lower enemy stats if the enemy's move makes contact */
|
/**
|
||||||
|
* `BattlerTag` class for moves that block damaging moves and lower enemy stats if the enemy's move makes contact
|
||||||
|
* Used by {@linkcode Moves.KINGS_SHIELD}, {@linkcode Moves.OBSTRUCT}, {@linkcode Moves.SILK_TRAP}
|
||||||
|
*/
|
||||||
export class ContactStatStageChangeProtectedTag extends DamageProtectedTag {
|
export class ContactStatStageChangeProtectedTag extends DamageProtectedTag {
|
||||||
private stat: BattleStat;
|
private stat: BattleStat;
|
||||||
private levels: number;
|
private levels: number;
|
||||||
@ -1394,7 +1400,10 @@ export class ContactPoisonProtectedTag extends ProtectedTag {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/** `BattlerTag` class for moves that block damaging moves and burn the enemy if the enemy's move makes contact */
|
/**
|
||||||
|
* `BattlerTag` class for moves that block damaging moves and burn the enemy if the enemy's move makes contact
|
||||||
|
* Used by {@linkcode Moves.BURNING_BULWARK}
|
||||||
|
*/
|
||||||
export class ContactBurnProtectedTag extends DamageProtectedTag {
|
export class ContactBurnProtectedTag extends DamageProtectedTag {
|
||||||
constructor(sourceMove: Moves) {
|
constructor(sourceMove: Moves) {
|
||||||
super(sourceMove, BattlerTagType.BURNING_BULWARK);
|
super(sourceMove, BattlerTagType.BURNING_BULWARK);
|
||||||
|
Loading…
Reference in New Issue
Block a user