diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-07-07 13:48:54 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-07-07 13:48:54 +0000 |
commit | bda4ddd3612d2ba0d6abf62bb2ccf4c9f3b33e2b (patch) | |
tree | 91ec492c387e7e9886e1c74c6953f34530c2a3e9 /src/map | |
parent | 2479f55a86fc2919805e4f38f6ae556f2f045fd4 (diff) | |
download | hercules-bda4ddd3612d2ba0d6abf62bb2ccf4c9f3b33e2b.tar.gz hercules-bda4ddd3612d2ba0d6abf62bb2ccf4c9f3b33e2b.tar.bz2 hercules-bda4ddd3612d2ba0d6abf62bb2ccf4c9f3b33e2b.tar.xz hercules-bda4ddd3612d2ba0d6abf62bb2ccf4c9f3b33e2b.zip |
- Fixed signed/unsigned comparison issues in the char txt/sql server.
- Fixed the cooking success chances. Thanks to Ishizu Chan.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7560 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/skill.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index 1aac9f22c..5c020b76d 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -10085,8 +10085,8 @@ int skill_produce_mix (struct map_session_data *sd, int skill_id, int nameid, in if (sd->menuskill_lv >= 15) //Legendary Cooking Set. make_per = 10000; //100% Success else - make_per = 12*(sd->menuskill_lv-10) //12% chance per set level. - + 700 - 70*(skill_produce_db[idx].itemlv-10); //70% - 7% per dish level + make_per = 120*(sd->menuskill_lv-10) //12% chance per set level. + + 7000 - 700*(skill_produce_db[idx].itemlv-10); //70% - 7% per dish level break; } make_per = 5000; |