Fixed error upon trying to enchant a skill.

Contributed by rocknowx.
This commit is contained in:
MobiusDev
2015-11-11 21:44:41 +00:00
parent 49cc78e61e
commit 78a37d558b

View File

@ -62,8 +62,8 @@ public final class L2EnchantSkillGroup
_adenaCost = set.getInt("adena", 0); _adenaCost = set.getInt("adena", 0);
_expCost = set.getInt("exp", 0); _expCost = set.getInt("exp", 0);
_spCost = set.getInt("sp", 0); _spCost = set.getInt("sp", 0);
_rate = new byte[24]; _rate = new byte[32];
for (int i = 0; i < 24; i++) for (int i = 0; i < 32; i++)
{ {
_rate[i] = set.getByte("chance" + (76 + i), (byte) 0); _rate[i] = set.getByte("chance" + (76 + i), (byte) 0);
} }