Jump to content

Question

Posted

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

2 answers to this question

Recommended Posts

  • 0
Posted
if (.@chance >= .@passrate) {
	goto sureball_refine;
} else {
	goto fail_refine;
}

change to

if (rand(100) < .@passrate) {
	goto sureball_refine;
} else {
	goto fail_refine;
}

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...