浏览代码

BETA: NPC Rush malfunction fixed. Now they move when they cast rush instead of staying on one place.

Nik 13 年之前
父节点
当前提交
4f97956ddf
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      L2J_Server_BETA/java/com/l2jserver/gameserver/model/actor/L2Character.java

+ 1 - 1
L2J_Server_BETA/java/com/l2jserver/gameserver/model/actor/L2Character.java

@@ -2092,7 +2092,7 @@ public abstract class L2Character extends L2Object
 		}
 		
 		// Before start AI Cast Broadcast Fly Effect is Need
-		if (skill.getFlyType() != null && (this instanceof L2PcInstance))
+		if (skill.getFlyType() != null)
 			ThreadPoolManager.getInstance().scheduleEffect(new FlyToLocationTask(this, target, skill), 50);
 		
 		MagicUseTask mut = new MagicUseTask(targets, skill, hitTime, coolTime, simultaneously, shotSave);