Skip to main content

Condition_HasEnoughCurrencyExchangeCostInSite

Description

Checks whether the self character has enough currency to cover the exchange cost of the target object within the site. The exchange cost is retrieved from the target entity, and B2CurrencyHelper is used to compare the character's balance against it.

Parameters

ParameterDescription
BaseObjectThe character whose currency balance is checked (Self).
CompareTypeComparison type used to evaluate the balance against the exchange cost.

Examples

DescriptionBaseObjectCommandCompareType
Check if Self has enough currency to pay the target object exchange costSelfHasEnoughCurrencyExchangeCostInSiteGreaterOrEqual
Check if Self cannot afford the exchange costSelfHasEnoughCurrencyExchangeCostInSiteLess
Check if Self has exactly enough to pay the target exchange costSelfHasEnoughCurrencyExchangeCostInSiteEqual