java Posted November 26, 2012 Group: Members Topic Count: 27 Topics Per Day: 0.01 Content Count: 265 Reputation: 35 Joined: 12/22/11 Last Seen: 32 minutes ago Share Posted November 26, 2012 hi hello to make item like Old blue box, the list of item at box is : Red Stoking 25% random rate item get Puri Potion 50% random rate item get and get random when clicked base rate of that chance ty before Quote Link to comment Share on other sites More sharing options...
Emistry Posted November 26, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: 15 hours ago Share Posted November 26, 2012 (edited) Source Part .... trunk/src/map/itemdb.h //The max. item group count (increase this when needed). #define MAX_ITEMGROUP 63 increase the value .... depend on how many new box you want... Database Part ..... trunk/db/const.txt IG_Custom_Box 63 add this ... trunk/db/re/item_giftbox.txt // Structure of Database: // GroupID,ItemID,Rate inside trunk/db/re/item_db.txt getrandgroupitem( IG_Custom_Box ),1; just make sure you recompile after edit source part.... beside there is alot way to create new random item "box" ...refer the forum .. use search engine... ...our wiki also got guide on how to add a new "Box" Groupranditem Edited November 26, 2012 by Emistry Quote Link to comment Share on other sites More sharing options...
java Posted November 26, 2012 Group: Members Topic Count: 27 Topics Per Day: 0.01 Content Count: 265 Reputation: 35 Joined: 12/22/11 Last Seen: 32 minutes ago Author Share Posted November 26, 2012 thank you so much Quote Link to comment Share on other sites More sharing options...
Question
java
hi hello to make item like Old blue box,
the list of item at box is :
Red Stoking 25% random rate item get
Puri Potion 50% random rate item get
and get random when clicked base rate of that chance
ty before
Link to comment
Share on other sites
2 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.