diff --git a/calc/src/test/helper.ts b/calc/src/test/helper.ts index 5b6428b3..bd1e2349 100644 --- a/calc/src/test/helper.ts +++ b/calc/src/test/helper.ts @@ -87,12 +87,12 @@ export function tests(...args: any[]) { let type: 'skip' | 'only' | undefined = undefined; if (typeof args[1] !== 'number') { from = 1; - to = 8; + to = 9; fn = args[1]; type = args[2]; } else if (typeof args[2] !== 'number') { from = args[1] as I.GenerationNum ?? 1; - to = 8; + to = 9; fn = args[2]; type = args[3]; } else { diff --git a/dist/calc/items.d.ts b/dist/calc/items.d.ts index 3b5b02f3..4a8b9860 100644 --- a/dist/calc/items.d.ts +++ b/dist/calc/items.d.ts @@ -2,12 +2,12 @@ import { Generation, TypeName, StatID } from './data/interface'; export declare const SEED_BOOSTED_STAT: { [item: string]: StatID; }; -export declare function getItemBoostType(item: string | undefined): "Electric" | "Psychic" | "Normal" | "Fighting" | "Flying" | "Poison" | "Ground" | "Rock" | "Bug" | "Ghost" | "Steel" | "Fire" | "Water" | "Grass" | "Ice" | "Dragon" | "Dark" | "Fairy" | undefined; -export declare function getBerryResistType(berry: string | undefined): "Electric" | "Psychic" | "Normal" | "Fighting" | "Flying" | "Poison" | "Ground" | "Rock" | "Bug" | "Ghost" | "Steel" | "Fire" | "Water" | "Grass" | "Ice" | "Dragon" | "Dark" | "Fairy" | undefined; -export declare function getFlingPower(item?: string): 0 | 10 | 30 | 100 | 40 | 60 | 50 | 85 | 20 | 130 | 110 | 95 | 90 | 80 | 70; +export declare function getItemBoostType(item: string | undefined): "Normal" | "Fighting" | "Flying" | "Poison" | "Ground" | "Rock" | "Bug" | "Ghost" | "Steel" | "Fire" | "Water" | "Grass" | "Electric" | "Psychic" | "Ice" | "Dragon" | "Dark" | "Fairy" | undefined; +export declare function getBerryResistType(berry: string | undefined): "Normal" | "Fighting" | "Flying" | "Poison" | "Ground" | "Rock" | "Bug" | "Ghost" | "Steel" | "Fire" | "Water" | "Grass" | "Electric" | "Psychic" | "Ice" | "Dragon" | "Dark" | "Fairy" | undefined; +export declare function getFlingPower(item?: string): 0 | 100 | 10 | 30 | 40 | 60 | 50 | 85 | 20 | 130 | 110 | 95 | 90 | 80 | 70; export declare function getNaturalGift(gen: Generation, item: string): { t: TypeName; p: number; }; -export declare function getTechnoBlast(item: string): "Electric" | "Fire" | "Water" | "Ice" | undefined; +export declare function getTechnoBlast(item: string): "Fire" | "Water" | "Electric" | "Ice" | undefined; export declare function getMultiAttack(item: string): TypeName | undefined; diff --git a/dist/calc/test/helper.js b/dist/calc/test/helper.js index a8b58800..8f1406ec 100644 --- a/dist/calc/test/helper.js +++ b/dist/calc/test/helper.js @@ -77,13 +77,13 @@ function tests() { var type = undefined; if (typeof args[1] !== 'number') { from = 1; - to = 8; + to = 9; fn = args[1]; type = args[2]; } else if (typeof args[2] !== 'number') { from = (_a = args[1]) !== null && _a !== void 0 ? _a : 1; - to = 8; + to = 9; fn = args[2]; type = args[3]; } diff --git a/dist/index.html b/dist/index.html index 6a468a66..4da852b7 100644 --- a/dist/index.html +++ b/dist/index.html @@ -775,18 +775,6 @@