Add recycled brella damage (#1719)

* Add recycled brella damage

* Modify create-object-dmg-json.ts to automatically generate values for Recycled Brella

* Remove console log

---------

Co-authored-by: Kalle <38327916+Sendouc@users.noreply.github.com>
This commit is contained in:
Anne
2024-04-20 03:46:51 -04:00
committed by GitHub
parent 33a4347e24
commit d4a31e2c12
5 changed files with 320 additions and 3 deletions

View File

@@ -76,6 +76,14 @@ for (const cell of Object.values(params.CellList)) {
target: cell.ColumnKey,
rate: cell.DamageRate,
});
// if it has special damage rates for Splat Brella, add the same value for Recycled Brella
if (cell.ColumnKey === "BulletUmbrellaCanopyNormal") {
result[cell.RowKey].rates.push({
target: "BulletShelterCanopyFocus",
rate: cell.DamageRate,
});
}
}
fs.writeFileSync(