Pity System - AlexisBliesener/Bewitched GitHub Wiki

Overview

The Pity System work alongside the Drop System. The pity system increases the percentage chance to get an upgrade of that rarity after not receiving it. These percentages then drop back down to normal after getting an upgrade of that rarity.


How It Works

  1. Every rarity has a base drop chance (set in the Drop System).
  2. If a rarity is not offered, its chance increases by a fixed pity increment.
  3. This bonus keep stacking until it hits the maximum pity bonus.
  4. When that rarity finally appears in the options, its bonus resets to 0.

Setup

  1. Enable usePitySystem in the DropSystem.
  2. Configure settings in the Inspector:
    • Pity Increment -> how much the chance increases each time the rarity isn’t offered
    • Max Pity Bonus -> the cap for how much pity can stack