summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-01 16:08:43 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-01 16:08:43 +0000
commit5c7ca41032aec98589071c485eccf695f594638c (patch)
tree111c87d1fabc1d57b8f244b869bb88f9594caf1a
parentb7cf835a58442dcaa18eed2848ea56f207426d1d (diff)
downloadhercules-5c7ca41032aec98589071c485eccf695f594638c.tar.gz
hercules-5c7ca41032aec98589071c485eccf695f594638c.tar.bz2
hercules-5c7ca41032aec98589071c485eccf695f594638c.tar.xz
hercules-5c7ca41032aec98589071c485eccf695f594638c.zip
- Should have fixed the cooking sets not displaying all cooking available items.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8036 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--Changelog-Trunk.txt2
-rw-r--r--src/map/skill.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt
index 7b86b2dba..0148af9e0 100644
--- a/Changelog-Trunk.txt
+++ b/Changelog-Trunk.txt
@@ -4,6 +4,8 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
2006/08/01
+ * Should have fixed the cooking sets not displaying all cooking available
+ items. [Skotlex]
* Figured out and fixed the issue with Volcano/Deluge/Violent Gale not
really working. Thanks to Mpeg for noting it out. [Skotlex]
* Modified Self Destruction, so that Marine Spheres in non-versus maps will
diff --git a/src/map/skill.c b/src/map/skill.c
index 5ab0754dd..c7ea8ef5d 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -10175,7 +10175,7 @@ int skill_can_produce_mix (struct map_session_data *sd, int nameid, int trigger,
if(skill_produce_db[i].itemlv!=trigger)
return 0;
} else if(trigger>10) { // Food (any item level between 10 and 20 will do)
- if(skill_produce_db[i].itemlv<=10)
+ if(skill_produce_db[i].itemlv>10 && skill_produce_db[i].itemlv<=20)
return 0;
} else { // Weapon (itemlv must be higher or equal)
if(skill_produce_db[i].itemlv>trigger)