Prevent pulling debuff blocked characters.

This commit is contained in:
MobiusDevelopment 2019-11-03 08:54:33 +00:00
parent db580bf31c
commit e74b14e655
15 changed files with 75 additions and 0 deletions

View File

@ -66,6 +66,11 @@ public class PullBack extends AbstractEffect
{
return;
}
// Prevent pulling debuff blocked characters.
if ((effected.isDebuffBlocked()))
{
return;
}
// In retail, you get debuff, but you are not even moved if there is obstacle. You are still disabled from using skills and moving though.
if (GeoEngine.getInstance().canMoveToTarget(effected.getX(), effected.getY(), effected.getZ(), effector.getX(), effector.getY(), effector.getZ(), effector.getInstanceWorld()))

View File

@ -66,6 +66,11 @@ public class PullBack extends AbstractEffect
{
return;
}
// Prevent pulling debuff blocked characters.
if ((effected.isDebuffBlocked()))
{
return;
}
// In retail, you get debuff, but you are not even moved if there is obstacle. You are still disabled from using skills and moving though.
if (GeoEngine.getInstance().canMoveToTarget(effected.getX(), effected.getY(), effected.getZ(), effector.getX(), effector.getY(), effector.getZ(), effector.getInstanceWorld()))

View File

@ -66,6 +66,11 @@ public class PullBack extends AbstractEffect
{
return;
}
// Prevent pulling debuff blocked characters.
if ((effected.isDebuffBlocked()))
{
return;
}
// In retail, you get debuff, but you are not even moved if there is obstacle. You are still disabled from using skills and moving though.
if (GeoEngine.getInstance().canMoveToTarget(effected.getX(), effected.getY(), effected.getZ(), effector.getX(), effector.getY(), effector.getZ(), effector.getInstanceWorld()))

View File

@ -66,6 +66,11 @@ public class PullBack extends AbstractEffect
{
return;
}
// Prevent pulling debuff blocked characters.
if ((effected.isDebuffBlocked()))
{
return;
}
// In retail, you get debuff, but you are not even moved if there is obstacle. You are still disabled from using skills and moving though.
if (GeoEngine.getInstance().canMoveToTarget(effected.getX(), effected.getY(), effected.getZ(), effector.getX(), effector.getY(), effector.getZ(), effector.getInstanceWorld()))

View File

@ -66,6 +66,11 @@ public class PullBack extends AbstractEffect
{
return;
}
// Prevent pulling debuff blocked characters.
if ((effected.isDebuffBlocked()))
{
return;
}
// In retail, you get debuff, but you are not even moved if there is obstacle. You are still disabled from using skills and moving though.
if (GeoEngine.getInstance().canMoveToTarget(effected.getX(), effected.getY(), effected.getZ(), effector.getX(), effector.getY(), effector.getZ(), effector.getInstanceWorld()))

View File

@ -66,6 +66,11 @@ public class PullBack extends AbstractEffect
{
return;
}
// Prevent pulling debuff blocked characters.
if ((effected.isDebuffBlocked()))
{
return;
}
// In retail, you get debuff, but you are not even moved if there is obstacle. You are still disabled from using skills and moving though.
if (GeoEngine.getInstance().canMoveToTarget(effected.getX(), effected.getY(), effected.getZ(), effector.getX(), effector.getY(), effector.getZ(), effector.getInstanceWorld()))

View File

@ -66,6 +66,11 @@ public class PullBack extends AbstractEffect
{
return;
}
// Prevent pulling debuff blocked characters.
if ((effected.isDebuffBlocked()))
{
return;
}
// In retail, you get debuff, but you are not even moved if there is obstacle. You are still disabled from using skills and moving though.
if (GeoEngine.getInstance().canMoveToTarget(effected.getX(), effected.getY(), effected.getZ(), effector.getX(), effector.getY(), effector.getZ(), effector.getInstanceWorld()))

View File

@ -66,6 +66,11 @@ public class PullBack extends AbstractEffect
{
return;
}
// Prevent pulling debuff blocked characters.
if ((effected.isDebuffBlocked()))
{
return;
}
// In retail, you get debuff, but you are not even moved if there is obstacle. You are still disabled from using skills and moving though.
if (GeoEngine.getInstance().canMoveToTarget(effected.getX(), effected.getY(), effected.getZ(), effector.getX(), effector.getY(), effector.getZ(), effector.getInstanceWorld()))

View File

@ -66,6 +66,11 @@ public class PullBack extends AbstractEffect
{
return;
}
// Prevent pulling debuff blocked characters.
if ((effected.isDebuffBlocked()))
{
return;
}
// In retail, you get debuff, but you are not even moved if there is obstacle. You are still disabled from using skills and moving though.
if (GeoEngine.getInstance().canMoveToTarget(effected.getX(), effected.getY(), effected.getZ(), effector.getX(), effector.getY(), effector.getZ(), effector.getInstanceWorld()))

View File

@ -66,6 +66,11 @@ public class PullBack extends AbstractEffect
{
return;
}
// Prevent pulling debuff blocked characters.
if ((effected.isDebuffBlocked()))
{
return;
}
// In retail, you get debuff, but you are not even moved if there is obstacle. You are still disabled from using skills and moving though.
if (GeoEngine.getInstance().canMoveToTarget(effected.getX(), effected.getY(), effected.getZ(), effector.getX(), effector.getY(), effector.getZ(), effector.getInstanceWorld()))

View File

@ -66,6 +66,11 @@ public class PullBack extends AbstractEffect
{
return;
}
// Prevent pulling debuff blocked characters.
if ((effected.isDebuffBlocked()))
{
return;
}
// In retail, you get debuff, but you are not even moved if there is obstacle. You are still disabled from using skills and moving though.
if (GeoEngine.getInstance().canMoveToTarget(effected.getX(), effected.getY(), effected.getZ(), effector.getX(), effector.getY(), effector.getZ(), effector.getInstanceWorld()))

View File

@ -66,6 +66,11 @@ public class PullBack extends AbstractEffect
{
return;
}
// Prevent pulling debuff blocked characters.
if ((effected.isDebuffBlocked()))
{
return;
}
// In retail, you get debuff, but you are not even moved if there is obstacle. You are still disabled from using skills and moving though.
if (GeoEngine.getInstance().canMoveToTarget(effected.getX(), effected.getY(), effected.getZ(), effector.getX(), effector.getY(), effector.getZ(), effector.getInstanceWorld()))

View File

@ -66,6 +66,11 @@ public class PullBack extends AbstractEffect
{
return;
}
// Prevent pulling debuff blocked characters.
if ((effected.isDebuffBlocked()))
{
return;
}
// In retail, you get debuff, but you are not even moved if there is obstacle. You are still disabled from using skills and moving though.
if (GeoEngine.getInstance().canMoveToTarget(effected.getX(), effected.getY(), effected.getZ(), effector.getX(), effector.getY(), effector.getZ(), effector.getInstanceWorld()))

View File

@ -66,6 +66,11 @@ public class PullBack extends AbstractEffect
{
return;
}
// Prevent pulling debuff blocked characters.
if ((effected.isDebuffBlocked()))
{
return;
}
// In retail, you get debuff, but you are not even moved if there is obstacle. You are still disabled from using skills and moving though.
if (GeoEngine.getInstance().canMoveToTarget(effected.getX(), effected.getY(), effected.getZ(), effector.getX(), effector.getY(), effector.getZ(), effector.getInstanceWorld()))

View File

@ -66,6 +66,11 @@ public class PullBack extends AbstractEffect
{
return;
}
// Prevent pulling debuff blocked characters.
if ((effected.isDebuffBlocked()))
{
return;
}
// In retail, you get debuff, but you are not even moved if there is obstacle. You are still disabled from using skills and moving though.
if (GeoEngine.getInstance().canMoveToTarget(effected.getX(), effected.getY(), effected.getZ(), effector.getX(), effector.getY(), effector.getZ(), effector.getInstanceWorld()))