Jump to content
  • 0

Question

Posted

Hello rAthena Community...

I was wondering can we change the luck to get catch an egg?..?

Example... I got one taming item like errr.... Unripe Apple....
It will catch poring is it?..?
When we try to catch poring the will be a slot machine right...
How to change the randomness of succesfull to getting thier egg???

 

 

 

Thanks..  ^ ^

4 answers to this question

Recommended Posts

Posted

conf/battle/pet.conf:

 

// Rate for catching pets (Note 2)
pet_catch_rate: 100

 

Making it 200 will double the success rate. This will change the catch rate for all taming items.

  • Upvote 2
Posted

Means more higher number be put then ore higher chance to get it?..?

Just want to make it 50-50 to catch and egg...
Look like the original..  ^ ^

Posted

Yes, putting it at a higher number will increase the pet catch rate.

 

Leaving it at 100 is official. Catching a pet is not a 50/50 chance (there are many factors that go into the formula for catching a pet) so that is something you will have to change. If you want it to be a 50/50 chance then you need to change the formula in the source. You will need to change (in /src/map/pet.c):

 

    if(rnd()%10000 < pet_catch_rate)

to

 

    if(rnd()%2 < 1)

 

Don't forget to recompile.

Posted
 

 

Leaving it at 100 is official.

 

 

 

Since you were state that 100 was the official... I would not like to change it anymore... 
System default is the best... ^ ^ 
Thank

Sir..

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...