Cash loot distribution
Database::AddLootTableToNPC() in the loottables.cpp file seems to be doing strange things when distributing cash.
Can whoever wrote, or understands the concept explain to me what the avgcoin variable does? In some instances it produces negatives (very high integers in uint). I'm trying to understand the way it works, or was intended to work.
Thanks
__________________
Elrach
Raven City Server
|