open /db/item_db2.txt
make a new item -
25500,Custom_Box,Custom Box,2,10000,,200,,,,,0xFFFFFFFF,7,2,,,,,,{ getitem groupranditem(IG_whatever),1; },{},{}
next step is
open /db/const.txt
Find IG_Advanced_Weapons_Box 61
below add this
IG_whatever 63 //IG_whatever must be same in the item_db2.txt script command
next step
open ra/db/item_group_db.txt
import: db/item_whatever.txt - put this
next step
make a new script named
item_whatever.txt - place this in /db/
next step
open item_whatever.txt - in /db/item_whatever.txt
//Explanation 63 - is the number you input in const.txt
// - 1111 - this is the itemID
// - 9 - this is the rate
63,1111,9
63,<Item ID>,<Rate>
next step
open src/map/itemdb.h
find this part
#define MAX_ITEMGROUP #62
the number is 62 where in const.txt the max group number is 62 - but you add another item group..
- just add + 1 in 62 so make it
#define MAX_ITEMGROUP #63