heRO-Server Forum
Pet Capturing Formula - Printable Version

+- heRO-Server Forum (https://www.pandoraonline.net/forum)
+-- Forum: Game Related (/forumdisplay.php?fid=1)
+--- Forum: General (/forumdisplay.php?fid=2)
+--- Thread: Pet Capturing Formula (/showthread.php?tid=15871)



Pet Capturing Formula - Namine - 08-05-2010 02:23 PM

Main discussions are serious business, because we're all e-thugs.



pet_catch_rate = (pet_db[i].capture + (sd->status.base_level - md->level)*30 + sd->battle_status.luk*20)*(200 - get_percentage(md->status.hp, md->status.max_hp))/100;

if(pet_catch_rate < 1) pet_catch_rate = 1; //just means that you cannot suck more than catch rate of 1

if(rand()%10000 < pet_catch_rate)

(insert giant source code here, blah blah blah but it means pet capture then)




I'm pretty confident that it's not a fixed percentage to the point where you randomly toss tames at it and hope for the best... at the very least, it's pretty easy to see that lowering the monster's hp as much as possible, has a definite effect. Luck seems to have a role as well, so next time in poring tame, pump up the luk stat. The level related variable indicates that your base level compare to the monster's base level also matters, so base level counts.

The so-called "innate governed percentage" exist, but is only part of the formula as part of the pet_db.

All in all, to increase capture rate: lower its hp as much as possible, raise your own luck, and do it with your highest base level character.


RE: Pet Capturing Formula - loveapples - 08-05-2010 05:19 PM

Go pokeball!


RE: Pet Capturing Formula - Namine - 08-05-2010 05:26 PM

Formula wise, RO is child's play compare to the pokeball complexity >_<;

Click at own risk


RE: Pet Capturing Formula - Mara - 08-05-2010 06:11 PM

So much for pokemon being simple children's video game >.>;