Description
Checks whether the specified character currently has a buff with the given BuffId.
Returns true when CompareType is Equal and the buff is present, or when CompareType is NotEqual
and the buff is absent.
Parameters
| Parameter | Description |
|---|
| BaseObject | The character to check for the buff (Self or Target) |
| CompareType | Equal: buff must be present; NotEqual: buff must be absent |
| S1 | Buff ID to look up (Buff.json Id) |
Examples
| Description | BaseObject | Command | CompareType | S1 |
|---|
| Check that self has "Hungry_Stat" buff | Self | Buff | Equal | Hungry_Stat |
| Check that target does NOT have "Hungry_Stat" buff | Target | Buff | NotEqual | Hungry_Stat |
| Check that self has "Happy" buff | Self | Buff | Equal | Happy |