Description
Randomly selects one buff from the specified Random Buff Pool and adds it to the BaseObject character.
The buff detail is populated with initiator and reason information from the script context.
If the script reason is Interaction, Talk, or Action, additional context such as InteractionBagId
and CreateBuffReason is also set.
Parameters
| Parameter | Description |
|---|
| BaseObject | The character that will receive the randomly selected buff (Self or Target) |
| S1 | Random Buff Pool Table ID from RandomBuffPool.json |
Examples
| Description | BaseObject | Command | S1 |
|---|
| Add a random buff from RandomBuffTest pool to self | Self | AddRandomBuff | RandomBuffTest |
| Add a random buff from EventPool to target character | Target | AddRandomBuff | EventBuffPool |
| Add a random seasonal buff to self | Self | AddRandomBuff | SeasonalBuffPool |