Skip to main content

Condition_BuffTag

Description

Checks whether the specified character currently has any buff matching the given BuffTag. Returns true when CompareType is Equal and a tagged buff is present, or when CompareType is NotEqual and no buff with that tag is present.

Parameters

ParameterDescription
BaseObjectThe character to check for tagged buffs (Self or Target)
CompareTypeEqual: tagged buff must be present; NotEqual: must be absent
S1Buff tag to search for (e.g., BuffTag_Prison, BuffTag_Sleep)

Examples

DescriptionBaseObjectCommandCompareTypeS1
Check that self has a buff tagged BuffTag_PrisonSelfBuffTagEqualBuffTag_Prison
Check that target does NOT have BuffTag_PrisonTargetBuffTagNotEqualBuffTag_Prison
Check that self has a buff tagged BuffTag_SleepSelfBuffTagEqualBuffTag_Sleep