feat!: vigor mortensen
authorxangelo <me@xangelo.ca>
Fri, 25 Aug 2023 20:13:04 +0000 (16:13 -0400)
committerxangelo <me@xangelo.ca>
Fri, 25 Aug 2023 20:13:04 +0000 (16:13 -0400)
commitf6aba7a783ae455663723e7bfad39be6a5396c87
treea7ccf40a497909403b688f22432401512225760b
parent8769d8a68a98f494c2b69a95582009229a8b4e1e
feat!: vigor mortensen

This introduces the new vigor system which replaces the previous armour
point system.

The new Vigor system introduces a new stat based on constitution that
comprises your "vigor". At 100% vigor your defence + damage are at their
highest possible base values. As you fight your vigor drops (until you
visit a healer). As it drops it starts affecting your defence + damage
negatively.

Armour Points still exist, but have been converted into a "durability"
system which goes down much slower per fight and a bit more drastically
if you die. However, nowhere near the same rate as before.

As such, mitigation no longer has any effect.
21 files changed:
migrations/20230825165327_vigor.ts [new file with mode: 0644]
public/assets/css/game.css
public/index.html
seeds/monsters.ts
seeds/shop_items.ts
src/server/api.ts
src/server/fight.ts
src/server/inventory.ts
src/server/locations/healer/index.ts
src/server/locations/recruiter.ts
src/server/monster.ts
src/server/player.ts
src/server/views/components/progress-bar.ts
src/server/views/inventory.ts
src/server/views/player-bar.ts
src/server/views/profile.ts
src/server/views/skills.ts
src/server/views/stores.ts
src/shared/inventory.ts
src/shared/monsters.ts
src/shared/player.ts