dikapramantya Posted August 4, 2018 Group: Members Topic Count: 55 Topics Per Day: 0.01 Content Count: 216 Reputation: 9 Joined: 07/12/12 Last Seen: Sunday at 12:42 PM Share Posted August 4, 2018 Hi rAthena. I want to ask, how to edit Lucky Roulette feature item requirement. The default is using 1 Bronze Coin to start from lower, 10 Silver Coin to start from middle, 10 gold coin to start from near top. How if i want to just change the requirement amount, maybe 50 bronze coin, 30 silver coin, and 20 gold coin ? I've search in all folder db or conf or script and not found to setting it. so i think this is from SRC. Thanks Quote Link to comment Share on other sites More sharing options...
0 Azarth Posted October 14, 2018 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 26 Reputation: 0 Joined: 05/28/14 Last Seen: June 8, 2019 Share Posted October 14, 2018 On 8/4/2018 at 12:02 PM, dikapramantya said: Hi rAthena. I want to ask, how to edit Lucky Roulette feature item requirement. The default is using 1 Bronze Coin to start from lower, 10 Silver Coin to start from middle, 10 gold coin to start from near top. How if i want to just change the requirement amount, maybe 50 bronze coin, 30 silver coin, and 20 gold coin ? I've search in all folder db or conf or script and not found to setting it. so i think this is from SRC. Thanks Did you found a solution? looking for the same Quote Link to comment Share on other sites More sharing options...
0 t3quila Posted October 23, 2018 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 36 Reputation: 4 Joined: 04/16/12 Last Seen: December 9, 2018 Share Posted October 23, 2018 in clif.cpp You can find in there if( !sd->roulette.stage && sd->roulette_point.bronze <= 0 && sd->roulette_point.silver < 10 && sd->roulette_point.gold < 10 ){ result = GENERATE_ROULETTE_NO_ENOUGH_POINT; }else{ if (!sd->roulette.stage) { if (sd->roulette_point.bronze > 0) { sd->roulette_point.bronze -= 1; pc_setreg2(sd, ROULETTE_BRONZE_VAR, sd->roulette_point.bronze); } else if (sd->roulette_point.silver > 9) { sd->roulette_point.silver -= 10; sd->roulette.stage = 2; pc_setreg2(sd, ROULETTE_SILVER_VAR, sd->roulette_point.silver); } else if (sd->roulette_point.gold > 9) { sd->roulette_point.gold -= 10; sd->roulette.stage = 4; pc_setreg2(sd, ROULETTE_GOLD_VAR, sd->roulette_point.gold); } } (dont forget recompile) 1 1 Quote Link to comment Share on other sites More sharing options...
Question
dikapramantya
Hi rAthena.
I want to ask, how to edit Lucky Roulette feature item requirement.
The default is using 1 Bronze Coin to start from lower, 10 Silver Coin to start from middle, 10 gold coin to start from near top.
How if i want to just change the requirement amount, maybe 50 bronze coin, 30 silver coin, and 20 gold coin ?
I've search in all folder db or conf or script and not found to setting it. so i think this is from SRC.
Thanks
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.