AllHailToTheKing Posted May 21, 2012 Posted May 21, 2012 hello. i just want to ask if where can i edit the chance of the success of making foods and converter? Thanks Quote
malufett Posted May 21, 2012 Posted May 21, 2012 @skill.c - making food default: if (sd->menuskill_id == AM_PHARMACY && sd->menuskill_val > 10 && sd->menuskill_val <= 20) { //Assume Cooking Dish if (sd->menuskill_val >= 15) //Legendary Cooking Set. make_per = 10000; //100% Success else make_per = 1200 * (sd->menuskill_val - 10) + 20 * (sd->status.base_level + 1) + 20 * (status->dex + 1) + 100 * (rnd()%(30+5*(sd->cook_mastery/400) - (6+sd->cook_mastery/80)) + (6+sd->cook_mastery/80)) - 400 * (skill_produce_db[idx].itemlv - 11 + 1) - 10 * (100 - status->luk + 1) - 500 * (num - 1) - 100 * (rnd()%4 + 1); break; } make_per = 5000; break; for converters case SA_CREATECON: // Elemental Converter Creation make_per = 100000; // should be 100% success rate break; Quote
Question
AllHailToTheKing
hello. i just want to ask if where can i edit the chance of the success of making foods and converter?
Thanks
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.