Create Buff Step
Introduction
The Create Buff Step applies buffs to the player with specified amounts and persistence options.
Interface
interface CreateBuffStep {
kind: 'createBuff';
condition?: string;
buff: Buff;
amount: string;
persistBeyondEvent?: boolean;
}
Properties
kind
- Always'createBuff'
buff
- Buff object to createamount
- Amount expression as stringpersistBeyondEvent
- Whether buff persists beyond the event. If true, each stack will last for1
day (optional)condition
- Conditional execution (optional)
Examples
{
kind: 'createBuff',
buff: 'meditation_focus',
amount: '1'
}
{
kind: 'createBuff',
buff: 'blessed_cultivation',
amount: 'playerRealm * 5',
persistBeyondEvent: true
}