Battle Conditions
Battle Conditions¶
Battle Conditions are a special kind of condition that can only be accessed in Battle. They are primarily used by Battle Rewards and Battle Programs, as well as some Action Sequence Elements.
Battle Conditions¶
- Always
- Enemy Formation Status Effect
- Global Switch
- Global Variable
- My Statistic
- My Status Effect
- Party Status Effect
- Random
Always¶
Always conditions pass unconditionally, always evaluating to true.
Note: This is useful for battle programming, forcing a battler to always perform a skill, such as an 'Attack.'
Enemy Formation Status Effect¶
Enemy Formation Status Effect conditions validate that all enemies have the included status effects.
Properties¶
System¶
| Name | Explanation | Type |
|---|---|---|
| Status Effects | All of the status effects that are required. | Status Effect |
Global Switch¶
Global Switch conditions evaluate a global switch and validate that its value matches the expected value.
Properties¶
System¶
| Name | Explanation | Type |
|---|---|---|
| Index | The index of the global switch. | Number |
| Value | The value to compare. | Toggle |
Global Variable¶
Global Variable conditions evaluate a global variable and validate that its value satisfies the specified operator.
Properties¶
System¶
| Name | Explanation | Type |
|---|---|---|
| Index | The index of the global variable. | Number |
| Operator | The operator to use when making comparisons in the condition. | Operator |
| Value | The value to compare. | String |
My Statistic¶
My Statistic conditions validate that a battler's statistic satisfies the specified requirements.
Note: This is useful for battle programming, having a certain effect or attack occur when a battler drops below a certain amount of HP, etc.
Properties¶
System¶
| Name | Explanation | Type |
|---|---|---|
| Formula Name | The formula name of the statistic to compare. | Statistic |
| Is Scale Comparison | Whether the statistic comparison is based on scale. | Toggle |
| Is Value Comparison | Whether the statistic comparison is based on value. | Toggle |
| Operator | The operand for comparison. | Operator |
| Value | The value to compare. | Number |
My Status Effect¶
My Status Effect conditions validate that a battler has the included status effects.
Properties¶
System¶
| Name | Explanation | Type |
|---|---|---|
| Is Inverted | Whether to invert the condition. | Toggle |
| Status Effects | All of the status effects that can fulfill the condition. | Status Effect |
Party Status Effect¶
Party Status Effect conditions validate that all party members have the included status effects.
Properties¶
System¶
| Name | Explanation | Type |
|---|---|---|
| Status Effects | Any of the status effects that can fulfill the condition. | Status Effect |
Random¶
Random conditions pass based on a percentage chance.
Properties¶
System¶
| Name | Explanation | Type |
|---|---|---|
| Chance | The chance of the condition occurring. | Number |