DungeonCrawl
|
Implements functionality to generate loot. More...
Go to the source code of this file.
Functions | |
void | generate_loot (character_t *c, 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. |
Implements functionality to generate loot.
Definition in file loot_generation.c.
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.