Loot: Multiple Items display
Posted: Mon Aug 04, 2008 7:51 pm
I set up a loottable that would drop between 1-4 "a crab claw" items. When I looted my crab, I got 2 crab claws (cool!) but the display in the UI was a little off.
I think that "2" is saying there were 2 of these items to loot. Eh?
Here's my SQLs:
This is the item "a crab claw"
This is the loot table for the crabs, 100% probability on claws, 50% on coin (crabs have pockets?)
This is the same loot table assigned to 4 NPCs on the island (all crabs)
I think that "2" is saying there were 2 of these items to loot. Eh?
Here's my SQLs:
Code: Select all
insert into `lootdrop`(`id`,`loot_table_id`,`item_id`,`item_charges`,`equip_item`,`probability`) values (1,1,3930,1,0,100);Code: Select all
insert into `loottable`(`id`,`name`,`mincoin`,`maxcoin`,`maxlootitems`,`lootdrop_probability`,`coin_probability`) values (1,'crabs',1,5,4,100,50);Code: Select all
insert into `spawn_loot`(`id`,`spawn_id`,`loottable_id`) values (1,2530000,1);
insert into `spawn_loot`(`id`,`spawn_id`,`loottable_id`) values (2,2530037,1);
insert into `spawn_loot`(`id`,`spawn_id`,`loottable_id`) values (3,2530040,1);
insert into `spawn_loot`(`id`,`spawn_id`,`loottable_id`) values (4,2530055,1);