AIDef:Action/SetExtraLifeOfPlayer: Difference between revisions

imported>Leoetlino
import AI definitions from 1.5.0
 
Nebroc (talk | contribs)
No edit summary
 
Line 1: Line 1:
{{AIDef
Increases the Player's Extra Hearts (yellow ones) to or by a specified value.{{AIDef
|name=SetExtraLifeOfPlayer
|name=SetExtraLifeOfPlayer
|type=Action
|type=Action
Line 8: Line 8:
! Name !! Type !! Default value !! Description
! Name !! Type !! Default value !! Description
|-
|-
| Value || Int ||  ||  
| Value || Int ||  || Amount of Extra Hearts
Using a negative value cannot take away Extra Hearts from the player
|-
|-
| ProcessingMode || Int ||  ||  
| ProcessingMode || Int ||  || 2 possible values:
 
* 0: If the Player's Extra Hearts are lower than the Value parameter, sets them to the Value parameter
* 1: Increases the Player's Extra Hearts by the Value parameter
 
Using any other value defaults to 0
|-
|-
|}
|}