mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-24 00:09:31 +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
|
||||
* @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) {
|
||||
const moveType = args[0] as Utils.NumberHolder;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user