Тестировалось на l2jfree Gracia Part 2
Code
Index: D:/workspace/l2jfree-core/src/main/java/com/l2jfree/gameserver/model/base/SubClass.java
===================================================================
--- D:/workspace/l2jfree-core/src/main/java/com/l2jfree/gameserver/model/base/SubClass.java (revision 5002)
+++ D:/workspace/l2jfree-core/src/main/java/com/l2jfree/gameserver/model/base/SubClass.java (working copy)
@@ -88,8 +88,8 @@
public void setExp(long expValue)
{
- if (expValue > (Experience.LEVEL[81] - 1))
- expValue = (Experience.LEVEL[81] - 1);
+ if (expValue > (Experience.LEVEL[86] - 1))
+ expValue = (Experience.LEVEL[86] - 1);
_exp = expValue;
}
@@ -106,8 +106,8 @@
public void setLevel(byte levelValue)
{
- if (levelValue > 80)
- levelValue = 80;
+ if (levelValue > 85)
+ levelValue = 85;
else if (levelValue < 40)
levelValue = 40;
@@ -116,7 +116,7 @@
public void incLevel()
{
- if (getLevel() == 80)
+ if (getLevel() == 85)
return;
_level++;