From d67f4835213ef2c9fc4ab736ee66235248e3e8c4 Mon Sep 17 00:00:00 2001 From: MobiusDevelopment Date: Mon, 8 May 2023 10:55:43 +0300 Subject: [PATCH] Removal of ScrollOfEscape C4 adjustments. Contributed by emilianoify. --- .../gameserver/handler/itemhandlers/ScrollOfEscape.java | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/L2J_Mobius_C4_ScionsOfDestiny/java/org/l2jmobius/gameserver/handler/itemhandlers/ScrollOfEscape.java b/L2J_Mobius_C4_ScionsOfDestiny/java/org/l2jmobius/gameserver/handler/itemhandlers/ScrollOfEscape.java index 16e81c0d78..f92817e35e 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/java/org/l2jmobius/gameserver/handler/itemhandlers/ScrollOfEscape.java +++ b/L2J_Mobius_C4_ScionsOfDestiny/java/org/l2jmobius/gameserver/handler/itemhandlers/ScrollOfEscape.java @@ -154,12 +154,7 @@ public class ScrollOfEscape implements IItemHandler sm3.addItemName(itemId); player.sendPacket(sm3); - int escapeSkill = (itemId == 1538) || (itemId == 5858) || (itemId == 5859) || (itemId == 3958) || (itemId == 10130) ? 2036 : 2013; - // C4 adjustment. - if ((escapeSkill == 2036) || (escapeSkill == 2177) || (escapeSkill == 2178)) - { - escapeSkill = 2013; - } + final int escapeSkill = (itemId == 1538) || (itemId == 5858) || (itemId == 5859) || (itemId == 3958) || (itemId == 10130) ? 2036 : 2013; if (!player.destroyItem("Consume", item.getObjectId(), 1, null, false)) { return;