Skip to main content
GameDev.net gamedev.net
Video Content

This is video content from git-amend. The summary highlights key points - watch the full video for complete context.

PRO Tired of ads? Read GameDev.net ad-free and help keep the community independent with GameDev Pro — $3/month.

git-amend
git-amend Video
3 months, 4 weeks ago • git-amend

Stop Bad RNG | Build a Pity System

Briefing

This video walks through a Unity loot system from the ground up: first a weighted random table, then a Monte Carlo pass to measure what players really see over many sessions. That matters because “fair” RNG often looks fine in code but produces ugly streaks in practice, especially in progression-heavy games.

The second half adds soft pity and hard pity rules to cap bad luck while preserving uncertainty. For teams shipping loot, gacha, drops, or reward systems, the useful bit is the methodology as much as the implementation: simulate the distribution, inspect the tails, then tune the experience instead of guessing from a few test runs.

“we use Monte Carlo simulation to test what players actually experience across thousands of sessions”

— git-amend · Describing the validation step for the loot system
Original source
Watch on git-amend
At a glance
what
Tutorial builds a weighted random loot table in Unity and then layers on soft and hard pity systems.
who
Created by git-amend / Adam Myhre.
when
Video chapters listed at 0:00, 2:27, 6:30, and 9:20.
impact
Helps developers reduce frustrating RNG streaks while keeping loot outcomes unpredictable.
Signal Positive

Useful, practical approach to making RNG feel fairer.

Discuss

Discussion

Loading comments...

Recommended resources

Game Engines

See full guide
Unreal Engine 5 Best Practices cover
Editor pick

Unreal Engine 5 Best Practices

Amazon · Book

Written by multi-award-winning Unreal generalist Tyson J. Butler-Boschma, Founder and Creative Director of Toybox Games Studios, this book addresses common challenges you face when advancing your expertise in lighting, environment design, and cinematic storytelling.

GameDev.net may earn a commission if you purchase through these links. This helps fund the site at no extra cost to you.

GameDev.net may earn a commission if you purchase through these links. This helps fund the site at no extra cost to you.

Story Timeline (9 sources)

May 17, 2026
git-amend First Main
Stop Bad RNG | Build a Pity System
May 20, 2026
May 21, 2026
Game Maker's Toolkit
The GMTK Game Jam returns for 2026
May 22, 2026
May 24, 2026
May 26, 2026
May 29, 2026
Freya Holmér
Debating an AI evangelist
May 31, 2026
Story covered over 14 days • First reported by git-amend