fix: missing ink_saver_main in gears
parent
35b47d79c2
commit
2fde581f08
|
|
@ -195,7 +195,7 @@ export class StatInkExporter implements GameExporter {
|
|||
const amap = await getAbility();
|
||||
const mapAbility = ({ name }: { name: string }): string | null => {
|
||||
const abilityIdx = this.nameDict.gearPower[name];
|
||||
if (!abilityIdx) {
|
||||
if (abilityIdx === undefined) {
|
||||
return null;
|
||||
}
|
||||
const result = amap[abilityIdx];
|
||||
|
|
@ -374,6 +374,8 @@ export class StatInkExporter implements GameExporter {
|
|||
}
|
||||
}
|
||||
|
||||
Deno.writeTextFileSync("debug1.json", JSON.stringify(result, null, 2));
|
||||
|
||||
return result;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue