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