From 0b9d2b81734a73dc10a6178ba19c525b3e3281e0 Mon Sep 17 00:00:00 2001 From: MobiusDevelopment <8391001+MobiusDevelopment@users.noreply.github.com> Date: Wed, 9 Oct 2019 09:40:28 +0000 Subject: [PATCH] Removed auto soulshot request grade check. --- .../gameserver/network/clientpackets/RequestAutoSoulShot.java | 2 +- .../gameserver/network/clientpackets/RequestAutoSoulShot.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/network/clientpackets/RequestAutoSoulShot.java b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/network/clientpackets/RequestAutoSoulShot.java index b63f0d1ac2..7806c1c540 100644 --- a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/network/clientpackets/RequestAutoSoulShot.java +++ b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/network/clientpackets/RequestAutoSoulShot.java @@ -156,7 +156,7 @@ public class RequestAutoSoulShot implements IClientIncomingPacket final boolean isSoulshot = item.getEtcItem().getDefaultAction() == ActionType.SOULSHOT; final boolean isSpiritshot = item.getEtcItem().getDefaultAction() == ActionType.SPIRITSHOT; final boolean isFishingshot = item.getEtcItem().getDefaultAction() == ActionType.FISHINGSHOT; - if ((player.getActiveWeaponItem() == player.getFistsWeaponItem()) || (item.getItem().getCrystalType() != player.getActiveWeaponItem().getCrystalTypePlus())) + if (player.getActiveWeaponItem() == player.getFistsWeaponItem()) { client.sendPacket(isSoulshot ? SystemMessageId.THE_SOULSHOT_YOU_ARE_ATTEMPTING_TO_USE_DOES_NOT_MATCH_THE_GRADE_OF_YOUR_EQUIPPED_WEAPON : SystemMessageId.YOUR_SPIRITSHOT_DOES_NOT_MATCH_THE_WEAPON_S_GRADE); return; diff --git a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/network/clientpackets/RequestAutoSoulShot.java b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/network/clientpackets/RequestAutoSoulShot.java index aec72a780f..5196443046 100644 --- a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/network/clientpackets/RequestAutoSoulShot.java +++ b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/network/clientpackets/RequestAutoSoulShot.java @@ -156,7 +156,7 @@ public class RequestAutoSoulShot implements IClientIncomingPacket final boolean isSoulshot = item.getEtcItem().getDefaultAction() == ActionType.SOULSHOT; final boolean isSpiritshot = item.getEtcItem().getDefaultAction() == ActionType.SPIRITSHOT; final boolean isFishingshot = item.getEtcItem().getDefaultAction() == ActionType.FISHINGSHOT; - if ((player.getActiveWeaponItem() == player.getFistsWeaponItem()) || (item.getItem().getCrystalType() != player.getActiveWeaponItem().getCrystalTypePlus())) + if (player.getActiveWeaponItem() == player.getFistsWeaponItem()) { client.sendPacket(isSoulshot ? SystemMessageId.THE_SOULSHOT_YOU_ARE_ATTEMPTING_TO_USE_DOES_NOT_MATCH_THE_GRADE_OF_YOUR_EQUIPPED_WEAPON : SystemMessageId.YOUR_SPIRITSHOT_DOES_NOT_MATCH_THE_WEAPON_S_GRADE); return;