loot.c
coin_drop
Synopsis
Parameters
object tp
- The player to drop the coins for.object source
- The source of the coins.
Description
Drops coins from the coin table from the source into the source.
determine_value_by_level
Synopsis
Parameters
int level
- The level of the source.
Returns
int
- The value of the coins.
Description
Determines the value of the coins based on the level of the source.
loot_drop
Synopsis
Parameters
object tp
- The player to drop the loot for.object source
- The source of the loot.
Description
Drops loot from the loot table from the source into the source.