Effects

Effects are ongoing conditions acquired by blocks that can change the way they behave in various ways. A block that has acquired an effect is its parent. If an effect's parent is a body part of a mob, that is said to be the effect's parent mob.

Health and Duration
Each effect has a starting health, as well as a duration. The duration measures in seconds how much time is required until the effect runs out. Therefore, health is lost from the effect continuesly according to its duration. When an effect's health reaches zero it is removed from its parent.

Duration may vary according to wether the effect is inside a liquid or not. In such cases, only the rate of health loss changes.

Effect Conflicts
Each block can have at most one effect acquired at any time. If an effect is to be placed on a block that already has one, a conflict occurs. To resolve this conflict, BlockWorld uses the following method:

If the new effect's health is greater than the previous effect's current health then the old one is removed and the new one is placed. If not, the old one is kept.

Behavior
An effect can have any of the following behaviors (if there is no parent mob, the respective things are ignored):
 * Change parent damage multipliers (see Blocks entry for more information on damage multipliers).
 * Apply damage (per second) to parent.
 * Increase parent mass. This also increases parent mob mass, thus making the reducing mob speed.
 * Increase parent mob health regeneration (increases regeneration of all Vital body parts).
 * Increase parent mob air regeneration.