DungeonCrawl
|
Exposes functions for loot generation. More...
Go to the source code of this file.
Functions | |
void | generate_loot (character_t *character, gear_table_t *gear_table, potion_table_t *potion_table, int rolls) |
Generates loot for a character by randomly selecting a number of gear and potions. |
Exposes functions for loot generation.
Definition in file loot_generation.h.
void generate_loot | ( | character_t * | character, |
gear_table_t * | gear_table, | ||
potion_table_t * | potion_table, | ||
int | rolls ) |
Generates loot for a character by randomly selecting a number of gear and potions.
character | The character to generate loot for. |
gear_table | The table containing available gear. |
potion_table | The table containing available potions. |
rolls | The number of loot rolls to perform. |
Definition at line 10 of file loot_generation.c.