This is an old revision of the document!
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.
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
recoil = user_level ^ 0.5 * 5
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