Qi Step
Modifies the player’s qi points.
Interface
interface QiStep {
kind: 'qi';
condition?: string;
amount: string;
}
Properties
kind
- Always 'qi'
amount
- String expression for amount to add/remove. Use negative values to remove qi.
condition
(optional) - Flag expression that must evaluate to true for the step to execute.
Examples
Add Qi
{
kind: 'qi',
amount: '50'
}
Remove Qi
{
kind: 'qi',
amount: '-30'
}
Variable Amount
{
kind: 'qi',
amount: 'dantian * 5'
}