Jump to content
  • 0

[Ask] How to edit the success rate refine from "enrich Ori/Elu"


azharfal1812

Question


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  25
  • Reputation:   0
  • Joined:  12/02/14
  • Last Seen:  

Like the tittle I want edit the success rate from Enrich elu/Ori. Like we know, the enrich give more percentage to success rate in refine item dan elunium or oridecon. Can help me someone?Thx Before.

Link to comment
Share on other sites

1 answer to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  36
  • Reputation:   5
  • Joined:  02/01/12
  • Last Seen:  

Like the tittle I want edit the success rate from Enrich elu/Ori. Like we know, the enrich give more percentage to success rate in refine item dan elunium or oridecon. Can help me someone?Thx Before.

 

 

Enriched minerals using chances of normal minerals, but trying to roll them 2 times until success. They don't have their own chances. You can edit this behavior here: https://github.com/rathena/rathena/blob/master/npc/merchants/advanced_refiner.txt#L81

 

 

[2014-10-16 12:35:43] <mathibas> is there a way i could increase the refine success of enriched stuff?

[2014-10-16 12:45:38] <Nebraskka> mathibas, it's right in the refiner script: https://github.com/rathena/rathena/blob/master/npc/merchants/advanced_refiner.txt#L81

[2014-10-16 12:47:35] <mathibas> Nebraskka, yeah i have read that but how?

[2014-10-16 12:48:05] <Nebraskka> mathibas, dunno, what do you want to change?

[2014-10-16 12:48:37] <mathibas> Nebraskka, just increase the rate

[2014-10-16 12:54:22] <Nebraskka> mathibas, did you checked this? https://github.com/rathena/rathena/blob/master/db/re/refine_db.txt

[2014-10-16 12:54:40] <mathibas> yes

[2014-10-16 12:56:03] <Nebraskka> you can change them here <3

[2014-10-16 12:56:15] <mathibas> but thats the normal right?

[2014-10-16 12:56:37] <Nebraskka> oh wait

[2014-10-16 12:57:35] * [Neo] ([email protected]) joins #rathena

[2014-10-16 12:58:25] <Nebraskka> mathibas, what do you mean?

[2014-10-16 12:59:39] <mathibas> Nebraskka, that refine_db is for the normal elu and ori?

[2014-10-16 12:59:54] <Nebraskka> mathibas, yes

[2014-10-16 13:00:06] <Nebraskka> enriched one not changing chanses, it's only doubling the try

[2014-10-16 13:00:17] <Nebraskka> like in first URL i mentioned

[2014-10-16 13:00:21] <mathibas> Nebraskka, ah so if i increased it in the refine db

[2014-10-16 13:00:33] <mathibas> it should be increased as well?

[2014-10-16 13:02:22] <Nebraskka> well... yes, but i didn't understanding what are you trying to do. Enriched minerals not changing chances, it's only doubling the try of normal chances, mentioned in refine_db.

[2014-10-16 13:02:44] <Nebraskka> Changing them here will change chances for every mineral, even not enriched one

[2014-10-16 13:03:09] <Nebraskka> So if you want, for example, not double but triple chance of enriched, do this:

[2014-10-16 13:03:17] <Nebraskka> if (getequippercentrefinery(.@part) > rand(100) || getequippercentrefinery(.@part) > rand(100) || getequippercentrefinery(.@part) > rand(100)) {

[2014-10-16 13:04:53] <mathibas> ic

[2014-10-16 13:05:31] <Nebraskka> <3

[2014-10-16 13:32:24] <ultramage> wasn't enriched just supposed to let you re-roll again if the first one failed?

[2014-10-16 13:32:33] <ultramage> oh, that's what it does :D

[2014-10-16 13:32:51] <ultramage> rolling 3 times doesn't really equate to tripling the chance, you know

[2014-10-16 13:33:59] <ultramage> it increases it from p to 100 - (100 - p)^n

[2014-10-16 13:34:14] <[Neo]> ultramath

[2014-10-16 13:34:21] <ultramage> div 100

[2014-10-16 13:38:12] <ultramage> it only equates when p = around 10% :)

Link to comment
Share on other sites

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.

×
×
  • Create New...