Skip to Content
Practical Game Design
book

Practical Game Design

by Adam Kramarzewski, Ennio De Nucci
April 2018
Beginner content levelBeginner
476 pages
14h 4m
English
Packt Publishing
Content preview from Practical Game Design

Weight-based loot tables

As players, we often think of probability in games as flat percentages—this action has a 5% chance of success, that item has a 20% chance to drop, and so on, but assigning actual percentage values to rewards is a very problematic and ultimately futile endeavor. After all, adding a single new reward may require modifications to the entire loot table. Let’s look at a simple example!

In a loot table of 5 items, we have 4 common rewards and 1 rare reward, which we want to be 10 times harder to get. Calculating the exact percentage value for our rare item is not an easy task, unless we use weights, in which case it becomes trivial.

In our weighted probability system, each item is assigned a number, which represents its ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Practical Game Design - Second Edition

Practical Game Design - Second Edition

Adam Kramarzewski, Ennio De Nucci
Game Design Essentials

Game Design Essentials

Briar Lee Mitchell
Designing Games

Designing Games

Tynan Sylvester

Publisher Resources

ISBN: 9781787121799Other