It's not an outright formula. There's an array mapping between speed values and "energy costs." I believe it's in tables.h, but I haven't checked for sure.
When you do an action you expend N energy (for speed +0 this is 100) and every game turn it decays by 1, so 100 game turns later you can go again. Each turn the game processes the player and all the monsters and the ones that have 0 energy get an action.
When you do an action you expend N energy (for speed +0 this is 100) and every game turn it decays by 1, so 100 game turns later you can go again. Each turn the game processes the player and all the monsters and the ones that have 0 energy get an action.
Comment