mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-28 11:12:24 +02:00
fix: HeldItemTransferModifier.apply missing ...args: unknown[]
This commit is contained in:
parent
d2a59f4b7c
commit
a229cfb916
@ -3015,9 +3015,10 @@ export abstract class HeldItemTransferModifier extends PokemonHeldItemModifier {
|
|||||||
* Steals an item from a set of target Pokemon.
|
* Steals an item from a set of target Pokemon.
|
||||||
* This prioritizes high-tier held items when selecting the item to steal.
|
* This prioritizes high-tier held items when selecting the item to steal.
|
||||||
* @param pokemon The {@linkcode Pokemon} holding this item
|
* @param pokemon The {@linkcode Pokemon} holding this item
|
||||||
|
* @param _args N/A
|
||||||
* @returns `true` if an item was stolen; false otherwise.
|
* @returns `true` if an item was stolen; false otherwise.
|
||||||
*/
|
*/
|
||||||
override apply(pokemon: Pokemon): boolean {
|
override apply(pokemon: Pokemon, ..._args: unknown[]): boolean {
|
||||||
const opponents = this.getTargets(pokemon);
|
const opponents = this.getTargets(pokemon);
|
||||||
|
|
||||||
if (!opponents.length) {
|
if (!opponents.length) {
|
||||||
|
Loading…
Reference in New Issue
Block a user