mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-24 08:19:33 +02:00
add override keyword
This commit is contained in:
parent
2205ccf2ec
commit
cfb005330d
@ -4003,7 +4003,7 @@ export class TeraStarstormTypeAttr extends VariableMoveTypeAttr {
|
|||||||
* @param args[0] {@linkcode Utils.NumberHolder} the move type
|
* @param args[0] {@linkcode Utils.NumberHolder} the move type
|
||||||
* @returns `true` if the move type is changed to {@linkcode Type.STELLAR}, `false` otherwise
|
* @returns `true` if the move type is changed to {@linkcode Type.STELLAR}, `false` otherwise
|
||||||
*/
|
*/
|
||||||
apply(user: Pokemon, target: Pokemon, move: Move, args: any[]): boolean {
|
override apply(user: Pokemon, target: Pokemon, move: Move, args: any[]): boolean {
|
||||||
if (user.isTerastallized() && user.species.speciesId === Species.TERAPAGOS) {
|
if (user.isTerastallized() && user.species.speciesId === Species.TERAPAGOS) {
|
||||||
const moveType = args[0] as Utils.NumberHolder;
|
const moveType = args[0] as Utils.NumberHolder;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user