Khaligufzel / Dimensionfall

A survival game inspired by Cataclysm: Dark Days Ahead and Bright Nights.
MIT License
12 stars 5 forks source link

Implement athletics into running #213

Closed snipercup closed 3 months ago

snipercup commented 3 months ago

Fixes #195

It does what was described in the issue. The only thing I had to consider is the amount of xp to give while sprinting. I settled on 0.01 for now. Maybe this is still too much xp, we will have to figure it out.

I tested it and it works. XP is still being added when firing a rifle as well.

This is the amount of xp I have when sprinting the distance of two chunks, stopping to regain stamina when I run out: image