RealDamage check if effected is not attackable.

This commit is contained in:
MobiusDevelopment 2020-12-05 22:54:46 +00:00
parent b491189d2d
commit 0e83d3e17b
17 changed files with 102 additions and 0 deletions

View File

@ -51,6 +51,12 @@ public class RealDamage extends AbstractEffect
return;
}
// Check if effected is not attackable.
if (!effected.isAttackable())
{
return;
}
// Check if fake players should aggro each other.
if (effector.isFakePlayer() && !Config.FAKE_PLAYER_AGGRO_FPC && effected.isFakePlayer())
{

View File

@ -51,6 +51,12 @@ public class RealDamage extends AbstractEffect
return;
}
// Check if effected is not attackable.
if (!effected.isAttackable())
{
return;
}
// Check if fake players should aggro each other.
if (effector.isFakePlayer() && !Config.FAKE_PLAYER_AGGRO_FPC && effected.isFakePlayer())
{

View File

@ -51,6 +51,12 @@ public class RealDamage extends AbstractEffect
return;
}
// Check if effected is not attackable.
if (!effected.isAttackable())
{
return;
}
// Check if fake players should aggro each other.
if (effector.isFakePlayer() && !Config.FAKE_PLAYER_AGGRO_FPC && effected.isFakePlayer())
{

View File

@ -51,6 +51,12 @@ public class RealDamage extends AbstractEffect
return;
}
// Check if effected is not attackable.
if (!effected.isAttackable())
{
return;
}
// Check if fake players should aggro each other.
if (effector.isFakePlayer() && !Config.FAKE_PLAYER_AGGRO_FPC && effected.isFakePlayer())
{

View File

@ -51,6 +51,12 @@ public class RealDamage extends AbstractEffect
return;
}
// Check if effected is not attackable.
if (!effected.isAttackable())
{
return;
}
// Check if fake players should aggro each other.
if (effector.isFakePlayer() && !Config.FAKE_PLAYER_AGGRO_FPC && effected.isFakePlayer())
{

View File

@ -51,6 +51,12 @@ public class RealDamage extends AbstractEffect
return;
}
// Check if effected is not attackable.
if (!effected.isAttackable())
{
return;
}
// Check if fake players should aggro each other.
if (effector.isFakePlayer() && !Config.FAKE_PLAYER_AGGRO_FPC && effected.isFakePlayer())
{

View File

@ -51,6 +51,12 @@ public class RealDamage extends AbstractEffect
return;
}
// Check if effected is not attackable.
if (!effected.isAttackable())
{
return;
}
// Check if fake players should aggro each other.
if (effector.isFakePlayer() && !Config.FAKE_PLAYER_AGGRO_FPC && effected.isFakePlayer())
{

View File

@ -51,6 +51,12 @@ public class RealDamage extends AbstractEffect
return;
}
// Check if effected is not attackable.
if (!effected.isAttackable())
{
return;
}
// Check if fake players should aggro each other.
if (effector.isFakePlayer() && !Config.FAKE_PLAYER_AGGRO_FPC && effected.isFakePlayer())
{

View File

@ -51,6 +51,12 @@ public class RealDamage extends AbstractEffect
return;
}
// Check if effected is not attackable.
if (!effected.isAttackable())
{
return;
}
// Check if fake players should aggro each other.
if (effector.isFakePlayer() && !Config.FAKE_PLAYER_AGGRO_FPC && effected.isFakePlayer())
{

View File

@ -51,6 +51,12 @@ public class RealDamage extends AbstractEffect
return;
}
// Check if effected is not attackable.
if (!effected.isAttackable())
{
return;
}
// Check if fake players should aggro each other.
if (effector.isFakePlayer() && !Config.FAKE_PLAYER_AGGRO_FPC && effected.isFakePlayer())
{

View File

@ -51,6 +51,12 @@ public class RealDamage extends AbstractEffect
return;
}
// Check if effected is not attackable.
if (!effected.isAttackable())
{
return;
}
// Check if fake players should aggro each other.
if (effector.isFakePlayer() && !Config.FAKE_PLAYER_AGGRO_FPC && effected.isFakePlayer())
{

View File

@ -51,6 +51,12 @@ public class RealDamage extends AbstractEffect
return;
}
// Check if effected is not attackable.
if (!effected.isAttackable())
{
return;
}
// Check if fake players should aggro each other.
if (effector.isFakePlayer() && !Config.FAKE_PLAYER_AGGRO_FPC && effected.isFakePlayer())
{

View File

@ -51,6 +51,12 @@ public class RealDamage extends AbstractEffect
return;
}
// Check if effected is not attackable.
if (!effected.isAttackable())
{
return;
}
// Check if fake players should aggro each other.
if (effector.isFakePlayer() && !Config.FAKE_PLAYER_AGGRO_FPC && effected.isFakePlayer())
{

View File

@ -51,6 +51,12 @@ public class RealDamage extends AbstractEffect
return;
}
// Check if effected is not attackable.
if (!effected.isAttackable())
{
return;
}
// Check if fake players should aggro each other.
if (effector.isFakePlayer() && !Config.FAKE_PLAYER_AGGRO_FPC && effected.isFakePlayer())
{

View File

@ -51,6 +51,12 @@ public class RealDamage extends AbstractEffect
return;
}
// Check if effected is not attackable.
if (!effected.isAttackable())
{
return;
}
// Check if fake players should aggro each other.
if (effector.isFakePlayer() && !Config.FAKE_PLAYER_AGGRO_FPC && effected.isFakePlayer())
{

View File

@ -51,6 +51,12 @@ public class RealDamage extends AbstractEffect
return;
}
// Check if effected is not attackable.
if (!effected.isAttackable())
{
return;
}
// Check if fake players should aggro each other.
if (effector.isFakePlayer() && !Config.FAKE_PLAYER_AGGRO_FPC && effected.isFakePlayer())
{

View File

@ -51,6 +51,12 @@ public class RealDamage extends AbstractEffect
return;
}
// Check if effected is not attackable.
if (!effected.isAttackable())
{
return;
}
// Check if fake players should aggro each other.
if (effector.isFakePlayer() && !Config.FAKE_PLAYER_AGGRO_FPC && effected.isFakePlayer())
{