diff options
-rw-r--r-- | Changelog-Trunk.txt | 2 | ||||
-rw-r--r-- | src/map/pc.c | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt index cbc877c13..f5d101a50 100644 --- a/Changelog-Trunk.txt +++ b/Changelog-Trunk.txt @@ -3,6 +3,8 @@ Date Added AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO INTO TRUNK. IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK. +2010/01/16 + * Fixed items don't grant skill if you had this skill before and then changed your job. [Inkfish] 2010/01/14 * Fixed change cart packet doesn't check for skill. [Inkfish] * Added new packets for Plagiarism. [Inkfish] diff --git a/src/map/pc.c b/src/map/pc.c index c853bd452..56b3fd990 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -2981,9 +2981,9 @@ int pc_skill(TBL_PC* sd, int id, int level, int flag) sd->status.skill[id].lv += level; break; case 1: //Item bonus skill. - if( sd->status.skill[id].lv >= level ) - return 0; if( sd->status.skill[id].id == id ){ + if( sd->status.skill[id].lv >= level ) + return 0; if( !sd->status.skill[id].flag ) //Non-granted skill, store it's level. sd->status.skill[id].flag = sd->status.skill[id].lv + 2; } else { |