mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-17 13:52:18 +02:00
Re-add DamageProtectedTag to relevant inheritance chains
This commit is contained in:
parent
9904ecc6b0
commit
92c8349317
@ -1618,9 +1618,6 @@ export class ProtectedTag extends BattlerTag {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Base class for `BattlerTag`s that block damaging moves but not status moves */
|
|
||||||
export class DamageProtectedTag extends ProtectedTag {}
|
|
||||||
|
|
||||||
/** Class for `BattlerTag`s that apply some effect when hit by a contact move */
|
/** Class for `BattlerTag`s that apply some effect when hit by a contact move */
|
||||||
export class ContactProtectedTag extends ProtectedTag {
|
export class ContactProtectedTag extends ProtectedTag {
|
||||||
/**
|
/**
|
||||||
@ -1693,7 +1690,10 @@ export class ContactDamageProtectedTag extends ContactProtectedTag {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
export class ContactSetStatusProtectedTag extends ContactProtectedTag {
|
/** Base class for `BattlerTag`s that block damaging moves but not status moves */
|
||||||
|
export class DamageProtectedTag extends ContactProtectedTag {}
|
||||||
|
|
||||||
|
export class ContactSetStatusProtectedTag extends DamageProtectedTag {
|
||||||
/**
|
/**
|
||||||
* @param sourceMove The move that caused the tag to be applied
|
* @param sourceMove The move that caused the tag to be applied
|
||||||
* @param tagType The type of the tag
|
* @param tagType The type of the tag
|
||||||
@ -1721,7 +1721,7 @@ export class ContactSetStatusProtectedTag extends ContactProtectedTag {
|
|||||||
* `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}
|
* Used by {@linkcode Moves.KINGS_SHIELD}, {@linkcode Moves.OBSTRUCT}, {@linkcode Moves.SILK_TRAP}
|
||||||
*/
|
*/
|
||||||
export class ContactStatStageChangeProtectedTag extends ContactProtectedTag {
|
export class ContactStatStageChangeProtectedTag extends DamageProtectedTag {
|
||||||
private stat: BattleStat;
|
private stat: BattleStat;
|
||||||
private levels: number;
|
private levels: number;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user