From c8a9e5acbb296f46948b87171d5ad044bb6cd337 Mon Sep 17 00:00:00 2001
From: client_Hale <339726288@qq.com>
Date: 星期五, 23 十一月 2018 23:00:20 +0800
Subject: [PATCH] 4632 机器人外观处理 助战类型不被攻击
---
Fight/GameActor/GA_NpcFightNorm.cs | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/Fight/GameActor/GA_NpcFightNorm.cs b/Fight/GameActor/GA_NpcFightNorm.cs
index 855df22..ff6e5de 100644
--- a/Fight/GameActor/GA_NpcFightNorm.cs
+++ b/Fight/GameActor/GA_NpcFightNorm.cs
@@ -257,7 +257,8 @@
&& NpcConfig.NPCType != (int)E_NpcType.Func
&& NpcConfig.NPCType != (int)E_NpcType.Collect
&& NpcConfig.NPCType != (int)E_NpcType.Pet
- && !ActorInfo.serverDie;
+ && !ActorInfo.serverDie
+ && NpcConfig.NPCType != (int)E_NpcType.FightAssist;
}
public override bool CanAtkedRotate()
--
Gitblit v1.8.0