Closed AKonicki26 closed 3 months ago
Hey there. This object-dmg.json should be generated by the create-object-dmg-json.ts
script and not be modified by hand. So from a quick look I think what is missing is that either:
1) Adjust the script generating the json so that it generates it in correct shape without manual adjustments 2) Change the object dmg calc code so that it reads splat brella multipliers for recycled.
Probably 1) is better
Done! Wasn't aware that those builders existed. Thank you much for the feedback! I'm not sure if it's possible to be doing the checks without the hardcoded values in there, but based on the way that they're already used in a few places, I don't believe its a bad idea here
Hmm I don't still get the same json generated by the command. Run the command (npx tsx scripts/create-object-dmg-json.ts
) to generate the json then compare the one in the scripts/output folder to the one you have commited here. They seem different 🤔
Ok nm my bad checked something wrong. Yep this looks good! Thanks for the contribution :)
Adds damage calculations for the recycled Brella to the object damage table. The name of the brella as well as the damage calculations are taken from @lobotomysyndrome on discord as of 03/01/2024.
(Closing the first PR and creating this one to squash commits)