This shows you the differences between two versions of the page.
formulae [2016/10/07 02:30] skylarmt created |
formulae [2019/04/16 02:40] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== 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_chart|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 |