I'm trying to make a custom item to give one random item based on chance. The item is basically Old Blue Box just with different items. So far I've put my item_db code in:
22556,Quest_Prize2,Quest Prize Box 2,2,10000,,50,,,,,0xFFFFFFFF,7,2,,,,,,{ getitem groupranditem(IG_qpb2),1; },{},{}
and I made the .txt file in the db folder and named it item_qpb2.txt just like Old Blue Box and put the items i want in there like so:
15,22550,35
15,22551,25
15,22552,15
15,22553,10
15,22554,5
But I can't seem to get this to work. I'm guessing its because of the IG_qpb2 part in the item_db code but I don't know what to do about that.