RealDamage check if effected is not attackable.
This commit is contained in:
parent
b491189d2d
commit
0e83d3e17b
@ -51,6 +51,12 @@ public class RealDamage extends AbstractEffect
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Check if effected is not attackable.
|
||||||
|
if (!effected.isAttackable())
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// Check if fake players should aggro each other.
|
// Check if fake players should aggro each other.
|
||||||
if (effector.isFakePlayer() && !Config.FAKE_PLAYER_AGGRO_FPC && effected.isFakePlayer())
|
if (effector.isFakePlayer() && !Config.FAKE_PLAYER_AGGRO_FPC && effected.isFakePlayer())
|
||||||
{
|
{
|
||||||
|
@ -51,6 +51,12 @@ public class RealDamage extends AbstractEffect
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Check if effected is not attackable.
|
||||||
|
if (!effected.isAttackable())
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// Check if fake players should aggro each other.
|
// Check if fake players should aggro each other.
|
||||||
if (effector.isFakePlayer() && !Config.FAKE_PLAYER_AGGRO_FPC && effected.isFakePlayer())
|
if (effector.isFakePlayer() && !Config.FAKE_PLAYER_AGGRO_FPC && effected.isFakePlayer())
|
||||||
{
|
{
|
||||||
|
@ -51,6 +51,12 @@ public class RealDamage extends AbstractEffect
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Check if effected is not attackable.
|
||||||
|
if (!effected.isAttackable())
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// Check if fake players should aggro each other.
|
// Check if fake players should aggro each other.
|
||||||
if (effector.isFakePlayer() && !Config.FAKE_PLAYER_AGGRO_FPC && effected.isFakePlayer())
|
if (effector.isFakePlayer() && !Config.FAKE_PLAYER_AGGRO_FPC && effected.isFakePlayer())
|
||||||
{
|
{
|
||||||
|
@ -51,6 +51,12 @@ public class RealDamage extends AbstractEffect
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Check if effected is not attackable.
|
||||||
|
if (!effected.isAttackable())
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// Check if fake players should aggro each other.
|
// Check if fake players should aggro each other.
|
||||||
if (effector.isFakePlayer() && !Config.FAKE_PLAYER_AGGRO_FPC && effected.isFakePlayer())
|
if (effector.isFakePlayer() && !Config.FAKE_PLAYER_AGGRO_FPC && effected.isFakePlayer())
|
||||||
{
|
{
|
||||||
|
@ -51,6 +51,12 @@ public class RealDamage extends AbstractEffect
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Check if effected is not attackable.
|
||||||
|
if (!effected.isAttackable())
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// Check if fake players should aggro each other.
|
// Check if fake players should aggro each other.
|
||||||
if (effector.isFakePlayer() && !Config.FAKE_PLAYER_AGGRO_FPC && effected.isFakePlayer())
|
if (effector.isFakePlayer() && !Config.FAKE_PLAYER_AGGRO_FPC && effected.isFakePlayer())
|
||||||
{
|
{
|
||||||
|
@ -51,6 +51,12 @@ public class RealDamage extends AbstractEffect
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Check if effected is not attackable.
|
||||||
|
if (!effected.isAttackable())
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// Check if fake players should aggro each other.
|
// Check if fake players should aggro each other.
|
||||||
if (effector.isFakePlayer() && !Config.FAKE_PLAYER_AGGRO_FPC && effected.isFakePlayer())
|
if (effector.isFakePlayer() && !Config.FAKE_PLAYER_AGGRO_FPC && effected.isFakePlayer())
|
||||||
{
|
{
|
||||||
|
@ -51,6 +51,12 @@ public class RealDamage extends AbstractEffect
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Check if effected is not attackable.
|
||||||
|
if (!effected.isAttackable())
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// Check if fake players should aggro each other.
|
// Check if fake players should aggro each other.
|
||||||
if (effector.isFakePlayer() && !Config.FAKE_PLAYER_AGGRO_FPC && effected.isFakePlayer())
|
if (effector.isFakePlayer() && !Config.FAKE_PLAYER_AGGRO_FPC && effected.isFakePlayer())
|
||||||
{
|
{
|
||||||
|
@ -51,6 +51,12 @@ public class RealDamage extends AbstractEffect
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Check if effected is not attackable.
|
||||||
|
if (!effected.isAttackable())
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// Check if fake players should aggro each other.
|
// Check if fake players should aggro each other.
|
||||||
if (effector.isFakePlayer() && !Config.FAKE_PLAYER_AGGRO_FPC && effected.isFakePlayer())
|
if (effector.isFakePlayer() && !Config.FAKE_PLAYER_AGGRO_FPC && effected.isFakePlayer())
|
||||||
{
|
{
|
||||||
|
@ -51,6 +51,12 @@ public class RealDamage extends AbstractEffect
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Check if effected is not attackable.
|
||||||
|
if (!effected.isAttackable())
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// Check if fake players should aggro each other.
|
// Check if fake players should aggro each other.
|
||||||
if (effector.isFakePlayer() && !Config.FAKE_PLAYER_AGGRO_FPC && effected.isFakePlayer())
|
if (effector.isFakePlayer() && !Config.FAKE_PLAYER_AGGRO_FPC && effected.isFakePlayer())
|
||||||
{
|
{
|
||||||
|
@ -51,6 +51,12 @@ public class RealDamage extends AbstractEffect
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Check if effected is not attackable.
|
||||||
|
if (!effected.isAttackable())
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// Check if fake players should aggro each other.
|
// Check if fake players should aggro each other.
|
||||||
if (effector.isFakePlayer() && !Config.FAKE_PLAYER_AGGRO_FPC && effected.isFakePlayer())
|
if (effector.isFakePlayer() && !Config.FAKE_PLAYER_AGGRO_FPC && effected.isFakePlayer())
|
||||||
{
|
{
|
||||||
|
@ -51,6 +51,12 @@ public class RealDamage extends AbstractEffect
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Check if effected is not attackable.
|
||||||
|
if (!effected.isAttackable())
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// Check if fake players should aggro each other.
|
// Check if fake players should aggro each other.
|
||||||
if (effector.isFakePlayer() && !Config.FAKE_PLAYER_AGGRO_FPC && effected.isFakePlayer())
|
if (effector.isFakePlayer() && !Config.FAKE_PLAYER_AGGRO_FPC && effected.isFakePlayer())
|
||||||
{
|
{
|
||||||
|
@ -51,6 +51,12 @@ public class RealDamage extends AbstractEffect
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Check if effected is not attackable.
|
||||||
|
if (!effected.isAttackable())
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// Check if fake players should aggro each other.
|
// Check if fake players should aggro each other.
|
||||||
if (effector.isFakePlayer() && !Config.FAKE_PLAYER_AGGRO_FPC && effected.isFakePlayer())
|
if (effector.isFakePlayer() && !Config.FAKE_PLAYER_AGGRO_FPC && effected.isFakePlayer())
|
||||||
{
|
{
|
||||||
|
@ -51,6 +51,12 @@ public class RealDamage extends AbstractEffect
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Check if effected is not attackable.
|
||||||
|
if (!effected.isAttackable())
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// Check if fake players should aggro each other.
|
// Check if fake players should aggro each other.
|
||||||
if (effector.isFakePlayer() && !Config.FAKE_PLAYER_AGGRO_FPC && effected.isFakePlayer())
|
if (effector.isFakePlayer() && !Config.FAKE_PLAYER_AGGRO_FPC && effected.isFakePlayer())
|
||||||
{
|
{
|
||||||
|
@ -51,6 +51,12 @@ public class RealDamage extends AbstractEffect
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Check if effected is not attackable.
|
||||||
|
if (!effected.isAttackable())
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// Check if fake players should aggro each other.
|
// Check if fake players should aggro each other.
|
||||||
if (effector.isFakePlayer() && !Config.FAKE_PLAYER_AGGRO_FPC && effected.isFakePlayer())
|
if (effector.isFakePlayer() && !Config.FAKE_PLAYER_AGGRO_FPC && effected.isFakePlayer())
|
||||||
{
|
{
|
||||||
|
@ -51,6 +51,12 @@ public class RealDamage extends AbstractEffect
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Check if effected is not attackable.
|
||||||
|
if (!effected.isAttackable())
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// Check if fake players should aggro each other.
|
// Check if fake players should aggro each other.
|
||||||
if (effector.isFakePlayer() && !Config.FAKE_PLAYER_AGGRO_FPC && effected.isFakePlayer())
|
if (effector.isFakePlayer() && !Config.FAKE_PLAYER_AGGRO_FPC && effected.isFakePlayer())
|
||||||
{
|
{
|
||||||
|
@ -51,6 +51,12 @@ public class RealDamage extends AbstractEffect
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Check if effected is not attackable.
|
||||||
|
if (!effected.isAttackable())
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// Check if fake players should aggro each other.
|
// Check if fake players should aggro each other.
|
||||||
if (effector.isFakePlayer() && !Config.FAKE_PLAYER_AGGRO_FPC && effected.isFakePlayer())
|
if (effector.isFakePlayer() && !Config.FAKE_PLAYER_AGGRO_FPC && effected.isFakePlayer())
|
||||||
{
|
{
|
||||||
|
@ -51,6 +51,12 @@ public class RealDamage extends AbstractEffect
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Check if effected is not attackable.
|
||||||
|
if (!effected.isAttackable())
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// Check if fake players should aggro each other.
|
// Check if fake players should aggro each other.
|
||||||
if (effector.isFakePlayer() && !Config.FAKE_PLAYER_AGGRO_FPC && effected.isFakePlayer())
|
if (effector.isFakePlayer() && !Config.FAKE_PLAYER_AGGRO_FPC && effected.isFakePlayer())
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user