5398 【前端】【1.4】跨服竞技场开发 自动战斗开启逻辑屏蔽以及反击逻辑屏蔽
| | |
| | | _actor.ActorInfo.ResetHp(-1, -1, (int)vNetData.Value); |
| | | } |
| | | |
| | | if(_actor is GActorNpcFight) |
| | | if (_actor is GActorNpcFight) |
| | | { |
| | | if((PlayerDataRefresh)vNetData.RefreshType == PlayerDataRefresh.Speed) |
| | | if ((PlayerDataRefresh)vNetData.RefreshType == PlayerDataRefresh.Speed) |
| | | { |
| | | _actor.ActorInfo.moveSpeed = 500f / vNetData.Value; |
| | | } |
| | |
| | | return;
|
| | | }
|
| | | #endif
|
| | |
|
| | | // 跨服竞技场不检测反击逻辑
|
| | | if(PlayerDatas.Instance.baseData.MapID == 31340)
|
| | | {
|
| | | return;
|
| | | }
|
| | |
|
| | | // 是否反击
|
| | | if (_sTarget.ObjID == PlayerDatas.Instance.PlayerId)
|
| | | {
|
| | |
| | | #if UNITY_EDITOR
|
| | | && RuntimeLogUtility.s_forceAutoFight
|
| | | #endif
|
| | | )
|
| | | && PlayerDatas.Instance.baseData.MapID != 31340)
|
| | | {
|
| | | if (!aiHandler.IsAuto() && !BossShowModel.Instance.BossShowing)
|
| | | {
|