Removed getPregenArgs

This commit is contained in:
Bertie690 2025-08-07 13:39:30 -04:00
parent 6a097ebb5e
commit 0d6d00a8ef

View File

@ -115,6 +115,7 @@ export abstract class Reward {
return i18next.t(`${this.localeKey}.name`);
}
// TODO: These should be getters
getDescription(): string {
return i18next.t(`${this.localeKey}.description`);
}
@ -440,11 +441,6 @@ export class ChangeTeraTypeReward extends PokemonReward {
});
}
// TODO: What is this for?
getPregenArgs(): any[] {
return [this.teraType];
}
/**
* Checks if {@linkcode TerrastalizeConsumable} should be applied
* @param playerPokemon The {@linkcode PlayerPokemon} that consumes the item
@ -936,10 +932,6 @@ export class AttackTypeBoosterReward extends HeldItemReward {
this.moveType = moveType;
this.boostPercent = boostPercent;
}
getPregenArgs(): any[] {
return [this.moveType];
}
}
function incrementLevelWithCandy(pokemon: Pokemon): boolean {
@ -1115,10 +1107,6 @@ export class EvolutionItemReward extends PokemonReward {
return i18next.t("modifierType:ModifierType.EvolutionItemModifierType.description");
}
getPregenArgs(): any[] {
return [this.evolutionItem];
}
/**
* Applies {@linkcode EvolutionItemConsumable}
* @param playerPokemon The {@linkcode PlayerPokemon} that should evolve via item