fix: spells support durability
authorxangelo <me@xangelo.ca>
Thu, 31 Aug 2023 21:08:45 +0000 (17:08 -0400)
committerxangelo <me@xangelo.ca>
Thu, 31 Aug 2023 21:08:45 +0000 (17:08 -0400)
commit2dbb9b85f89be12743d85ff89f20489873d2ca6d
tree4633962134f40e5ea908375cf8ac77dd746fff23
parent06c0e48c79bbb76ab831114e34f3ecd7dd6a41df
fix: spells support durability

Spells have "Uses" which function the same as durability except they
don't take damage after a battle (like weapons).

For now you go to the "repair" store to repair this.. but eventually you
can go to the:
- Mageshop to recharge spells
- Armoury to repair armour
- Forge to repair weapons
src/server/locations/healer/index.ts
src/server/locations/recruiter.ts
src/server/views/inventory.ts
src/server/views/monster-selector.ts
src/server/views/repair.ts
src/server/views/stores.ts
src/shared/inventory.ts