View Single Post
  #9  
Old 07-06-2003, 03:37 AM
Drawde
Dragon
 
Join Date: Jan 2002
Posts: 521
Default

I've found a way to get loot tables working in the same way that they were before - To make a random
number of items drop, just set the multiplier in loottable_entries to the maximum number of items you
want to drop, then set the chance in loottable_entries to the % chance of each item dropping. So a multiplier
of 6 and chance of 50 would give an average of 3 items per drop.
Now I've worked it out, I realise this is better than the old system, as you can set the percentage chance
of items seperately from the number of items dropping.
Another thing I didn't realise is that items with a 100% chance of dropping will only drop once.
I assumed (wrongly) that if you had an item with 100% chance in a loot table with a multiplier, you'd just get
that item over and over again. However as you said, this is not the case - I set the multiplier for Vox to 6
and got the scales, tooth, book, spell and 2 random other items, rather than 6 scales as I'd expected.
So, it looks like the loot system doesn't need changing - it was just that I misunderstood how the new system worked.

Anyway, thanks for the files, tcsmyworld and burthold - they seem to work OK.
Reply With Quote