diff --git a/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/EnchantItemData.xml b/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/EnchantItemData.xml index 6fdbedd4f3..ad03f4fb6a 100644 --- a/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/EnchantItemData.xml +++ b/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/EnchantItemData.xml @@ -101,7 +101,7 @@ - + @@ -153,6 +153,11 @@ + + + + + diff --git a/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/scripts/quests/Q10971_TalismanEnchant/Q10971_TalismanEnchant.java b/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/scripts/quests/Q10971_TalismanEnchant/Q10971_TalismanEnchant.java index cd6485de3d..4e9fd17aa8 100644 --- a/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/scripts/quests/Q10971_TalismanEnchant/Q10971_TalismanEnchant.java +++ b/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/scripts/quests/Q10971_TalismanEnchant/Q10971_TalismanEnchant.java @@ -18,6 +18,7 @@ package quests.Q10971_TalismanEnchant; import org.l2jmobius.gameserver.model.actor.Npc; import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; +import org.l2jmobius.gameserver.model.holders.ItemHolder; import org.l2jmobius.gameserver.model.items.instance.ItemInstance; import org.l2jmobius.gameserver.model.quest.Quest; import org.l2jmobius.gameserver.model.quest.QuestState; @@ -32,7 +33,9 @@ public class Q10971_TalismanEnchant extends Quest // NPC private static final int CAPTAIN_BATHIS = 30332; // Item - private static final int TALISMAN_OF_ADEN = 91745; + private static final ItemHolder TALISMAN_OF_ADEN = new ItemHolder(91745, 1); + private static final ItemHolder TALISMAN_OF_ADEN_ENCHANT = new ItemHolder(91756, 1); + // Misc private static final int MIN_LEVEL = 25; @@ -69,6 +72,15 @@ public class Q10971_TalismanEnchant extends Quest { qs.startQuest(); player.sendPacket(new ExTutorialShowId(47)); + // TODO: Find a better way to do this: Tempfix for not giving items when already have them in inventory (bugging abort and re-accepting). + if (player.getInventory().getItemsByItemId(TALISMAN_OF_ADEN.getId()).isEmpty()) + { + giveItems(player, TALISMAN_OF_ADEN); + } + if (player.getInventory().getItemsByItemId(TALISMAN_OF_ADEN_ENCHANT.getId()).isEmpty()) + { + giveItems(player, TALISMAN_OF_ADEN_ENCHANT); + } htmltext = event; break; } @@ -88,7 +100,7 @@ public class Q10971_TalismanEnchant extends Quest else if (qs.isStarted()) { boolean foundEnchant = false; - SEARCH: for (ItemInstance item : player.getInventory().getItemsByItemId(TALISMAN_OF_ADEN)) + SEARCH: for (ItemInstance item : player.getInventory().getItemsByItemId(TALISMAN_OF_ADEN.getId())) { if (item.getEnchantLevel() > 0) { diff --git a/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/scripts/quests/Q10974_NewStylishEquipment/Q10974_NewStylishEquipment.java b/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/scripts/quests/Q10974_NewStylishEquipment/Q10974_NewStylishEquipment.java index 07817abcb6..59e4a83116 100644 --- a/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/scripts/quests/Q10974_NewStylishEquipment/Q10974_NewStylishEquipment.java +++ b/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/scripts/quests/Q10974_NewStylishEquipment/Q10974_NewStylishEquipment.java @@ -77,8 +77,15 @@ public class Q10974_NewStylishEquipment extends Quest case "30857-03.htm": { qs.startQuest(); - giveItems(player, ENCHANT_SCROLL_ADVENTURER_SHEEP_HAT); - giveItems(player, ADVENTURER_SHEEP_HAT); + // TODO: Find a better way to do this: Tempfix for not giving items when already have them in inventory (bugging abort and re-accepting). + if (player.getInventory().getItemsByItemId(ADVENTURER_SHEEP_HAT.getId()).isEmpty()) + { + giveItems(player, ADVENTURER_SHEEP_HAT); + } + if (player.getInventory().getItemsByItemId(ENCHANT_SCROLL_ADVENTURER_SHEEP_HAT.getId()).isEmpty()) + { + giveItems(player, ENCHANT_SCROLL_ADVENTURER_SHEEP_HAT); + } htmltext = event; break; } @@ -108,8 +115,15 @@ public class Q10974_NewStylishEquipment extends Quest case "30857-05.html": { qs.startQuest(); - giveItems(player, ENCHANT_SCROLL_ADVENTURER_BELT); - giveItems(player, ADVENTURER_BELT); + // TODO: Find a better way to do this: Tempfix for not giving items when already have them in inventory (bugging abort and re-accepting). + if (player.getInventory().getItemsByItemId(ADVENTURER_BELT.getId()).isEmpty()) + { + giveItems(player, ADVENTURER_BELT); + } + if (player.getInventory().getItemsByItemId(ENCHANT_SCROLL_ADVENTURER_BELT.getId()).isEmpty()) + { + giveItems(player, ENCHANT_SCROLL_ADVENTURER_BELT); + } htmltext = event; break; } @@ -139,8 +153,15 @@ public class Q10974_NewStylishEquipment extends Quest case "30857-07.html": { qs.startQuest(); - giveItems(player, ENCHANT_SCROLL_ADVENTURER_CLOAK); - giveItems(player, ADVENTURER_CLOAK); + // TODO: Find a better way to do this: Tempfix for not giving items when already have them in inventory (bugging abort and re-accepting). + if (player.getInventory().getItemsByItemId(ADVENTURER_CLOAK.getId()).isEmpty()) + { + giveItems(player, ADVENTURER_CLOAK); + } + if (player.getInventory().getItemsByItemId(ENCHANT_SCROLL_ADVENTURER_CLOAK.getId()).isEmpty()) + { + giveItems(player, ENCHANT_SCROLL_ADVENTURER_CLOAK); + } htmltext = event; break; } diff --git a/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/stats/items/91700-91799.xml b/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/stats/items/91700-91799.xml index b8887b1559..3e60a65a67 100644 --- a/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/stats/items/91700-91799.xml +++ b/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/stats/items/91700-91799.xml @@ -303,12 +303,23 @@ - - - - - - + + + + + + + + + + + + + + + + + @@ -321,12 +332,23 @@ - - - - - - + + + + + + + + + + + + + + + + + diff --git a/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/stats/items/91900-91999.xml b/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/stats/items/91900-91999.xml index 24e7de39af..6a1dcd5d34 100644 --- a/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/stats/items/91900-91999.xml +++ b/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/stats/items/91900-91999.xml @@ -578,9 +578,11 @@ + + diff --git a/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/stats/skills/51400-51499.xml b/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/stats/skills/51400-51499.xml index 1c440b4245..69960cbef1 100644 --- a/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/stats/skills/51400-51499.xml +++ b/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/stats/skills/51400-51499.xml @@ -276,7 +276,29 @@ - A1 + 500 + 2 + 1 + 91725 + 1 + A1 + 5 + SELF + SINGLE + + + CASTER + LAWFUL + + + + + + -46868 + 148086 + -2968 + + @@ -284,7 +306,29 @@ - A1 + 500 + 2 + 1 + 91727 + 1 + A1 + 5 + SELF + SINGLE + + + CASTER + LAWFUL + + + + + + -42307 + 120810 + -3368 + + icon.etc_treasure_box_i04 diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/EnchantItemData.xml b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/EnchantItemData.xml index 6fdbedd4f3..ad03f4fb6a 100644 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/EnchantItemData.xml +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/EnchantItemData.xml @@ -101,7 +101,7 @@ - + @@ -153,6 +153,11 @@ + + + + + diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/Q10290_ATripBegins.java b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/Q10290_ATripBegins.java index 105bb14ab2..436fb3cd62 100644 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/Q10290_ATripBegins.java +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/Q10290_ATripBegins.java @@ -137,11 +137,28 @@ public class Q10290_ATripBegins extends Quest { showOnScreenMsg(player, NpcStringId.YOU_VE_GOT_ADVENTURER_S_BRACELET_AND_ADVENTURER_S_TALISMAN_NCOMPLETE_THE_TUTORIAL_AND_TRY_TO_USE_THE_TALISMAN, ExShowScreenMessage.TOP_CENTER, 10000); addExpAndSp(player, (ExperienceData.getInstance().getExpForLevel(25) + 100) - player.getExp(), 42000); - giveItems(player, BSOE_EVENT); - giveItems(player, ADVENTURERS_BRACELET); - giveItems(player, ADVENTURERS_TALISMAN); - giveItems(player, SCROLL_OF_ENCHANT_ADVENTURERS_TALISMAN); - giveItems(player, SCROLL_OF_ENCHANT_ADEN_WEAPON); + // TODO: find a better way to do this: Tempfix for not giving items when already have them in inventory (bugging abort and re-accepting). + if (player.getInventory().getItemsByItemId(BSOE_EVENT.getId()).size() <= 20) + { + // 20 due other quest rewards? Need to see for a possible to add a variable here. + giveItems(player, BSOE_EVENT); + } + if (player.getInventory().getItemsByItemId(ADVENTURERS_BRACELET.getId()).isEmpty()) + { + giveItems(player, ADVENTURERS_BRACELET); + } + if (player.getInventory().getItemsByItemId(ADVENTURERS_TALISMAN.getId()).isEmpty()) + { + giveItems(player, ADVENTURERS_TALISMAN); + } + if (player.getInventory().getItemsByItemId(SCROLL_OF_ENCHANT_ADVENTURERS_TALISMAN.getId()).isEmpty()) + { + giveItems(player, SCROLL_OF_ENCHANT_ADVENTURERS_TALISMAN); + } + if (player.getInventory().getItemsByItemId(SCROLL_OF_ENCHANT_ADEN_WEAPON.getId()).isEmpty()) + { + giveItems(player, SCROLL_OF_ENCHANT_ADEN_WEAPON); + } qs.exitQuest(false, true); htmltext = "30332-03.html"; } diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10971_TalismanEnchant/Q10971_TalismanEnchant.java b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10971_TalismanEnchant/Q10971_TalismanEnchant.java index cd6485de3d..4e9fd17aa8 100644 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10971_TalismanEnchant/Q10971_TalismanEnchant.java +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10971_TalismanEnchant/Q10971_TalismanEnchant.java @@ -18,6 +18,7 @@ package quests.Q10971_TalismanEnchant; import org.l2jmobius.gameserver.model.actor.Npc; import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; +import org.l2jmobius.gameserver.model.holders.ItemHolder; import org.l2jmobius.gameserver.model.items.instance.ItemInstance; import org.l2jmobius.gameserver.model.quest.Quest; import org.l2jmobius.gameserver.model.quest.QuestState; @@ -32,7 +33,9 @@ public class Q10971_TalismanEnchant extends Quest // NPC private static final int CAPTAIN_BATHIS = 30332; // Item - private static final int TALISMAN_OF_ADEN = 91745; + private static final ItemHolder TALISMAN_OF_ADEN = new ItemHolder(91745, 1); + private static final ItemHolder TALISMAN_OF_ADEN_ENCHANT = new ItemHolder(91756, 1); + // Misc private static final int MIN_LEVEL = 25; @@ -69,6 +72,15 @@ public class Q10971_TalismanEnchant extends Quest { qs.startQuest(); player.sendPacket(new ExTutorialShowId(47)); + // TODO: Find a better way to do this: Tempfix for not giving items when already have them in inventory (bugging abort and re-accepting). + if (player.getInventory().getItemsByItemId(TALISMAN_OF_ADEN.getId()).isEmpty()) + { + giveItems(player, TALISMAN_OF_ADEN); + } + if (player.getInventory().getItemsByItemId(TALISMAN_OF_ADEN_ENCHANT.getId()).isEmpty()) + { + giveItems(player, TALISMAN_OF_ADEN_ENCHANT); + } htmltext = event; break; } @@ -88,7 +100,7 @@ public class Q10971_TalismanEnchant extends Quest else if (qs.isStarted()) { boolean foundEnchant = false; - SEARCH: for (ItemInstance item : player.getInventory().getItemsByItemId(TALISMAN_OF_ADEN)) + SEARCH: for (ItemInstance item : player.getInventory().getItemsByItemId(TALISMAN_OF_ADEN.getId())) { if (item.getEnchantLevel() > 0) { diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10974_NewStylishEquipment/Q10974_NewStylishEquipment.java b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10974_NewStylishEquipment/Q10974_NewStylishEquipment.java index 252a1cfda8..ffe5807d62 100644 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10974_NewStylishEquipment/Q10974_NewStylishEquipment.java +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10974_NewStylishEquipment/Q10974_NewStylishEquipment.java @@ -79,8 +79,15 @@ public class Q10974_NewStylishEquipment extends Quest case "30857-03.htm": { qs.startQuest(); - giveItems(player, ENCHANT_SCROLL_ADVENTURER_SHEEP_HAT); - giveItems(player, ADVENTURER_SHEEP_HAT); + // TODO: Find a better way to do this: Tempfix for not giving items when already have them in inventory (bugging abort and re-accepting). + if (player.getInventory().getItemsByItemId(ADVENTURER_SHEEP_HAT.getId()).isEmpty()) + { + giveItems(player, ADVENTURER_SHEEP_HAT); + } + if (player.getInventory().getItemsByItemId(ENCHANT_SCROLL_ADVENTURER_SHEEP_HAT.getId()).isEmpty()) + { + giveItems(player, ENCHANT_SCROLL_ADVENTURER_SHEEP_HAT); + } htmltext = event; break; } @@ -110,8 +117,15 @@ public class Q10974_NewStylishEquipment extends Quest case "30857-05.html": { qs.startQuest(); - giveItems(player, ENCHANT_SCROLL_ADVENTURER_BELT); - giveItems(player, ADVENTURER_BELT); + // TODO: Find a better way to do this: Tempfix for not giving items when already have them in inventory (bugging abort and re-accepting). + if (player.getInventory().getItemsByItemId(ADVENTURER_BELT.getId()).isEmpty()) + { + giveItems(player, ADVENTURER_BELT); + } + if (player.getInventory().getItemsByItemId(ENCHANT_SCROLL_ADVENTURER_BELT.getId()).isEmpty()) + { + giveItems(player, ENCHANT_SCROLL_ADVENTURER_BELT); + } htmltext = event; break; } @@ -141,8 +155,15 @@ public class Q10974_NewStylishEquipment extends Quest case "30857-07.html": { qs.startQuest(); - giveItems(player, ENCHANT_SCROLL_ADVENTURER_CLOAK); - giveItems(player, ADVENTURER_CLOAK); + // TODO: Find a better way to do this: Tempfix for not giving items when already have them in inventory (bugging abort and re-accepting). + if (player.getInventory().getItemsByItemId(ADVENTURER_CLOAK.getId()).isEmpty()) + { + giveItems(player, ADVENTURER_CLOAK); + } + if (player.getInventory().getItemsByItemId(ENCHANT_SCROLL_ADVENTURER_CLOAK.getId()).isEmpty()) + { + giveItems(player, ENCHANT_SCROLL_ADVENTURER_CLOAK); + } htmltext = event; break; } diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/stats/items/91700-91799.xml b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/stats/items/91700-91799.xml index b8887b1559..3e60a65a67 100644 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/stats/items/91700-91799.xml +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/stats/items/91700-91799.xml @@ -303,12 +303,23 @@ - - - - - - + + + + + + + + + + + + + + + + + @@ -321,12 +332,23 @@ - - - - - - + + + + + + + + + + + + + + + + + diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/stats/items/91900-91999.xml b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/stats/items/91900-91999.xml index 24e7de39af..6a1dcd5d34 100644 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/stats/items/91900-91999.xml +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/stats/items/91900-91999.xml @@ -578,9 +578,11 @@ + + diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/stats/items/95500-95599.xml b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/stats/items/95500-95599.xml index fc9173304b..3966f450cf 100644 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/stats/items/95500-95599.xml +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/stats/items/95500-95599.xml @@ -791,33 +791,63 @@ - - - - - - - + + + + + + + + + + + + + + + + + - - - - - - - + + + + + + + + + + + + + + + + + - - - - - - - + + + + + + + + + + + + + + + + + diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/stats/items/95600-95699.xml b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/stats/items/95600-95699.xml index ec520ba1c9..9c245f467a 100644 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/stats/items/95600-95699.xml +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/stats/items/95600-95699.xml @@ -1036,11 +1036,17 @@ - - - - - + + + + + + + + + + + diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/stats/skills/40200-40299.xml b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/stats/skills/40200-40299.xml index d731787cf1..79b4f4f79a 100644 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/stats/skills/40200-40299.xml +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/stats/skills/40200-40299.xml @@ -522,22 +522,87 @@ - icon.skill0000 - A1 + 500 + 2 + 1 + 95586 + 1 + A1 + 5 + SELF + SINGLE + + + CASTER + LAWFUL + + + + + + 102609 + 56031 + -4032 + + - icon.skill0000 - A1 + + 500 + 2 + 1 + 95587 + 1 + A1 + 5 + SELF + SINGLE + + + CASTER + LAWFUL + + + + + + 105091 + 57525 + -3928 + + icon.skill0000 A1 - + - icon.skill0000 - A1 + 500 + 2 + 1 + 95588 + 1 + A1 + 5 + SELF + SINGLE + + + CASTER + LAWFUL + + + + + + 105068 + 57525 + -3936 + + + diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/stats/skills/40300-40399.xml b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/stats/skills/40300-40399.xml index 3012e559d9..f9ce675a39 100644 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/stats/skills/40300-40399.xml +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/stats/skills/40300-40399.xml @@ -191,9 +191,14 @@ A1 - - icon.skill0000 - A1 + icon.giant_item_equip + A1 + 2 + 1 + 5 + 0 + ITEM + SINGLE diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/stats/skills/51400-51499.xml b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/stats/skills/51400-51499.xml index 69e34e4038..7114e05341 100644 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/stats/skills/51400-51499.xml +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/stats/skills/51400-51499.xml @@ -276,7 +276,29 @@ - A1 + 500 + 2 + 1 + 91725 + 1 + A1 + 5 + SELF + SINGLE + + + CASTER + LAWFUL + + + + + + -46868 + 148086 + -2968 + + @@ -284,7 +306,29 @@ - A1 + 500 + 2 + 1 + 91727 + 1 + A1 + 5 + SELF + SINGLE + + + CASTER + LAWFUL + + + + + + -42307 + 120810 + -3368 + + icon.etc_treasure_box_i04 diff --git a/L2J_Mobius_Essence_5.0_Sylph/java/org/l2jmobius/gameserver/network/clientpackets/RequestEnchantItem.java b/L2J_Mobius_Essence_5.0_Sylph/java/org/l2jmobius/gameserver/network/clientpackets/RequestEnchantItem.java index 12088f22bd..7b615e18a7 100644 --- a/L2J_Mobius_Essence_5.0_Sylph/java/org/l2jmobius/gameserver/network/clientpackets/RequestEnchantItem.java +++ b/L2J_Mobius_Essence_5.0_Sylph/java/org/l2jmobius/gameserver/network/clientpackets/RequestEnchantItem.java @@ -129,7 +129,8 @@ public class RequestEnchantItem implements IClientIncomingPacket } // fast auto-enchant cheat check - if ((request.getTimestamp() == 0) || ((Chronos.currentTimeMillis() - request.getTimestamp()) < 2000)) + // Lowered value to 500 (from 2000) On Sylph, some enchantments are much faster than normal ones + if ((request.getTimestamp() == 0) || ((Chronos.currentTimeMillis() - request.getTimestamp()) < 500)) { Util.handleIllegalPlayerAction(player, "Player " + player.getName() + " use autoenchant program ", Config.DEFAULT_PUNISH); player.removeRequest(request.getClass());