igroglaz / Tangaria

Tangaria – free open-source multiplayer roguelike game based loosely on Tolkien’s lore and powered by PWMAngband. ~~~~~~~~~~~~~~~~~~~~~~~~~
https://tangaria.com
39 stars 6 forks source link

add state.stat_real #45

Closed igroglaz closed 2 years ago

igroglaz commented 3 years ago

it will be fun to add state.stat_real...

state.stat_real = p->state.stat_ind +3

as it's more convenient to use values from player's stat bar.. better from gamedesign perspective.. as when we have in-game +3 stats and at the same time we (from gamedesign perspective) should calculate staff in out heads from 0.. it makes a real unnecessary mess in head

for now I've used manual calculation eg there igroglaz@46ba57d ... but I suppose adding special constant will make code better

igroglaz commented 2 years ago

Occam's razor