Add session scores
This commit is contained in:
1 parent
dd03be2646
commit
0701598be6
7 files changed
+95
-24
No files matched your search
@@ -495,6 +495,10 @@ export abstract class PokemonHeldItemModifier extends PersistentModifier {
|
||||
return scene.getPokemonById(this.pokemonId);
|
||||
}
|
||||
|
||||
getScoreMultiplier(): number {
|
||||
return 1;
|
||||
}
|
||||
|
||||
getMaxStackCount(scene: BattleScene, forThreshold?: boolean): integer {
|
||||
const pokemon = this.getPokemon(scene);
|
||||
if (!pokemon)
|
||||
@@ -585,6 +589,14 @@ export class TerastallizeModifier extends LapsingPokemonHeldItemModifier {
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
||||
getTransferrable(withinParty: boolean): boolean {
|
||||
return false;
|
||||
}
|
||||
|
||||
getScoreMultiplier(): number {
|
||||
return 1.25;
|
||||
}
|
||||
|
||||
getMaxHeldItemCount(pokemon: Pokemon): integer {
|
||||
return 1;
|
||||
@@ -627,6 +639,10 @@ export class PokemonBaseStatModifier extends PokemonHeldItemModifier {
|
||||
return false;
|
||||
}
|
||||
|
||||
getScoreMultiplier(): number {
|
||||
return 1.1;
|
||||
}
|
||||
|
||||
getMaxHeldItemCount(pokemon: Pokemon): integer {
|
||||
return pokemon.ivs[this.stat];
|
||||
}
|
||||
@@ -668,6 +684,10 @@ export class AttackTypeBoosterModifier extends PokemonHeldItemModifier {
|
||||
return true;
|
||||
}
|
||||
|
||||
getScoreMultiplier(): number {
|
||||
return 1.2;
|
||||
}
|
||||
|
||||
getMaxHeldItemCount(pokemon: Pokemon): integer {
|
||||
return 10;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user