User Tools

Site Tools


formulae

This is an old revision of the document!


Formulae

Here are the formulas responsible for calculating damage and stuff. “user_level” refers to the level rounded down to the nearest integer. “^” means take the left number and raise it to the power of the right number.

Place Damage

Consult the Type Charts for more info. Places have a max of 100 health.

damage = user_level ^ 0.5 * 4 * type_mod * terrain_mod * weather_mod

User Damage (recoil)

recoil = user_level ^ 0.5 * 5

User Level

Level is stored as a number with a bunch of decimal places. A fraction of a level is added for every action taken. That fraction is calculated as follows:

levelfrac = ((user_level + 1) ^ 2) ^ -1.2

formulae.1475829010.txt.gz · Last modified: 2019/04/16 02:40 (external edit)