mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-07-02 00:23:57 -05:00
Add id: 8010 to params.json
This commit is contained in:
parent
3d837a95fe
commit
454dc923a4
|
|
@ -1,5 +1,3 @@
|
|||
// xxx: rename file to something more accurate
|
||||
|
||||
import type { Ability, BuildAbilitiesTupleWithUnknown } from "../in-game-lists";
|
||||
import weaponParamsJson from "./weapon-params.json";
|
||||
import abilityValuesJson from "./ability-values.json";
|
||||
|
|
|
|||
|
|
@ -428,12 +428,12 @@
|
|||
"InkConsumeMinCharge_ChargeParam": 0.035
|
||||
},
|
||||
"8010": {
|
||||
"SpecialPoint": 200,
|
||||
"subWeaponId": 2,
|
||||
"specialWeaponId": 3,
|
||||
"internalName": "Saber_Normal",
|
||||
"InkConsume_SwingParam": 0.04,
|
||||
"InkConsumeFullCharge_ChargeParam": 0.09,
|
||||
"SpecialPoint": 180,
|
||||
"subWeaponId": 13,
|
||||
"specialWeaponId": 11,
|
||||
"internalName": "Saber_Lite",
|
||||
"InkConsume_SwingParam": 0.03,
|
||||
"InkConsumeFullCharge_ChargeParam": 0.06,
|
||||
"InkConsumeMinCharge_ChargeParam": 0.035
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
// To run this script you need from https://github.com/Leanny/leanny.github.io
|
||||
// 1) WeaponInfoMain.json inside dicts
|
||||
// 2) WeaponInfoSub.json inside dicts
|
||||
// 3) WeaponInfoMSpecial.json inside dicts
|
||||
// 3) WeaponInfoSpecial.json inside dicts
|
||||
|
||||
// xxx: internal name can be deleted when to prod
|
||||
|
||||
|
|
@ -10,7 +10,6 @@ import {
|
|||
subWeaponIds,
|
||||
mainWeaponIds,
|
||||
} from "~/modules/in-game-lists";
|
||||
// xxx: missing id 8010
|
||||
import weapons from "./dicts/WeaponInfoMain.json";
|
||||
// xxx: for example suction missing ink consume level, ink saver lvl... we are not considering default?
|
||||
import subWeapons from "./dicts/WeaponInfoSub.json";
|
||||
|
|
@ -22,7 +21,7 @@ import type { MainWeaponParams, SubWeaponParams } from "~/modules/analyzer";
|
|||
import type { ParamsJson } from "~/modules/analyzer/types";
|
||||
import { z } from "zod";
|
||||
|
||||
const CURRENT_SEASON = 0;
|
||||
const CURRENT_SEASON = 1;
|
||||
|
||||
type MainWeapon = typeof weapons[number];
|
||||
type SubWeapon = typeof subWeapons[number];
|
||||
|
|
@ -214,6 +213,13 @@ function mainWeaponShouldBeSkipped(weapon: MainWeapon) {
|
|||
|
||||
function subWeaponShouldBeSkipped(subWeapon: SubWeapon) {
|
||||
if (subWeapon.Id === 10000) return true;
|
||||
if (
|
||||
["Mission", "Coop", "Hero", "Rival", "SalmonBuddy"].some((val) =>
|
||||
subWeapon.__RowId.includes(val)
|
||||
)
|
||||
) {
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ import path from "node:path";
|
|||
import invariant from "tiny-invariant";
|
||||
import { LANG_JSONS_TO_CREATE, loadLangDicts } from "./utils";
|
||||
|
||||
const CURRENT_SEASON = 0;
|
||||
const CURRENT_SEASON = 1;
|
||||
const OUTPUT_DIR_PATH = path.join(__dirname, "output");
|
||||
|
||||
const LEAN_HEAD_CODE = "Hed";
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user