Skip to main content

Condition_HasBuffWithTarget

Description

Checks whether the BaseObject remembers a non-expired buff with S1 BuffId toward the NonBaseObject. Uses MemoryComponent's target-specific emotion buff records, including their remaining bonus time. Historical BuffMemories and buffs excluded from emotion grouping do not count.

Parameters

ParameterDescription
BaseObjectOwner of the memory (Self or Target); the other entity is the target.
CompareTypeEqual: the condition matches / NotEqual: it does not match.
S1Buff.Id to find in the target-specific emotion buff records.
S2, F1, F2Unused.

Examples

DescriptionBaseObjectCommandS1CompareType
Check Self's memory toward TargetSelfHasBuffWithTargetBuff_HappyEqual
Check the reverse direction for no matchTargetHasBuffWithTargetBuff_HappyNotEqual