BibliothecaDAO / realms-contracts

Realms Monorepo for Ethereum contracts and Starknet contracts.
https://bibliothecadao.xyz/
MIT License
86 stars 33 forks source link

add adventurer equipment weight and speed functions #266

Closed loothero closed 1 year ago

loothero commented 1 year ago

Currently the weight of an adventurers equipment does not effect their speed.

As part of this branch, we should provide functions to calculate the individual weight of an item as well as the weight of all the items the adventurer has equipped.

Furthermore, this logic should be incorporated into the flee() functionality such that the more weight the adventurer is carrying, the less likely they are to be able to flee from dangers.