@pkmn/randoms 0.5.15 → 0.5.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/gen4.d.ts CHANGED
@@ -10,7 +10,7 @@ export declare class RandomGen4Teams extends RandomGen5Teams {
10
10
  shouldCullAbility(ability: string, types: Set<string>, moves: Set<string>, abilities: Set<string>, counter: MoveCounter, movePool: string[], teamDetails: RandomTeamsTypes.TeamDetails, species: Species): boolean;
11
11
  getHighPriorityItem(ability: string, types: Set<string>, moves: Set<string>, counter: MoveCounter, teamDetails: RandomTeamsTypes.TeamDetails, species: Species, isLead: boolean): string | undefined;
12
12
  getMediumPriorityItem(ability: string, moves: Set<string>, counter: MoveCounter, species: Species, isDoubles: boolean, isLead: boolean): string | undefined;
13
- getLowPriorityItem(ability: string, types: Set<string>, moves: Set<string>, abilities: Set<string>, counter: MoveCounter, teamDetails: RandomTeamsTypes.TeamDetails, species: Species): "Life Orb" | "Leftovers" | "Black Sludge";
13
+ getLowPriorityItem(ability: string, types: Set<string>, moves: Set<string>, abilities: Set<string>, counter: MoveCounter, teamDetails: RandomTeamsTypes.TeamDetails, species: Species): "Leftovers" | "Black Sludge" | "Life Orb";
14
14
  randomSet(species: string | Species, teamDetails?: RandomTeamsTypes.TeamDetails, isLead?: boolean): RandomTeamsTypes.RandomSet;
15
15
  }
16
16
  export default RandomGen4Teams;
package/build/gen8.d.ts CHANGED
@@ -105,7 +105,7 @@ export declare class RandomTeams {
105
105
  shouldCullAbility(ability: string, types: Set<string>, moves: Set<string>, abilities: Set<string>, counter: MoveCounter, movePool: string[], teamDetails: RandomTeamsTypes.TeamDetails, species: Species, isDoubles: boolean, isNoDynamax: boolean): boolean;
106
106
  getHighPriorityItem(ability: string, types: Set<string>, moves: Set<string>, counter: MoveCounter, teamDetails: RandomTeamsTypes.TeamDetails, species: Species, isLead: boolean, isDoubles: boolean): string | undefined;
107
107
  /** Item generation specific to Random Doubles */
108
- getDoublesItem(ability: string, types: Set<string>, moves: Set<string>, abilities: Set<string>, counter: MoveCounter, teamDetails: RandomTeamsTypes.TeamDetails, species: Species): "Heavy-Duty Boots" | "Choice Band" | "Life Orb" | "Sitrus Berry" | "Choice Scarf" | "Choice Specs" | "Blunder Policy" | "Assault Vest" | undefined;
108
+ getDoublesItem(ability: string, types: Set<string>, moves: Set<string>, abilities: Set<string>, counter: MoveCounter, teamDetails: RandomTeamsTypes.TeamDetails, species: Species): "Choice Band" | "Life Orb" | "Choice Specs" | "Sitrus Berry" | "Choice Scarf" | "Assault Vest" | "Heavy-Duty Boots" | "Blunder Policy" | undefined;
109
109
  getMediumPriorityItem(ability: string, moves: Set<string>, counter: MoveCounter, species: Species, isLead: boolean, isDoubles: boolean, isNoDynamax: boolean): string | undefined;
110
110
  getLowPriorityItem(ability: string, types: Set<string>, moves: Set<string>, abilities: Set<string>, counter: MoveCounter, teamDetails: RandomTeamsTypes.TeamDetails, species: Species, isLead: boolean, isDoubles: boolean, isNoDynamax: boolean): string | undefined;
111
111
  randomSet(species: string | Species, teamDetails?: RandomTeamsTypes.TeamDetails, isLead?: boolean, isDoubles?: boolean, isNoDynamax?: boolean): RandomTeamsTypes.RandomSet;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pkmn/randoms",
3
- "version": "0.5.15",
3
+ "version": "0.5.16",
4
4
  "main": "build/index.js",
5
5
  "types": "build/index.d.ts",
6
6
  "description": "Random team generation logic for Pokémon Showdown's Random Battle formats",
@@ -16,7 +16,7 @@
16
16
  "!src/test"
17
17
  ],
18
18
  "dependencies": {
19
- "@pkmn/sim": "^0.5.15"
19
+ "@pkmn/sim": "^0.5.16"
20
20
  },
21
21
  "scripts": {
22
22
  "lint": "eslint --cache src --ext ts",