AllHailToTheKing Posted May 21, 2012 Group: Members Topic Count: 54 Topics Per Day: 0.01 Content Count: 235 Reputation: 1 Joined: 11/22/11 Last Seen: May 26, 2014 Share 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 Link to comment Share on other sites More sharing options...
malufett Posted May 21, 2012 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 554 Reputation: 70 Joined: 04/04/12 Last Seen: November 8, 2013 Share 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 Link to comment Share on other sites More sharing options...
Question
AllHailToTheKing
hello. i just want to ask if where can i edit the chance of the success of making foods and converter?
Thanks
Link to comment
Share on other sites
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.