Skip to content

Commit

Permalink
removed temp fix for Kestrel
Browse files Browse the repository at this point in the history
  • Loading branch information
ofcoursenopewastaken committed Aug 19, 2024
1 parent 64c3a74 commit 5376084
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 18 deletions.
Binary file modified bun.lockb
Binary file not shown.
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@
},
"dependencies": {
"@sveltejs/adapter-static": "^3.0.2",
"@sveltejs/kit": "^2.5.18",
"@sveltejs/kit": "^2.5.20",
"@sveltejs/vite-plugin-svelte": "^3.1.1",
"@tailwindcss/vite": "^4.0.0-alpha.18",
"@types/node": "^22.0.0",
"autoprefixer": "^10.4.19",
"@types/node": "^22.1.0",
"autoprefixer": "^10.4.20",
"fast-xml-parser": "^4.4.1",
"postcss": "^8.4.40",
"svelte": "^5.0.0-next.201",
"svelte-check": "^3.8.4",
"svelte": "^5.0.0-next.208",
"svelte-check": "^3.8.5",
"tailwindcss": "^3.4.7",
"tslib": "^2.6.3",
"typescript": "^5.5.4",
Expand Down
14 changes: 1 addition & 13 deletions src/lib/logic/operators.ts
Original file line number Diff line number Diff line change
Expand Up @@ -163,20 +163,8 @@ for (const region of SERVERS) {

{
for (const rawCharSkill of rawChar.skills) {
// TEMPORARY: 31/7/2024, KR gamedata was missing Kestrel's skills
let rawSkillData = RawSkillTable[rawCharSkill.skillId]
if (!rawSkillData) {
rawSkillData = (
JSON.parse(
(
await fs.readFile(
`${GAMEDATA_PATH}/zh_CN/gamedata/excel/skill_table.json`
)
).toString()
) as RawSkillTable
)[rawCharSkill.skillId]
}


const iconId = rawSkillData.iconId || rawSkillData.skillId
const isGenericSkill = iconId.match(GenericSkillRegex) !== null

Expand Down

0 comments on commit 5376084

Please sign in to comment.