mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-03-21 17:25:10 -05:00
Move zBrokeProtect to ActiveMove
This commit is contained in:
parent
68e81c8c72
commit
1de5e74a9a
|
|
@ -552,6 +552,11 @@ interface ActiveMove extends Effect, MoveData {
|
|||
statusRoll?: string
|
||||
totalDamage?: number | false
|
||||
willChangeForme?: boolean
|
||||
/**
|
||||
* Whether or not this move is a Z-Move that broke protect
|
||||
* (affects damage calculation).
|
||||
* @type {boolean}
|
||||
*/
|
||||
zBrokeProtect?: boolean
|
||||
/**
|
||||
* Has this move been boosted by a Z-crystal? Usually the same as
|
||||
|
|
|
|||
|
|
@ -1031,13 +1031,6 @@ class Move extends Effect {
|
|||
*/
|
||||
this.isZ = this.isZ || false;
|
||||
|
||||
/**
|
||||
* Whether or not this move is a Z-Move that broke protect
|
||||
* (affects damage calculation).
|
||||
* @type {boolean}
|
||||
*/
|
||||
this.zBrokeProtect = !!this.zBrokeProtect;
|
||||
|
||||
/**
|
||||
* @type {MoveFlags}
|
||||
* @readonly
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user