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 create

  • amount - Amount expression as string

  • persistBeyondEvent - Whether buff persists beyond the event. If true, each stack will last for 1 day (optional)

  • condition - Conditional execution (optional)

Examples

{
  kind: 'createBuff',
  buff: 'meditation_focus',
  amount: '1'
}
{
  kind: 'createBuff',
  buff: 'blessed_cultivation',
  amount: 'playerRealm * 5',
  persistBeyondEvent: true
}