summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-09 15:47:27 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-09 15:47:27 +0000
commit5734049e69b964ed9ef4ccb164f5bbc0bd7f2199 (patch)
treec37cfd8b7396f70acf0664a855086037981b3e1d /src
parent6b3afaa16407c0fd85ef739bbcb7ecf38a51ad93 (diff)
downloadhercules-5734049e69b964ed9ef4ccb164f5bbc0bd7f2199.tar.gz
hercules-5734049e69b964ed9ef4ccb164f5bbc0bd7f2199.tar.bz2
hercules-5734049e69b964ed9ef4ccb164f5bbc0bd7f2199.tar.xz
hercules-5734049e69b964ed9ef4ccb164f5bbc0bd7f2199.zip
- Fixed cooking chance of sets being 1.2% per set instead of 12%
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7593 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/map/skill.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 16094e289..aaf572d42 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -10087,7 +10087,7 @@ 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 = 120*(sd->menuskill_lv-10) //12% chance per set level.
+ make_per = 1200*(sd->menuskill_lv-10) //12% chance per set level.
+ 7000 - 700*(skill_produce_db[idx].itemlv-10); //70% - 7% per dish level
break;
}