Skip to main content

Condition_Buff

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

ParameterDescription
BaseObjectThe character to check for the buff (Self or Target)
CompareTypeEqual: buff must be present; NotEqual: buff must be absent
S1Buff ID to look up (Buff.json Id)

Examples

DescriptionBaseObjectCommandCompareTypeS1
Check that self has "Hungry_Stat" buffSelfBuffEqualHungry_Stat
Check that target does NOT have "Hungry_Stat" buffTargetBuffNotEqualHungry_Stat
Check that self has "Happy" buffSelfBuffEqualHappy