PDA

View Full Version : Loot Drops/Loot Tables


CHowell2005
11-21-2003, 01:14 PM
Is there an easy way to make all loot drop 100% of the time?......I Know you can do it this way->

1)make a seperate loot table for each item the NPC could possibly drop....set that to 100%
2)Make a loot table for the NPC and add all the loot tables from step#1...set to 100%

If im thinking correctly...that should make all the items that NPC could possibly drop, drop 100% of the time.

If this is the only way....that would take quite some time :P

Trumpcard
11-21-2003, 06:40 PM
Just change the lootdrop code so it doesnt even bother checking and just recompile...

CHowell2005
11-23-2003, 11:09 AM
DOH! Great idea....ok...i know some C++....i could do this...but i kinda need someone to hold my hand and walk me through it.....in essence...what exactly do i need to change...just remove the probability?......right now im look at the code...so maybe i will figure it out on my own

CHowell2005
11-23-2003, 11:36 AM
looks like loottables.cpp for zone is what i need to edit.......correct me if im wrong....to do what i want to do...i need to go to the loop where it loops using the multiplier for that table as the number of items possibly dropped and it uses the %s blah blah blah you understand the rest...and i need to change the loop so it just adds every item in the table....should be a cakewalk :wink: .....if theres anything else i need to do please say so