Skip to main content

Condition_HasEmotionBuffWithTarget

Description

Checks whether the BaseObject remembers any non-expired buff with S1 EmotionId toward the NonBaseObject. Compares the original EmotionId stored on each MemoryComponent buff record, including remaining bonus time. Any matching record counts, even when its group is not the main emotion group.

Parameters

ParameterDescription
BaseObjectOwner of the memory (Self or Target); the other entity is the target.
CompareTypeEqual: the condition matches / NotEqual: it does not match.
S1Emotion.Id to match against each recorded buff (e.g., Funny, Sad).
S2, F1, F2Unused.

Examples

DescriptionBaseObjectCommandS1CompareType
Check Self's memory toward TargetSelfHasEmotionBuffWithTargetFunnyEqual
Check the reverse direction for no matchTargetHasEmotionBuffWithTargetFunnyNotEqual