mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-06-30 21:42:20 +02:00
Re-add public
, remove unnecessary default value in battler-tags.ts
This commit is contained in:
parent
483315895f
commit
95d75b5107
@ -392,7 +392,7 @@ export class GorillaTacticsTag extends MoveRestrictionBattlerTag {
|
||||
* @override
|
||||
* @param source Gorilla Tactics' {@linkcode BattlerTag} information
|
||||
*/
|
||||
override loadTag(source: BattlerTag | any): void {
|
||||
public override loadTag(source: BattlerTag | any): void {
|
||||
super.loadTag(source);
|
||||
this.moveId = source.moveId;
|
||||
}
|
||||
@ -1129,7 +1129,7 @@ export class EncoreTag extends MoveRestrictionBattlerTag {
|
||||
}
|
||||
|
||||
canAdd(pokemon: Pokemon): boolean {
|
||||
const lastMove = pokemon.getLastNonVirtualMove(false);
|
||||
const lastMove = pokemon.getLastNonVirtualMove();
|
||||
if (!lastMove) {
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user