Issue information

Issue ID
#2807
Status
Duplicate
Severity
None
Started
Hercules Elf Bot
Feb 27, 2009 1:47
Last Post
Hercules Elf Bot
Feb 27, 2009 1:47
Confirmation
N/A

Hercules Elf Bot - Feb 27, 2009 1:47

Originally posted by [b]Epse[/b]
http://www.eathena.ws/board/index.php?autocom=bugtracker&showbug=2807

CODE
                {    //Assume Cooking Dish
                    if (sd->menuskill_val >= 15) //Legendary Cooking Set.
                        make_per = 10000; //100% Success
                    else
                        make_per = 1200*(sd->menuskill_val-10) //12% chance per set level.
                            + 7000 - 700*(skill_produce_db[idx].itemlv-10); //70% - 7% per dish level
                    break;


http://svn.eathena.ws/svn/ea/trunk/src/map/skill.c

That`s the actual formula. Yet, according to iRO Wiki, DEX and LUK should affect the cooking success attempt.
According to doddler`s calc, each cooking success would increase 0.05% in cooking formula, to a maximum of 20% (400 success attempts).
Cooking food level would make it harder with 5% per cooking level...

http://rode.doddlercon.com/db/cooking/cookcalc.php

Level 1: -5%
Level 2: -10%
Level 3: -15%
Level 4: -20%

And it goes on...

So, the actual formula would be:
DEX * 0.2 + LUK * 0.1 + Cooking Experience Rate + Cooking Set Chance + Cooking Food Level

With 180 DEX, 186 LUK, 400 Success attempts, level 8 food, professional cooking kit:

Base success rate from stats: +64.6
Experience Modifier: +20
Cooking Kit Modifier: +36
Food Difficulty Modifier: -40

Final Success Rate: 80.6%

Against actual 50% rate of level 8 foods.

I hope this formula is fixed. It has been bugging me sometime now, and I really hope this one gets fixed.

P.s.: sorry for the small post. I have done a bigger and better one, yet, forgot to activate account.

@edit

Sorry if I posted at the wrong area. Please, move the topic if it`s at the wrong area. Sorry for it.

Regards,
Epse

This post has been edited by Epse: Feb 26 2009, 09:51 PM