heRO-Server Forum

Full Version: Pet Capturing Formula
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.
Go pokeball!
Formula wise, RO is child's play compare to the pokeball complexity >_<;

Click at own risk
So much for pokemon being simple children's video game >.>;
Reference URL's