Prevent pulling debuff blocked characters.
This commit is contained in:
@@ -66,6 +66,11 @@ public class PullBack extends AbstractEffect
|
|||||||
{
|
{
|
||||||
return;
|
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.
|
// 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()))
|
if (GeoEngine.getInstance().canMoveToTarget(effected.getX(), effected.getY(), effected.getZ(), effector.getX(), effector.getY(), effector.getZ(), effector.getInstanceWorld()))
|
||||||
|
@@ -66,6 +66,11 @@ public class PullBack extends AbstractEffect
|
|||||||
{
|
{
|
||||||
return;
|
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.
|
// 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()))
|
if (GeoEngine.getInstance().canMoveToTarget(effected.getX(), effected.getY(), effected.getZ(), effector.getX(), effector.getY(), effector.getZ(), effector.getInstanceWorld()))
|
||||||
|
@@ -66,6 +66,11 @@ public class PullBack extends AbstractEffect
|
|||||||
{
|
{
|
||||||
return;
|
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.
|
// 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()))
|
if (GeoEngine.getInstance().canMoveToTarget(effected.getX(), effected.getY(), effected.getZ(), effector.getX(), effector.getY(), effector.getZ(), effector.getInstanceWorld()))
|
||||||
|
@@ -66,6 +66,11 @@ public class PullBack extends AbstractEffect
|
|||||||
{
|
{
|
||||||
return;
|
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.
|
// 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()))
|
if (GeoEngine.getInstance().canMoveToTarget(effected.getX(), effected.getY(), effected.getZ(), effector.getX(), effector.getY(), effector.getZ(), effector.getInstanceWorld()))
|
||||||
|
@@ -66,6 +66,11 @@ public class PullBack extends AbstractEffect
|
|||||||
{
|
{
|
||||||
return;
|
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.
|
// 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()))
|
if (GeoEngine.getInstance().canMoveToTarget(effected.getX(), effected.getY(), effected.getZ(), effector.getX(), effector.getY(), effector.getZ(), effector.getInstanceWorld()))
|
||||||
|
@@ -66,6 +66,11 @@ public class PullBack extends AbstractEffect
|
|||||||
{
|
{
|
||||||
return;
|
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.
|
// 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()))
|
if (GeoEngine.getInstance().canMoveToTarget(effected.getX(), effected.getY(), effected.getZ(), effector.getX(), effector.getY(), effector.getZ(), effector.getInstanceWorld()))
|
||||||
|
@@ -66,6 +66,11 @@ public class PullBack extends AbstractEffect
|
|||||||
{
|
{
|
||||||
return;
|
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.
|
// 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()))
|
if (GeoEngine.getInstance().canMoveToTarget(effected.getX(), effected.getY(), effected.getZ(), effector.getX(), effector.getY(), effector.getZ(), effector.getInstanceWorld()))
|
||||||
|
@@ -66,6 +66,11 @@ public class PullBack extends AbstractEffect
|
|||||||
{
|
{
|
||||||
return;
|
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.
|
// 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()))
|
if (GeoEngine.getInstance().canMoveToTarget(effected.getX(), effected.getY(), effected.getZ(), effector.getX(), effector.getY(), effector.getZ(), effector.getInstanceWorld()))
|
||||||
|
@@ -66,6 +66,11 @@ public class PullBack extends AbstractEffect
|
|||||||
{
|
{
|
||||||
return;
|
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.
|
// 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()))
|
if (GeoEngine.getInstance().canMoveToTarget(effected.getX(), effected.getY(), effected.getZ(), effector.getX(), effector.getY(), effector.getZ(), effector.getInstanceWorld()))
|
||||||
|
@@ -66,6 +66,11 @@ public class PullBack extends AbstractEffect
|
|||||||
{
|
{
|
||||||
return;
|
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.
|
// 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()))
|
if (GeoEngine.getInstance().canMoveToTarget(effected.getX(), effected.getY(), effected.getZ(), effector.getX(), effector.getY(), effector.getZ(), effector.getInstanceWorld()))
|
||||||
|
@@ -66,6 +66,11 @@ public class PullBack extends AbstractEffect
|
|||||||
{
|
{
|
||||||
return;
|
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.
|
// 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()))
|
if (GeoEngine.getInstance().canMoveToTarget(effected.getX(), effected.getY(), effected.getZ(), effector.getX(), effector.getY(), effector.getZ(), effector.getInstanceWorld()))
|
||||||
|
@@ -66,6 +66,11 @@ public class PullBack extends AbstractEffect
|
|||||||
{
|
{
|
||||||
return;
|
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.
|
// 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()))
|
if (GeoEngine.getInstance().canMoveToTarget(effected.getX(), effected.getY(), effected.getZ(), effector.getX(), effector.getY(), effector.getZ(), effector.getInstanceWorld()))
|
||||||
|
@@ -66,6 +66,11 @@ public class PullBack extends AbstractEffect
|
|||||||
{
|
{
|
||||||
return;
|
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.
|
// 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()))
|
if (GeoEngine.getInstance().canMoveToTarget(effected.getX(), effected.getY(), effected.getZ(), effector.getX(), effector.getY(), effector.getZ(), effector.getInstanceWorld()))
|
||||||
|
@@ -66,6 +66,11 @@ public class PullBack extends AbstractEffect
|
|||||||
{
|
{
|
||||||
return;
|
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.
|
// 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()))
|
if (GeoEngine.getInstance().canMoveToTarget(effected.getX(), effected.getY(), effected.getZ(), effector.getX(), effector.getY(), effector.getZ(), effector.getInstanceWorld()))
|
||||||
|
@@ -66,6 +66,11 @@ public class PullBack extends AbstractEffect
|
|||||||
{
|
{
|
||||||
return;
|
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.
|
// 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()))
|
if (GeoEngine.getInstance().canMoveToTarget(effected.getX(), effected.getY(), effected.getZ(), effector.getX(), effector.getY(), effector.getZ(), effector.getInstanceWorld()))
|
||||||
|
Reference in New Issue
Block a user