dikapramantya Posted August 4, 2018 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
0 Azarth Posted October 14, 2018 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
0 t3quila Posted October 23, 2018 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
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
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.