diff --git a/L2J_Mobius_1.0_Ertheia/java/com/l2jmobius/gameserver/engines/items/DocumentItem.java b/L2J_Mobius_1.0_Ertheia/java/com/l2jmobius/gameserver/engines/items/DocumentItem.java index c425e3360c..a12bad8802 100644 --- a/L2J_Mobius_1.0_Ertheia/java/com/l2jmobius/gameserver/engines/items/DocumentItem.java +++ b/L2J_Mobius_1.0_Ertheia/java/com/l2jmobius/gameserver/engines/items/DocumentItem.java @@ -159,7 +159,7 @@ public final class DocumentItem extends DocumentBase implements IGameXmlReader final int id = parseInteger(b.getAttributes(), "id"); final int level = parseInteger(b.getAttributes(), "level"); final ItemSkillType type = parseEnum(b.getAttributes(), ItemSkillType.class, "type", ItemSkillType.NORMAL); - final int chance = parseInteger(b.getAttributes(), "type_chance", 0); + final int chance = parseInteger(b.getAttributes(), "type_chance", 100); final int value = parseInteger(b.getAttributes(), "type_value", 0); _currentItem.item.addSkill(new ItemSkillHolder(id, level, type, chance, value)); } diff --git a/L2J_Mobius_2.5_Underground/java/com/l2jmobius/gameserver/engines/items/DocumentItem.java b/L2J_Mobius_2.5_Underground/java/com/l2jmobius/gameserver/engines/items/DocumentItem.java index c425e3360c..a12bad8802 100644 --- a/L2J_Mobius_2.5_Underground/java/com/l2jmobius/gameserver/engines/items/DocumentItem.java +++ b/L2J_Mobius_2.5_Underground/java/com/l2jmobius/gameserver/engines/items/DocumentItem.java @@ -159,7 +159,7 @@ public final class DocumentItem extends DocumentBase implements IGameXmlReader final int id = parseInteger(b.getAttributes(), "id"); final int level = parseInteger(b.getAttributes(), "level"); final ItemSkillType type = parseEnum(b.getAttributes(), ItemSkillType.class, "type", ItemSkillType.NORMAL); - final int chance = parseInteger(b.getAttributes(), "type_chance", 0); + final int chance = parseInteger(b.getAttributes(), "type_chance", 100); final int value = parseInteger(b.getAttributes(), "type_value", 0); _currentItem.item.addSkill(new ItemSkillHolder(id, level, type, chance, value)); } diff --git a/L2J_Mobius_3.0_Helios/java/com/l2jmobius/gameserver/engines/items/DocumentItem.java b/L2J_Mobius_3.0_Helios/java/com/l2jmobius/gameserver/engines/items/DocumentItem.java index c425e3360c..a12bad8802 100644 --- a/L2J_Mobius_3.0_Helios/java/com/l2jmobius/gameserver/engines/items/DocumentItem.java +++ b/L2J_Mobius_3.0_Helios/java/com/l2jmobius/gameserver/engines/items/DocumentItem.java @@ -159,7 +159,7 @@ public final class DocumentItem extends DocumentBase implements IGameXmlReader final int id = parseInteger(b.getAttributes(), "id"); final int level = parseInteger(b.getAttributes(), "level"); final ItemSkillType type = parseEnum(b.getAttributes(), ItemSkillType.class, "type", ItemSkillType.NORMAL); - final int chance = parseInteger(b.getAttributes(), "type_chance", 0); + final int chance = parseInteger(b.getAttributes(), "type_chance", 100); final int value = parseInteger(b.getAttributes(), "type_value", 0); _currentItem.item.addSkill(new ItemSkillHolder(id, level, type, chance, value)); } diff --git a/L2J_Mobius_4.0_GrandCrusade/java/com/l2jmobius/gameserver/engines/items/DocumentItem.java b/L2J_Mobius_4.0_GrandCrusade/java/com/l2jmobius/gameserver/engines/items/DocumentItem.java index c425e3360c..a12bad8802 100644 --- a/L2J_Mobius_4.0_GrandCrusade/java/com/l2jmobius/gameserver/engines/items/DocumentItem.java +++ b/L2J_Mobius_4.0_GrandCrusade/java/com/l2jmobius/gameserver/engines/items/DocumentItem.java @@ -159,7 +159,7 @@ public final class DocumentItem extends DocumentBase implements IGameXmlReader final int id = parseInteger(b.getAttributes(), "id"); final int level = parseInteger(b.getAttributes(), "level"); final ItemSkillType type = parseEnum(b.getAttributes(), ItemSkillType.class, "type", ItemSkillType.NORMAL); - final int chance = parseInteger(b.getAttributes(), "type_chance", 0); + final int chance = parseInteger(b.getAttributes(), "type_chance", 100); final int value = parseInteger(b.getAttributes(), "type_value", 0); _currentItem.item.addSkill(new ItemSkillHolder(id, level, type, chance, value)); } diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/com/l2jmobius/gameserver/engines/items/DocumentItem.java b/L2J_Mobius_Classic_2.0_Saviors/java/com/l2jmobius/gameserver/engines/items/DocumentItem.java index c425e3360c..a12bad8802 100644 --- a/L2J_Mobius_Classic_2.0_Saviors/java/com/l2jmobius/gameserver/engines/items/DocumentItem.java +++ b/L2J_Mobius_Classic_2.0_Saviors/java/com/l2jmobius/gameserver/engines/items/DocumentItem.java @@ -159,7 +159,7 @@ public final class DocumentItem extends DocumentBase implements IGameXmlReader final int id = parseInteger(b.getAttributes(), "id"); final int level = parseInteger(b.getAttributes(), "level"); final ItemSkillType type = parseEnum(b.getAttributes(), ItemSkillType.class, "type", ItemSkillType.NORMAL); - final int chance = parseInteger(b.getAttributes(), "type_chance", 0); + final int chance = parseInteger(b.getAttributes(), "type_chance", 100); final int value = parseInteger(b.getAttributes(), "type_value", 0); _currentItem.item.addSkill(new ItemSkillHolder(id, level, type, chance, value)); } diff --git a/L2J_Mobius_Classic_2.0_Zaken/java/com/l2jmobius/gameserver/engines/items/DocumentItem.java b/L2J_Mobius_Classic_2.0_Zaken/java/com/l2jmobius/gameserver/engines/items/DocumentItem.java index c425e3360c..a12bad8802 100644 --- a/L2J_Mobius_Classic_2.0_Zaken/java/com/l2jmobius/gameserver/engines/items/DocumentItem.java +++ b/L2J_Mobius_Classic_2.0_Zaken/java/com/l2jmobius/gameserver/engines/items/DocumentItem.java @@ -159,7 +159,7 @@ public final class DocumentItem extends DocumentBase implements IGameXmlReader final int id = parseInteger(b.getAttributes(), "id"); final int level = parseInteger(b.getAttributes(), "level"); final ItemSkillType type = parseEnum(b.getAttributes(), ItemSkillType.class, "type", ItemSkillType.NORMAL); - final int chance = parseInteger(b.getAttributes(), "type_chance", 0); + final int chance = parseInteger(b.getAttributes(), "type_chance", 100); final int value = parseInteger(b.getAttributes(), "type_value", 0); _currentItem.item.addSkill(new ItemSkillHolder(id, level, type, chance, value)); }