feat: display base damage and level-based boost
authorxangelo <me@xangelo.ca>
Thu, 17 Oct 2024 20:21:32 +0000 (16:21 -0400)
committerxangelo <me@xangelo.ca>
Fri, 18 Oct 2024 18:51:45 +0000 (14:51 -0400)
commitb12078b2eb511d9dc0ae3e76ee1f12fc3b708ebe
tree8cdad28ddde5761b3f4cc86fcb05ad80cf531cf3
parent625f3d4747f92010a079e8b1fc94c9a750bb1aa2
feat: display base damage and level-based boost

Weapon and spell damage has two components:
- A static value, that the item comes with
- A "dynamic" value based on your skills

The total damage that it deals is a combination of those two values.
This change displays the static value AND the amount you gain based on
your skills.
src/server/fight.ts
src/server/routes/inventory.ts
src/server/views/components/stats.ts [new file with mode: 0644]
src/server/views/inventory.ts
src/server/views/stores.ts
src/shared/inventory.ts
src/shared/player.ts
src/shared/stats.ts