Skip to main content

Condition_HasBargainCoolTime

Description

Checks whether a bargain cooltime exists between the BaseObject character and the NonBaseObject (a CarriableObject). The cooltime is tracked on the CarriableObject and keyed to the character's entity ID.

Parameters

ParameterDescription
BaseObjectThe character to check for bargain cooltime (Self or Target); NonBaseObject is the item
CompareTypeEqual: cooltime is active; NotEqual: no cooltime (cooltime has expired or never set)

Examples

DescriptionBaseObjectCommandCompareType
Is self currently in a bargain cooltime with the item?SelfHasBargainCoolTimeEqual
Is target still in cooltime after a recent bargain?TargetHasBargainCoolTimeEqual
Has the bargain cooltime expired for self?SelfHasBargainCoolTimeNotEqual