AIDef:Action/SetExtraEnergyOfPlayer: 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 Stamina (yellow one) to or by a specified value.{{AIDef
|name=SetExtraEnergyOfPlayer
|name=SetExtraEnergyOfPlayer
|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 Stamina
Using a negative value cannot take away Extra Stamina from the player
|-
|-
| ProcessingMode || Int ||  ||  
| ProcessingMode || Int ||  || 2 possible values:
 
* 0: If the Player's Extra Stamina is lower than the Value parameter, sets it to the Value parameter
* 1: Increases the Player's Extra Stamina by the Value parameter
 
Using any other value defaults to 0
|-
|-
|}
|}