Erba Posted April 3, 2013 Posted April 3, 2013 how to make a new item group? i want to make a new box wherein if a player open a box all it contains 1 custom items the item group contains all custom items of the server Quote
Cydh Posted April 3, 2013 Posted April 3, 2013 or, on your custom item, inside { Script }, give callfunc that call your function to give random item to player. itemid,,,,,,,,,,,,,,,,,,,{ callfunc CustomRand; } function%tab%script%tab%CustomRand%tab%{ switch(rand(2)){ case 0: getitem 501; break; case 1: getitem 502; break; } } 1 Quote
Neo-Mind Posted April 3, 2013 Posted April 3, 2013 You mean like the character double clicks the box and it generates fixed set of custom items? For this you wont need a seperate item group. For example check the script for Alchemist Card Box item #13927 Yes they are cards but you get the general idea. But If you mean like an OBB which generates random items from a list then check this => http://rathena.org/wiki/Groupranditem Quote
Question
Erba
how to make a new item group?
i want to make a new box wherein if a player open a box all it contains 1 custom items
the item group contains all custom items of the server
4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.