Fixed not casting due to height check.
This commit is contained in:
@@ -168,7 +168,7 @@ public class SkillCaster implements Runnable
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((skill.getCastRange() > 0) && !Util.checkIfInRange(skill.getCastRange(), caster, target, true))
|
if ((skill.getCastRange() > 0) && !Util.checkIfInRange(skill.getCastRange(), caster, target, false))
|
||||||
{
|
{
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
@@ -168,7 +168,7 @@ public class SkillCaster implements Runnable
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((skill.getCastRange() > 0) && !Util.checkIfInRange(skill.getCastRange(), caster, target, true))
|
if ((skill.getCastRange() > 0) && !Util.checkIfInRange(skill.getCastRange(), caster, target, false))
|
||||||
{
|
{
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
@@ -168,7 +168,7 @@ public class SkillCaster implements Runnable
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((skill.getCastRange() > 0) && !Util.checkIfInRange(skill.getCastRange(), caster, target, true))
|
if ((skill.getCastRange() > 0) && !Util.checkIfInRange(skill.getCastRange(), caster, target, false))
|
||||||
{
|
{
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
@@ -168,7 +168,7 @@ public class SkillCaster implements Runnable
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((skill.getCastRange() > 0) && !Util.checkIfInRange(skill.getCastRange(), caster, target, true))
|
if ((skill.getCastRange() > 0) && !Util.checkIfInRange(skill.getCastRange(), caster, target, false))
|
||||||
{
|
{
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
@@ -168,7 +168,7 @@ public class SkillCaster implements Runnable
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((skill.getCastRange() > 0) && !Util.checkIfInRange(skill.getCastRange(), caster, target, true))
|
if ((skill.getCastRange() > 0) && !Util.checkIfInRange(skill.getCastRange(), caster, target, false))
|
||||||
{
|
{
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
@@ -168,7 +168,7 @@ public class SkillCaster implements Runnable
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((skill.getCastRange() > 0) && !Util.checkIfInRange(skill.getCastRange(), caster, target, true))
|
if ((skill.getCastRange() > 0) && !Util.checkIfInRange(skill.getCastRange(), caster, target, false))
|
||||||
{
|
{
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
@@ -168,7 +168,7 @@ public class SkillCaster implements Runnable
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((skill.getCastRange() > 0) && !Util.checkIfInRange(skill.getCastRange(), caster, target, true))
|
if ((skill.getCastRange() > 0) && !Util.checkIfInRange(skill.getCastRange(), caster, target, false))
|
||||||
{
|
{
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user