TeleportToTarget effect start when target is in LoS.
This commit is contained in:
@@ -47,6 +47,12 @@ public final class TeleportToTarget extends AbstractEffect
|
||||
return EffectType.TELEPORT_TO_TARGET;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean canStart(BuffInfo info)
|
||||
{
|
||||
return (info.getEffected() != null) && GeoEngine.getInstance().canSeeTarget(info.getEffected(), info.getEffector());
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isInstant()
|
||||
{
|
||||
|
Reference in New Issue
Block a user