From 4a7c98801d7faea446738b23f9a2f59899ef7ceb Mon Sep 17 00:00:00 2001 From: skotlex Date: Mon, 4 Feb 2008 10:18:56 +0000 Subject: - 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 --- src/map/skill.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/skill.c') 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; -- cgit v1.2.3-70-g09d2