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
|
* @override
|
||||||
* @param source Gorilla Tactics' {@linkcode BattlerTag} information
|
* @param source Gorilla Tactics' {@linkcode BattlerTag} information
|
||||||
*/
|
*/
|
||||||
override loadTag(source: BattlerTag | any): void {
|
public override loadTag(source: BattlerTag | any): void {
|
||||||
super.loadTag(source);
|
super.loadTag(source);
|
||||||
this.moveId = source.moveId;
|
this.moveId = source.moveId;
|
||||||
}
|
}
|
||||||
@ -1129,7 +1129,7 @@ export class EncoreTag extends MoveRestrictionBattlerTag {
|
|||||||
}
|
}
|
||||||
|
|
||||||
canAdd(pokemon: Pokemon): boolean {
|
canAdd(pokemon: Pokemon): boolean {
|
||||||
const lastMove = pokemon.getLastNonVirtualMove(false);
|
const lastMove = pokemon.getLastNonVirtualMove();
|
||||||
if (!lastMove) {
|
if (!lastMove) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user