Skip to main content

Condition_StealSuccessBaseOnPrice

Description

Determines whether stealing succeeds based on the current sale price of the specified object relative to its base price. The steal probability is 0% below F1basePrice, increases linearly between F1 and F2, and reaches 100% at F2basePrice.

Parameters

ParameterDescription
BaseObjectThe object whose price will be evaluated for steal success.
CompareTypeEqual (steal succeeds), NotEqual (steal fails).
F1The minimum price ratio (multiplied by base price) where steal probability is 0%.
F2The maximum price ratio (multiplied by base price) where steal probability is 100%.

Examples

DescriptionBaseObjectCommandCompareTypeF1F2
Check if stealing the target object succeeds (range 1.8-2.0)SelfStealSuccessBaseOnPriceEqual1.82.0
Check if stealing fails (range 1.8-2.0)SelfStealSuccessBaseOnPriceNotEqual1.82.0
Check if stealing the target succeeds (range 1.5-2.5)TargetStealSuccessBaseOnPriceEqual1.52.5