diff --git a/L2J_Mobius_1.0_Ertheia/java/com/l2jmobius/gameserver/model/actor/instance/L2MonsterInstance.java b/L2J_Mobius_1.0_Ertheia/java/com/l2jmobius/gameserver/model/actor/instance/L2MonsterInstance.java index 0985488e6d..35cb265650 100644 --- a/L2J_Mobius_1.0_Ertheia/java/com/l2jmobius/gameserver/model/actor/instance/L2MonsterInstance.java +++ b/L2J_Mobius_1.0_Ertheia/java/com/l2jmobius/gameserver/model/actor/instance/L2MonsterInstance.java @@ -247,6 +247,7 @@ public class L2MonsterInstance extends L2Attackable // Might need some exceptions here, but it will prevent the monster buffing player bug. if (!skill.isBad() && (getTarget() != null) && getTarget().isPlayer()) { + abortCast(); return; } super.doCast(skill, item, ctrlPressed, shiftPressed); diff --git a/L2J_Mobius_2.5_Underground/java/com/l2jmobius/gameserver/model/actor/instance/L2MonsterInstance.java b/L2J_Mobius_2.5_Underground/java/com/l2jmobius/gameserver/model/actor/instance/L2MonsterInstance.java index 0985488e6d..35cb265650 100644 --- a/L2J_Mobius_2.5_Underground/java/com/l2jmobius/gameserver/model/actor/instance/L2MonsterInstance.java +++ b/L2J_Mobius_2.5_Underground/java/com/l2jmobius/gameserver/model/actor/instance/L2MonsterInstance.java @@ -247,6 +247,7 @@ public class L2MonsterInstance extends L2Attackable // Might need some exceptions here, but it will prevent the monster buffing player bug. if (!skill.isBad() && (getTarget() != null) && getTarget().isPlayer()) { + abortCast(); return; } super.doCast(skill, item, ctrlPressed, shiftPressed); diff --git a/L2J_Mobius_3.0_Helios/java/com/l2jmobius/gameserver/model/actor/instance/L2MonsterInstance.java b/L2J_Mobius_3.0_Helios/java/com/l2jmobius/gameserver/model/actor/instance/L2MonsterInstance.java index 0985488e6d..35cb265650 100644 --- a/L2J_Mobius_3.0_Helios/java/com/l2jmobius/gameserver/model/actor/instance/L2MonsterInstance.java +++ b/L2J_Mobius_3.0_Helios/java/com/l2jmobius/gameserver/model/actor/instance/L2MonsterInstance.java @@ -247,6 +247,7 @@ public class L2MonsterInstance extends L2Attackable // Might need some exceptions here, but it will prevent the monster buffing player bug. if (!skill.isBad() && (getTarget() != null) && getTarget().isPlayer()) { + abortCast(); return; } super.doCast(skill, item, ctrlPressed, shiftPressed); diff --git a/L2J_Mobius_4.0_GrandCrusade/java/com/l2jmobius/gameserver/model/actor/instance/L2MonsterInstance.java b/L2J_Mobius_4.0_GrandCrusade/java/com/l2jmobius/gameserver/model/actor/instance/L2MonsterInstance.java index 0985488e6d..35cb265650 100644 --- a/L2J_Mobius_4.0_GrandCrusade/java/com/l2jmobius/gameserver/model/actor/instance/L2MonsterInstance.java +++ b/L2J_Mobius_4.0_GrandCrusade/java/com/l2jmobius/gameserver/model/actor/instance/L2MonsterInstance.java @@ -247,6 +247,7 @@ public class L2MonsterInstance extends L2Attackable // Might need some exceptions here, but it will prevent the monster buffing player bug. if (!skill.isBad() && (getTarget() != null) && getTarget().isPlayer()) { + abortCast(); return; } super.doCast(skill, item, ctrlPressed, shiftPressed); diff --git a/L2J_Mobius_CT_2.6_HighFive/java/com/l2jmobius/gameserver/model/actor/instance/L2MonsterInstance.java b/L2J_Mobius_CT_2.6_HighFive/java/com/l2jmobius/gameserver/model/actor/instance/L2MonsterInstance.java index f1abd8c1e7..84a018e26d 100644 --- a/L2J_Mobius_CT_2.6_HighFive/java/com/l2jmobius/gameserver/model/actor/instance/L2MonsterInstance.java +++ b/L2J_Mobius_CT_2.6_HighFive/java/com/l2jmobius/gameserver/model/actor/instance/L2MonsterInstance.java @@ -241,6 +241,8 @@ public class L2MonsterInstance extends L2Attackable // Might need some exceptions here, but it will prevent the monster buffing player bug. if (!skill.isBad() && (getTarget() != null) && getTarget().isPlayer()) { + setIsCastingNow(false); + setIsCastingSimultaneouslyNow(false); return; } super.doCast(skill, target, targets); diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/com/l2jmobius/gameserver/model/actor/instance/L2MonsterInstance.java b/L2J_Mobius_Classic_2.0_Saviors/java/com/l2jmobius/gameserver/model/actor/instance/L2MonsterInstance.java index 0985488e6d..35cb265650 100644 --- a/L2J_Mobius_Classic_2.0_Saviors/java/com/l2jmobius/gameserver/model/actor/instance/L2MonsterInstance.java +++ b/L2J_Mobius_Classic_2.0_Saviors/java/com/l2jmobius/gameserver/model/actor/instance/L2MonsterInstance.java @@ -247,6 +247,7 @@ public class L2MonsterInstance extends L2Attackable // Might need some exceptions here, but it will prevent the monster buffing player bug. if (!skill.isBad() && (getTarget() != null) && getTarget().isPlayer()) { + abortCast(); return; } super.doCast(skill, item, ctrlPressed, shiftPressed); diff --git a/L2J_Mobius_Classic_2.0_Zaken/java/com/l2jmobius/gameserver/model/actor/instance/L2MonsterInstance.java b/L2J_Mobius_Classic_2.0_Zaken/java/com/l2jmobius/gameserver/model/actor/instance/L2MonsterInstance.java index 0985488e6d..35cb265650 100644 --- a/L2J_Mobius_Classic_2.0_Zaken/java/com/l2jmobius/gameserver/model/actor/instance/L2MonsterInstance.java +++ b/L2J_Mobius_Classic_2.0_Zaken/java/com/l2jmobius/gameserver/model/actor/instance/L2MonsterInstance.java @@ -247,6 +247,7 @@ public class L2MonsterInstance extends L2Attackable // Might need some exceptions here, but it will prevent the monster buffing player bug. if (!skill.isBad() && (getTarget() != null) && getTarget().isPlayer()) { + abortCast(); return; } super.doCast(skill, item, ctrlPressed, shiftPressed);