Resistance

Resistance is calculated from special values by which damage is multiplied. That means it is used to lower or strengthen damage. Having 30% resistance to something means that damage is multiplied by 0.7. Resistances can stack.

Right now in game there are 8 types of resistances:
 * Fire
 * Ice
 * Thunder
 * Poison
 * Holy
 * Gas
 * Flying
 * Mental

Holy
Enemies are either fully resistant to holy damage or take increased damage from it.

Gas
Gas resistance is for most part only 0 or 1. That means character breath gases or not. It does not increase damage from gases because for most part it is not gas that makes damage but type of gas.

Flying
Flying is true / false value. Either character is flying or standing on the ground. It is used for detecting advanced collisions.

Mental
Mental resistance test how much vulnerable is character to mental attacks.

Robots are fully resistant to mental attacks.