I fixed it, THANKS
Index: /Others/Gm Pack/Game v2.2/java/net/sf/l2j/gameserver/skills/Formulas.java
===================================================================
--- /Others/Gm Pack/Game v2.2/java/net/sf/l2j/gameserver/skills/Formulas.java (revision 619)
+++ /Others/Gm Pack/Game v2.2/java/net/sf/l2j/gameserver/skills/Formulas.java (revision 633)
@@ -1627,10 +1624,12 @@
public double calcSkillStatModifier(SkillType type, L2Character target)
{
double multiplier = 1;
if (type == null) return multiplier;
+ try
+ {
switch (type)
{
case STUN:
case BLEED:
multiplier = 2 - Math.sqrt(CONbonus[target.getCON()]);
@@ -1650,10 +1649,14 @@
multiplier = 2 - Math.sqrt(MENbonus[target.getMEN()]);
break;
default:
return multiplier;
}
+ } catch (ArrayIndexOutOfBoundsException e)
+ {
+ _log.warning("Character "+target.getName()+" has been set (by a GM?) a MEN or CON stat value out of accepted range");
+ }
if (multiplier < 0)
multiplier = 0;
return multiplier;
}