0312 修复持续掉血造成前端击杀无法完成任务问题,需要蔡检查下修复方式是否正确
| | |
| | | |
| | | if (m_Target.ActorInfo.SyncServerHp == 0) |
| | | { |
| | | var _clientNpc = m_Target as GA_NpcClientFightNorm; |
| | | if (_clientNpc != null && _clientNpc.belongEventID != -1) |
| | | { |
| | | ClientSceneManager.Instance.NpcDead(m_Target.belongEventID, m_Target, _clientNpc.NpcConfig.NPCID); |
| | | } |
| | | m_Target.ActorInfo.serverDie = true; |
| | | m_Target.Die(PlayerDatas.Instance.PlayerId, 0, m_AttackType); |
| | | } |
| | |
| | |
|
| | | void ShowBossLifeBar(TargetBriefInfo.MonsterInfo bossInfo, bool show)
|
| | | {
|
| | | if (bossInfo.hp == 0) show = false;
|
| | | if (show)
|
| | | {
|
| | | m_ContainerPlayer.gameObject.SetActive(false);
|