summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-02-04 10:18:56 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-02-04 10:18:56 +0000
commit4a7c98801d7faea446738b23f9a2f59899ef7ceb (patch)
tree881007a40c831bc3fc7489cf6f2155247cdd175b /src
parentb317caf7a7de3b2a4a64613aee576fd595aaca14 (diff)
downloadhercules-4a7c98801d7faea446738b23f9a2f59899ef7ceb.tar.gz
hercules-4a7c98801d7faea446738b23f9a2f59899ef7ceb.tar.bz2
hercules-4a7c98801d7faea446738b23f9a2f59899ef7ceb.tar.xz
hercules-4a7c98801d7faea446738b23f9a2f59899ef7ceb.zip
- Fixed a 'typo' which made my last commit actually not fix anything (Plagiarize can no longer copy skill levels beyond their max skill_db value)
- Corrected Diablo's Robe equip-level and weapon-level columns being exchanged. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12172 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 5bd4f3aed..4115d08d8 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -1602,7 +1602,7 @@ int skill_attack (int attack_type, struct block_list* src, struct block_list *ds
if ((type = pc_checkskill(tsd,RG_PLAGIARISM)) < lv)
lv = type;
//kRO Update makes it impossible to copy skills beyond the skill_db max.
- if ((type = skill_get_max(RG_PLAGIARISM)) < lv)
+ if ((type = skill_get_max(skillid)) < lv)
lv = type;
tsd->cloneskill_id = skillid;