Commented SkillCaster checkUseConditions event AoE check.
Thanks to Drusker.
This commit is contained in:
parent
a9e8d98373
commit
6d7197bdb4
@ -1192,14 +1192,15 @@ public class SkillCaster implements Runnable
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (skill.isBad() && !player.isOnSoloEvent())
|
// Commented because AOE skills like Warlord's [Thunder Storm] (44) and debuffs like Overlord's [Seal of Binding] (1208) do not work when targeting an enemy from the other team.
|
||||||
{
|
// if (skill.isBad() && !player.isOnSoloEvent())
|
||||||
final WorldObject target = player.getTarget();
|
// {
|
||||||
if ((target != null) && target.isPlayable() && (player.getTeam() == target.getActingPlayer().getTeam()))
|
// final WorldObject target = player.getTarget();
|
||||||
{
|
// if ((target != null) && target.isPlayable() && (player.getTeam() == target.getActingPlayer().getTeam()))
|
||||||
return false;
|
// {
|
||||||
}
|
// return false;
|
||||||
}
|
// }
|
||||||
|
// }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
@ -1192,14 +1192,15 @@ public class SkillCaster implements Runnable
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (skill.isBad() && !player.isOnSoloEvent())
|
// Commented because AOE skills like Warlord's [Thunder Storm] (44) and debuffs like Overlord's [Seal of Binding] (1208) do not work when targeting an enemy from the other team.
|
||||||
{
|
// if (skill.isBad() && !player.isOnSoloEvent())
|
||||||
final WorldObject target = player.getTarget();
|
// {
|
||||||
if ((target != null) && target.isPlayable() && (player.getTeam() == target.getActingPlayer().getTeam()))
|
// final WorldObject target = player.getTarget();
|
||||||
{
|
// if ((target != null) && target.isPlayable() && (player.getTeam() == target.getActingPlayer().getTeam()))
|
||||||
return false;
|
// {
|
||||||
}
|
// return false;
|
||||||
}
|
// }
|
||||||
|
// }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
@ -1192,14 +1192,15 @@ public class SkillCaster implements Runnable
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (skill.isBad() && !player.isOnSoloEvent())
|
// Commented because AOE skills like Warlord's [Thunder Storm] (44) and debuffs like Overlord's [Seal of Binding] (1208) do not work when targeting an enemy from the other team.
|
||||||
{
|
// if (skill.isBad() && !player.isOnSoloEvent())
|
||||||
final WorldObject target = player.getTarget();
|
// {
|
||||||
if ((target != null) && target.isPlayable() && (player.getTeam() == target.getActingPlayer().getTeam()))
|
// final WorldObject target = player.getTarget();
|
||||||
{
|
// if ((target != null) && target.isPlayable() && (player.getTeam() == target.getActingPlayer().getTeam()))
|
||||||
return false;
|
// {
|
||||||
}
|
// return false;
|
||||||
}
|
// }
|
||||||
|
// }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
@ -1192,14 +1192,15 @@ public class SkillCaster implements Runnable
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (skill.isBad() && !player.isOnSoloEvent())
|
// Commented because AOE skills like Warlord's [Thunder Storm] (44) and debuffs like Overlord's [Seal of Binding] (1208) do not work when targeting an enemy from the other team.
|
||||||
{
|
// if (skill.isBad() && !player.isOnSoloEvent())
|
||||||
final WorldObject target = player.getTarget();
|
// {
|
||||||
if ((target != null) && target.isPlayable() && (player.getTeam() == target.getActingPlayer().getTeam()))
|
// final WorldObject target = player.getTarget();
|
||||||
{
|
// if ((target != null) && target.isPlayable() && (player.getTeam() == target.getActingPlayer().getTeam()))
|
||||||
return false;
|
// {
|
||||||
}
|
// return false;
|
||||||
}
|
// }
|
||||||
|
// }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
@ -1192,14 +1192,15 @@ public class SkillCaster implements Runnable
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (skill.isBad() && !player.isOnSoloEvent())
|
// Commented because AOE skills like Warlord's [Thunder Storm] (44) and debuffs like Overlord's [Seal of Binding] (1208) do not work when targeting an enemy from the other team.
|
||||||
{
|
// if (skill.isBad() && !player.isOnSoloEvent())
|
||||||
final WorldObject target = player.getTarget();
|
// {
|
||||||
if ((target != null) && target.isPlayable() && (player.getTeam() == target.getActingPlayer().getTeam()))
|
// final WorldObject target = player.getTarget();
|
||||||
{
|
// if ((target != null) && target.isPlayable() && (player.getTeam() == target.getActingPlayer().getTeam()))
|
||||||
return false;
|
// {
|
||||||
}
|
// return false;
|
||||||
}
|
// }
|
||||||
|
// }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
@ -1192,14 +1192,15 @@ public class SkillCaster implements Runnable
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (skill.isBad() && !player.isOnSoloEvent())
|
// Commented because AOE skills like Warlord's [Thunder Storm] (44) and debuffs like Overlord's [Seal of Binding] (1208) do not work when targeting an enemy from the other team.
|
||||||
{
|
// if (skill.isBad() && !player.isOnSoloEvent())
|
||||||
final WorldObject target = player.getTarget();
|
// {
|
||||||
if ((target != null) && target.isPlayable() && (player.getTeam() == target.getActingPlayer().getTeam()))
|
// final WorldObject target = player.getTarget();
|
||||||
{
|
// if ((target != null) && target.isPlayable() && (player.getTeam() == target.getActingPlayer().getTeam()))
|
||||||
return false;
|
// {
|
||||||
}
|
// return false;
|
||||||
}
|
// }
|
||||||
|
// }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
@ -1192,14 +1192,15 @@ public class SkillCaster implements Runnable
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (skill.isBad() && !player.isOnSoloEvent())
|
// Commented because AOE skills like Warlord's [Thunder Storm] (44) and debuffs like Overlord's [Seal of Binding] (1208) do not work when targeting an enemy from the other team.
|
||||||
{
|
// if (skill.isBad() && !player.isOnSoloEvent())
|
||||||
final WorldObject target = player.getTarget();
|
// {
|
||||||
if ((target != null) && target.isPlayable() && (player.getTeam() == target.getActingPlayer().getTeam()))
|
// final WorldObject target = player.getTarget();
|
||||||
{
|
// if ((target != null) && target.isPlayable() && (player.getTeam() == target.getActingPlayer().getTeam()))
|
||||||
return false;
|
// {
|
||||||
}
|
// return false;
|
||||||
}
|
// }
|
||||||
|
// }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
@ -1192,14 +1192,15 @@ public class SkillCaster implements Runnable
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (skill.isBad() && !player.isOnSoloEvent())
|
// Commented because AOE skills like Warlord's [Thunder Storm] (44) and debuffs like Overlord's [Seal of Binding] (1208) do not work when targeting an enemy from the other team.
|
||||||
{
|
// if (skill.isBad() && !player.isOnSoloEvent())
|
||||||
final WorldObject target = player.getTarget();
|
// {
|
||||||
if ((target != null) && target.isPlayable() && (player.getTeam() == target.getActingPlayer().getTeam()))
|
// final WorldObject target = player.getTarget();
|
||||||
{
|
// if ((target != null) && target.isPlayable() && (player.getTeam() == target.getActingPlayer().getTeam()))
|
||||||
return false;
|
// {
|
||||||
}
|
// return false;
|
||||||
}
|
// }
|
||||||
|
// }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
@ -1194,14 +1194,15 @@ public class SkillCaster implements Runnable
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (skill.isBad() && !player.isOnSoloEvent())
|
// Commented because AOE skills like Warlord's [Thunder Storm] (44) and debuffs like Overlord's [Seal of Binding] (1208) do not work when targeting an enemy from the other team.
|
||||||
{
|
// if (skill.isBad() && !player.isOnSoloEvent())
|
||||||
final WorldObject target = player.getTarget();
|
// {
|
||||||
if ((target != null) && target.isPlayable() && (player.getTeam() == target.getActingPlayer().getTeam()))
|
// final WorldObject target = player.getTarget();
|
||||||
{
|
// if ((target != null) && target.isPlayable() && (player.getTeam() == target.getActingPlayer().getTeam()))
|
||||||
return false;
|
// {
|
||||||
}
|
// return false;
|
||||||
}
|
// }
|
||||||
|
// }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
@ -1226,14 +1226,15 @@ public class SkillCaster implements Runnable
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (skill.isBad() && !player.isOnSoloEvent())
|
// Commented because AOE skills like Warlord's [Thunder Storm] (44) and debuffs like Overlord's [Seal of Binding] (1208) do not work when targeting an enemy from the other team.
|
||||||
{
|
// if (skill.isBad() && !player.isOnSoloEvent())
|
||||||
final WorldObject target = player.getTarget();
|
// {
|
||||||
if ((target != null) && target.isPlayable() && (player.getTeam() == target.getActingPlayer().getTeam()))
|
// final WorldObject target = player.getTarget();
|
||||||
{
|
// if ((target != null) && target.isPlayable() && (player.getTeam() == target.getActingPlayer().getTeam()))
|
||||||
return false;
|
// {
|
||||||
}
|
// return false;
|
||||||
}
|
// }
|
||||||
|
// }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
@ -1226,14 +1226,15 @@ public class SkillCaster implements Runnable
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (skill.isBad() && !player.isOnSoloEvent())
|
// Commented because AOE skills like Warlord's [Thunder Storm] (44) and debuffs like Overlord's [Seal of Binding] (1208) do not work when targeting an enemy from the other team.
|
||||||
{
|
// if (skill.isBad() && !player.isOnSoloEvent())
|
||||||
final WorldObject target = player.getTarget();
|
// {
|
||||||
if ((target != null) && target.isPlayable() && (player.getTeam() == target.getActingPlayer().getTeam()))
|
// final WorldObject target = player.getTarget();
|
||||||
{
|
// if ((target != null) && target.isPlayable() && (player.getTeam() == target.getActingPlayer().getTeam()))
|
||||||
return false;
|
// {
|
||||||
}
|
// return false;
|
||||||
}
|
// }
|
||||||
|
// }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
@ -1226,14 +1226,15 @@ public class SkillCaster implements Runnable
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (skill.isBad() && !player.isOnSoloEvent())
|
// Commented because AOE skills like Warlord's [Thunder Storm] (44) and debuffs like Overlord's [Seal of Binding] (1208) do not work when targeting an enemy from the other team.
|
||||||
{
|
// if (skill.isBad() && !player.isOnSoloEvent())
|
||||||
final WorldObject target = player.getTarget();
|
// {
|
||||||
if ((target != null) && target.isPlayable() && (player.getTeam() == target.getActingPlayer().getTeam()))
|
// final WorldObject target = player.getTarget();
|
||||||
{
|
// if ((target != null) && target.isPlayable() && (player.getTeam() == target.getActingPlayer().getTeam()))
|
||||||
return false;
|
// {
|
||||||
}
|
// return false;
|
||||||
}
|
// }
|
||||||
|
// }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
@ -1226,14 +1226,15 @@ public class SkillCaster implements Runnable
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (skill.isBad() && !player.isOnSoloEvent())
|
// Commented because AOE skills like Warlord's [Thunder Storm] (44) and debuffs like Overlord's [Seal of Binding] (1208) do not work when targeting an enemy from the other team.
|
||||||
{
|
// if (skill.isBad() && !player.isOnSoloEvent())
|
||||||
final WorldObject target = player.getTarget();
|
// {
|
||||||
if ((target != null) && target.isPlayable() && (player.getTeam() == target.getActingPlayer().getTeam()))
|
// final WorldObject target = player.getTarget();
|
||||||
{
|
// if ((target != null) && target.isPlayable() && (player.getTeam() == target.getActingPlayer().getTeam()))
|
||||||
return false;
|
// {
|
||||||
}
|
// return false;
|
||||||
}
|
// }
|
||||||
|
// }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
@ -1192,14 +1192,15 @@ public class SkillCaster implements Runnable
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (skill.isBad() && !player.isOnSoloEvent())
|
// Commented because AOE skills like Warlord's [Thunder Storm] (44) and debuffs like Overlord's [Seal of Binding] (1208) do not work when targeting an enemy from the other team.
|
||||||
{
|
// if (skill.isBad() && !player.isOnSoloEvent())
|
||||||
final WorldObject target = player.getTarget();
|
// {
|
||||||
if ((target != null) && target.isPlayable() && (player.getTeam() == target.getActingPlayer().getTeam()))
|
// final WorldObject target = player.getTarget();
|
||||||
{
|
// if ((target != null) && target.isPlayable() && (player.getTeam() == target.getActingPlayer().getTeam()))
|
||||||
return false;
|
// {
|
||||||
}
|
// return false;
|
||||||
}
|
// }
|
||||||
|
// }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
@ -1192,14 +1192,15 @@ public class SkillCaster implements Runnable
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (skill.isBad() && !player.isOnSoloEvent())
|
// Commented because AOE skills like Warlord's [Thunder Storm] (44) and debuffs like Overlord's [Seal of Binding] (1208) do not work when targeting an enemy from the other team.
|
||||||
{
|
// if (skill.isBad() && !player.isOnSoloEvent())
|
||||||
final WorldObject target = player.getTarget();
|
// {
|
||||||
if ((target != null) && target.isPlayable() && (player.getTeam() == target.getActingPlayer().getTeam()))
|
// final WorldObject target = player.getTarget();
|
||||||
{
|
// if ((target != null) && target.isPlayable() && (player.getTeam() == target.getActingPlayer().getTeam()))
|
||||||
return false;
|
// {
|
||||||
}
|
// return false;
|
||||||
}
|
// }
|
||||||
|
// }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
@ -1192,14 +1192,15 @@ public class SkillCaster implements Runnable
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (skill.isBad() && !player.isOnSoloEvent())
|
// Commented because AOE skills like Warlord's [Thunder Storm] (44) and debuffs like Overlord's [Seal of Binding] (1208) do not work when targeting an enemy from the other team.
|
||||||
{
|
// if (skill.isBad() && !player.isOnSoloEvent())
|
||||||
final WorldObject target = player.getTarget();
|
// {
|
||||||
if ((target != null) && target.isPlayable() && (player.getTeam() == target.getActingPlayer().getTeam()))
|
// final WorldObject target = player.getTarget();
|
||||||
{
|
// if ((target != null) && target.isPlayable() && (player.getTeam() == target.getActingPlayer().getTeam()))
|
||||||
return false;
|
// {
|
||||||
}
|
// return false;
|
||||||
}
|
// }
|
||||||
|
// }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
@ -1192,14 +1192,15 @@ public class SkillCaster implements Runnable
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (skill.isBad() && !player.isOnSoloEvent())
|
// Commented because AOE skills like Warlord's [Thunder Storm] (44) and debuffs like Overlord's [Seal of Binding] (1208) do not work when targeting an enemy from the other team.
|
||||||
{
|
// if (skill.isBad() && !player.isOnSoloEvent())
|
||||||
final WorldObject target = player.getTarget();
|
// {
|
||||||
if ((target != null) && target.isPlayable() && (player.getTeam() == target.getActingPlayer().getTeam()))
|
// final WorldObject target = player.getTarget();
|
||||||
{
|
// if ((target != null) && target.isPlayable() && (player.getTeam() == target.getActingPlayer().getTeam()))
|
||||||
return false;
|
// {
|
||||||
}
|
// return false;
|
||||||
}
|
// }
|
||||||
|
// }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
@ -1192,14 +1192,15 @@ public class SkillCaster implements Runnable
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (skill.isBad() && !player.isOnSoloEvent())
|
// Commented because AOE skills like Warlord's [Thunder Storm] (44) and debuffs like Overlord's [Seal of Binding] (1208) do not work when targeting an enemy from the other team.
|
||||||
{
|
// if (skill.isBad() && !player.isOnSoloEvent())
|
||||||
final WorldObject target = player.getTarget();
|
// {
|
||||||
if ((target != null) && target.isPlayable() && (player.getTeam() == target.getActingPlayer().getTeam()))
|
// final WorldObject target = player.getTarget();
|
||||||
{
|
// if ((target != null) && target.isPlayable() && (player.getTeam() == target.getActingPlayer().getTeam()))
|
||||||
return false;
|
// {
|
||||||
}
|
// return false;
|
||||||
}
|
// }
|
||||||
|
// }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
@ -1192,14 +1192,15 @@ public class SkillCaster implements Runnable
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (skill.isBad() && !player.isOnSoloEvent())
|
// Commented because AOE skills like Warlord's [Thunder Storm] (44) and debuffs like Overlord's [Seal of Binding] (1208) do not work when targeting an enemy from the other team.
|
||||||
{
|
// if (skill.isBad() && !player.isOnSoloEvent())
|
||||||
final WorldObject target = player.getTarget();
|
// {
|
||||||
if ((target != null) && target.isPlayable() && (player.getTeam() == target.getActingPlayer().getTeam()))
|
// final WorldObject target = player.getTarget();
|
||||||
{
|
// if ((target != null) && target.isPlayable() && (player.getTeam() == target.getActingPlayer().getTeam()))
|
||||||
return false;
|
// {
|
||||||
}
|
// return false;
|
||||||
}
|
// }
|
||||||
|
// }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
@ -1192,14 +1192,15 @@ public class SkillCaster implements Runnable
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (skill.isBad() && !player.isOnSoloEvent())
|
// Commented because AOE skills like Warlord's [Thunder Storm] (44) and debuffs like Overlord's [Seal of Binding] (1208) do not work when targeting an enemy from the other team.
|
||||||
{
|
// if (skill.isBad() && !player.isOnSoloEvent())
|
||||||
final WorldObject target = player.getTarget();
|
// {
|
||||||
if ((target != null) && target.isPlayable() && (player.getTeam() == target.getActingPlayer().getTeam()))
|
// final WorldObject target = player.getTarget();
|
||||||
{
|
// if ((target != null) && target.isPlayable() && (player.getTeam() == target.getActingPlayer().getTeam()))
|
||||||
return false;
|
// {
|
||||||
}
|
// return false;
|
||||||
}
|
// }
|
||||||
|
// }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
@ -1192,14 +1192,15 @@ public class SkillCaster implements Runnable
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (skill.isBad() && !player.isOnSoloEvent())
|
// Commented because AOE skills like Warlord's [Thunder Storm] (44) and debuffs like Overlord's [Seal of Binding] (1208) do not work when targeting an enemy from the other team.
|
||||||
{
|
// if (skill.isBad() && !player.isOnSoloEvent())
|
||||||
final WorldObject target = player.getTarget();
|
// {
|
||||||
if ((target != null) && target.isPlayable() && (player.getTeam() == target.getActingPlayer().getTeam()))
|
// final WorldObject target = player.getTarget();
|
||||||
{
|
// if ((target != null) && target.isPlayable() && (player.getTeam() == target.getActingPlayer().getTeam()))
|
||||||
return false;
|
// {
|
||||||
}
|
// return false;
|
||||||
}
|
// }
|
||||||
|
// }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
@ -1197,14 +1197,15 @@ public class SkillCaster implements Runnable
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (skill.isBad() && !player.isOnSoloEvent())
|
// Commented because AOE skills like Warlord's [Thunder Storm] (44) and debuffs like Overlord's [Seal of Binding] (1208) do not work when targeting an enemy from the other team.
|
||||||
{
|
// if (skill.isBad() && !player.isOnSoloEvent())
|
||||||
final WorldObject target = player.getTarget();
|
// {
|
||||||
if ((target != null) && target.isPlayable() && (player.getTeam() == target.getActingPlayer().getTeam()))
|
// final WorldObject target = player.getTarget();
|
||||||
{
|
// if ((target != null) && target.isPlayable() && (player.getTeam() == target.getActingPlayer().getTeam()))
|
||||||
return false;
|
// {
|
||||||
}
|
// return false;
|
||||||
}
|
// }
|
||||||
|
// }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
@ -1192,14 +1192,15 @@ public class SkillCaster implements Runnable
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (skill.isBad() && !player.isOnSoloEvent())
|
// Commented because AOE skills like Warlord's [Thunder Storm] (44) and debuffs like Overlord's [Seal of Binding] (1208) do not work when targeting an enemy from the other team.
|
||||||
{
|
// if (skill.isBad() && !player.isOnSoloEvent())
|
||||||
final WorldObject target = player.getTarget();
|
// {
|
||||||
if ((target != null) && target.isPlayable() && (player.getTeam() == target.getActingPlayer().getTeam()))
|
// final WorldObject target = player.getTarget();
|
||||||
{
|
// if ((target != null) && target.isPlayable() && (player.getTeam() == target.getActingPlayer().getTeam()))
|
||||||
return false;
|
// {
|
||||||
}
|
// return false;
|
||||||
}
|
// }
|
||||||
|
// }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
@ -1199,14 +1199,15 @@ public class SkillCaster implements Runnable
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (skill.isBad() && !player.isOnSoloEvent())
|
// Commented because AOE skills like Warlord's [Thunder Storm] (44) and debuffs like Overlord's [Seal of Binding] (1208) do not work when targeting an enemy from the other team.
|
||||||
{
|
// if (skill.isBad() && !player.isOnSoloEvent())
|
||||||
final WorldObject target = player.getTarget();
|
// {
|
||||||
if ((target != null) && target.isPlayable() && (player.getTeam() == target.getActingPlayer().getTeam()))
|
// final WorldObject target = player.getTarget();
|
||||||
{
|
// if ((target != null) && target.isPlayable() && (player.getTeam() == target.getActingPlayer().getTeam()))
|
||||||
return false;
|
// {
|
||||||
}
|
// return false;
|
||||||
}
|
// }
|
||||||
|
// }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
@ -1237,14 +1237,15 @@ public class SkillCaster implements Runnable
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (skill.isBad() && !player.isOnSoloEvent())
|
// Commented because AOE skills like Warlord's [Thunder Storm] (44) and debuffs like Overlord's [Seal of Binding] (1208) do not work when targeting an enemy from the other team.
|
||||||
{
|
// if (skill.isBad() && !player.isOnSoloEvent())
|
||||||
final WorldObject target = player.getTarget();
|
// {
|
||||||
if ((target != null) && target.isPlayable() && (player.getTeam() == target.getActingPlayer().getTeam()))
|
// final WorldObject target = player.getTarget();
|
||||||
{
|
// if ((target != null) && target.isPlayable() && (player.getTeam() == target.getActingPlayer().getTeam()))
|
||||||
return false;
|
// {
|
||||||
}
|
// return false;
|
||||||
}
|
// }
|
||||||
|
// }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
@ -1264,14 +1264,15 @@ public class SkillCaster implements Runnable
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (skill.isBad() && !player.isOnSoloEvent())
|
// Commented because AOE skills like Warlord's [Thunder Storm] (44) and debuffs like Overlord's [Seal of Binding] (1208) do not work when targeting an enemy from the other team.
|
||||||
{
|
// if (skill.isBad() && !player.isOnSoloEvent())
|
||||||
final WorldObject target = player.getTarget();
|
// {
|
||||||
if ((target != null) && target.isPlayable() && (player.getTeam() == target.getActingPlayer().getTeam()))
|
// final WorldObject target = player.getTarget();
|
||||||
{
|
// if ((target != null) && target.isPlayable() && (player.getTeam() == target.getActingPlayer().getTeam()))
|
||||||
return false;
|
// {
|
||||||
}
|
// return false;
|
||||||
}
|
// }
|
||||||
|
// }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
@ -1264,14 +1264,15 @@ public class SkillCaster implements Runnable
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (skill.isBad() && !player.isOnSoloEvent())
|
// Commented because AOE skills like Warlord's [Thunder Storm] (44) and debuffs like Overlord's [Seal of Binding] (1208) do not work when targeting an enemy from the other team.
|
||||||
{
|
// if (skill.isBad() && !player.isOnSoloEvent())
|
||||||
final WorldObject target = player.getTarget();
|
// {
|
||||||
if ((target != null) && target.isPlayable() && (player.getTeam() == target.getActingPlayer().getTeam()))
|
// final WorldObject target = player.getTarget();
|
||||||
{
|
// if ((target != null) && target.isPlayable() && (player.getTeam() == target.getActingPlayer().getTeam()))
|
||||||
return false;
|
// {
|
||||||
}
|
// return false;
|
||||||
}
|
// }
|
||||||
|
// }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
@ -1264,14 +1264,15 @@ public class SkillCaster implements Runnable
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (skill.isBad() && !player.isOnSoloEvent())
|
// Commented because AOE skills like Warlord's [Thunder Storm] (44) and debuffs like Overlord's [Seal of Binding] (1208) do not work when targeting an enemy from the other team.
|
||||||
{
|
// if (skill.isBad() && !player.isOnSoloEvent())
|
||||||
final WorldObject target = player.getTarget();
|
// {
|
||||||
if ((target != null) && target.isPlayable() && (player.getTeam() == target.getActingPlayer().getTeam()))
|
// final WorldObject target = player.getTarget();
|
||||||
{
|
// if ((target != null) && target.isPlayable() && (player.getTeam() == target.getActingPlayer().getTeam()))
|
||||||
return false;
|
// {
|
||||||
}
|
// return false;
|
||||||
}
|
// }
|
||||||
|
// }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
@ -1264,14 +1264,15 @@ public class SkillCaster implements Runnable
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (skill.isBad() && !player.isOnSoloEvent())
|
// Commented because AOE skills like Warlord's [Thunder Storm] (44) and debuffs like Overlord's [Seal of Binding] (1208) do not work when targeting an enemy from the other team.
|
||||||
{
|
// if (skill.isBad() && !player.isOnSoloEvent())
|
||||||
final WorldObject target = player.getTarget();
|
// {
|
||||||
if ((target != null) && target.isPlayable() && (player.getTeam() == target.getActingPlayer().getTeam()))
|
// final WorldObject target = player.getTarget();
|
||||||
{
|
// if ((target != null) && target.isPlayable() && (player.getTeam() == target.getActingPlayer().getTeam()))
|
||||||
return false;
|
// {
|
||||||
}
|
// return false;
|
||||||
}
|
// }
|
||||||
|
// }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user