Fixed error upon trying to enchant a skill.
Contributed by rocknowx.
This commit is contained in:
@ -62,8 +62,8 @@ public final class L2EnchantSkillGroup
|
||||
_adenaCost = set.getInt("adena", 0);
|
||||
_expCost = set.getInt("exp", 0);
|
||||
_spCost = set.getInt("sp", 0);
|
||||
_rate = new byte[24];
|
||||
for (int i = 0; i < 24; i++)
|
||||
_rate = new byte[32];
|
||||
for (int i = 0; i < 32; i++)
|
||||
{
|
||||
_rate[i] = set.getByte("chance" + (76 + i), (byte) 0);
|
||||
}
|
||||
|
Reference in New Issue
Block a user