simplyniceweb Posted April 20, 2020 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 10 Reputation: 0 Joined: 03/24/20 Last Seen: April 29, 2023 Share Posted April 20, 2020 So i've made my own custom refine script. What i am missing is the chances or the formula. Like: +1 - +5 = 100% chance of success +6 = 80% chance of success - 20% chance of failing +7 = 60% chance of success - 40% chance of failing +8 = 40% chance of success - 60% chance of failing +9 = 20% chance of success - 80% chance of failing +10 = 10% chance of success - 90% chance of failing here's my custom script: https://gist.github.com/simplyniceweb/6536f6a34bdae8604f9803f9357b9659 Quote Link to comment Share on other sites More sharing options...
0 blakbord Posted April 20, 2020 Group: Members Topic Count: 30 Topics Per Day: 0.01 Content Count: 108 Reputation: 1 Joined: 02/10/12 Last Seen: March 10, 2024 Share Posted April 20, 2020 why not use the default refine.txt then change the success rate of refining at /db/(pre)re/refine.txt? Quote Link to comment Share on other sites More sharing options...
0 Emistry Posted May 1, 2020 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted May 1, 2020 if (.@chance >= .@passrate) { goto sureball_refine; } else { goto fail_refine; } change to if (rand(100) < .@passrate) { goto sureball_refine; } else { goto fail_refine; } Quote Link to comment Share on other sites More sharing options...
Question
simplyniceweb
So i've made my own custom refine script. What i am missing is the chances or the formula.
Like:
+1 - +5 = 100% chance of success
+6 = 80% chance of success - 20% chance of failing
+7 = 60% chance of success - 40% chance of failing
+8 = 40% chance of success - 60% chance of failing
+9 = 20% chance of success - 80% chance of failing
+10 = 10% chance of success - 90% chance of failing
here's my custom script:
https://gist.github.com/simplyniceweb/6536f6a34bdae8604f9803f9357b9659
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.