ItemDB Script - % to get random item

Yoh Asakura

New member
Messages
261
Points
0
Emulator
Hi,

Is it possible to make an item (like a box) that when you use it you have chances to get items. And each item will have a % to get.

e.g: 50% to get yggdrasil item, 10% to get some cards (we can put the cards id here), and 0,1% to get some hats.

Is this possible?

 
@@Yoh Asakura to be more specific.. try to check Official Item Group/Package/Chain.

item_group.conf : Overview / Sample

  • The file was redesigned to make it attend the official equivalent's and to be more flexible, there are no more limitations on the number of groups or on how many items a group may contain, these limitations were lifted.

Code:
Old_Card_Album: ( // <= <Container_Item_Name>	("Poring_Card",8), // <= entries can be either ( "<Item_Name>", <Repeat_Count> )	"Sting_Card" // <= or "<Item_Name>" (no repeat))
 
Back
Top