summaryrefslogtreecommitdiff
path: root/src/map/skill.c
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 /src/map/skill.c
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
Diffstat (limited to 'src/map/skill.c')
-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 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)