LifeAdd

From M.U.G.E.N Wiki

Jump to: navigation, search



State Controller: LifeAdd

Adds the specified amount to the player's life, scaled by the player's defense multiplier if necessary.

Required parameters:
value = add_amt (int)
Specifies amount of life to add to the player's life bar.
Optional parameters:
kill = kill_flag (int)
If kill_flag is 0, then the addition will not take the player below 1 life point. Defaults to 1.
absolute = abs_flag (int)
If abs_flag is 1, then exactly add_amt is added to the player's life (the defense multiplier is ignored). Defaults to 0.
Example:
none


Personal tools