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, FloatVariable currentMoneyGain
  • float minMultiplier (default 200), float maxMultiplier (default 1500) — 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) with C = 1,000,000 for 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, then currentMoney += result.

UI / Localization

  • Title key: ABILITY_CASINO_GAMBLE_TITLE
  • Description key: ABILITY_CASINO_GAMBLE_DESC
    Placeholders:
    • {minAbs}, {maxAbs}, {minBound}, {maxBound}.