Closed loothero closed 1 year ago
Make Vitality increase the adventurers health by 10 points. Performing the upgrade should also increase the adventurers current health by 10xp, serving as a small potion
Added logic for increasing health based on vitality upgrade with working tests.
_add_health now also checks health cap based on vitality rather than 100.
_add_health
https://github.com/BibliothecaDAO/realms-contracts/pull/303/commits/0bc469041dacd84f5642e547b3aad708c4f1d05c
Make Vitality increase the adventurers health by 10 points. Performing the upgrade should also increase the adventurers current health by 10xp, serving as a small potion