Casino Gamble
Overview
A high-variance money roll: pay (chips) up to a soft-capped negative bound and possibly win up to a soft-capped positive bound, both scaled by currentMoneyGain. Bounds are rounded to the nearest $100. Result is added to currentMoney.
Serialized Fields
- FloatVariable
currentMoney, FloatVariablecurrentMoneyGain - float
minMultiplier(default200), floatmaxMultiplier(default1500) — scale the raw min/max before capping.
Bounds Logic
- Compute raw bounds from
currentMoneyGain * multipliers. - Round to $100 units.
- Apply a Michaelis–Menten soft cap:
y = x*C/(x + C)withC = 1,000,000for the positive bound and a proportional negative cap. - Final
[minBound, maxBound]is rounded to $100;minBound ≤ 0 ≤ maxBound.
Effect
- Roll uniformly in
[minBound, maxBound], round to $100, thencurrentMoney += result.
UI / Localization
- Title key:
ABILITY_CASINO_GAMBLE_TITLE - Description key:
ABILITY_CASINO_GAMBLE_DESC
Placeholders:{minAbs},{maxAbs},{minBound},{maxBound}.