# Health & Healing

### MoonBeast's Health

Each MoonBeast has a Health attribute. Maximum Health equals 100%. For every Running Session, MoonBeast's Health will reduce. When Health runs too low, it affects earning chances. Check [#1-endurance](https://whitepaper.moonfit.xyz/moonbeast#1-endurance "mention")for more information.

A MoonBeast's Reduced Health is calculated using the following formula:

$$
MaxReducedHealth = \frac{Math.ceil(a\_1*a\_2^{endurance}+a\_3*(1-a\_4)^{endurance})}{100} \*  \left( \frac{Range}{a\_5} \right)^{a\_6} %
$$

$$
ReducedHealth = \frac{k}{N} \* MaxReducedHealth
$$

Whereas:

* ReducedHealth is the percentage of health reduced
* k = int(Used Range/Unit Reward Range)
* N, Range is calculated as in [#rewarding-system](https://whitepaper.moonfit.xyz/move-to-earn-mechanics#rewarding-system "mention")
* endurance = Endurance attribute of the MoonBeast
* a\_*1, a*\_2, x, y \~ Hidden system values, subjected to change for game balancing and fine-tuning purpose if necessary.

In short, the Reduced Health of a MoonBeast depends on its Endurance attribute and the number of kilometers a player ran with that MoonBeast.

### Healing

While a MoonBeast's health can be reduced, it can be Healed as well. Users need to spend MFR token to heal a MoonBeast.

The healing cost for healing every 1% health of a MoonBeast is calculated by the following formula:

$$
RegainCost = a \* b^{level} \* r
$$

Whereas:

* a, b: Hidden system values, subjected to change for game balancing and fine-tuning purposes if necessary.
* level: MoonBeast's current level.
* r = MoonBeast's rarity multiplier.
