Skip to content

v0.4.0 — Potion icon + dual badges for Unknown nodes

Choose a tag to compare

@ing-gom ing-gom released this 08 May 04:26
· 10 commits to main since this release

First public release.

What it does

Show the potion drop probability for each travelable Monster / Elite / Unknown (?) node directly on the map screen — as a colored badge on the node icon.

  • Pity-aware — same math as the game's PotionRewardOdds.Roll(): base 40%, ±10% per drop / miss
  • Elite bonus folded in — Elite shows pity + 12.5%
  • Relic-aware — White Beast Statue → 100%, Sozu → 0%
  • Unknown (?) nodes show two stacked badges: one for the Monster outcome and one for the Elite outcome, each with its respective type icon
  • Travelable nodes only — badges only on nodes you can advance to next
  • Local + read-only — no game state mutation, no network sync, manifest declares affects_gameplay: false

Visual

Every badge: [potion icon] [%], color-scaled (red → orange → yellow → lime → teal). Anchored to the right-center of the node, 10px gap.

Installation

  1. Download Sts2PotionDropChance-v0.4.0.zip below.
  2. Extract Sts2PotionDropChance/ into <Slay the Spire 2 install>/mods/.
  3. Launch the game.

You should end up with:

<Slay the Spire 2>/mods/Sts2PotionDropChance/Sts2PotionDropChance.dll
<Slay the Spire 2>/mods/Sts2PotionDropChance/Sts2PotionDropChance.json

Configuration

Set STS2_POTION_DROP_CHANCE_DISABLED=1 before launching the game to suppress all badges without uninstalling.

Notes

  • Boss nodes are intentionally not annotated — fixed path, badge wouldn't change your decision.
  • Unknown displays both Monster + Elite hypotheses. The actual game internally has Elite disabled for Unknowns (UnknownMapPointOdds Elite=-1) but both are shown for completeness.
  • The mod never patches PotionRewardOdds.Roll() itself — only reads inputs. If MegaCrit changes the formula in a future patch, this mod's display may need a source update.

See README (한국어) for full details.