Fixed skill learn after class change.

Thanks Sdw for the pointers.
This commit is contained in:
MobiusDev
2016-12-22 14:43:54 +00:00
parent 67fe2b56b6
commit 42d3a8cf68
18 changed files with 41 additions and 176 deletions

View File

@@ -1171,7 +1171,7 @@ public final class SkillTreesData implements IGameXmlReader
switch (skillType)
{
case CLASS:
sl = getClassSkill(id, lvl, player.getLearningClass());
sl = getClassSkill(id, lvl, player.getClassId());
break;
case TRANSFORM:
sl = getTransformSkill(id, lvl);