少年修仙传客户端代码仓库
client_Hale
2019-05-23 d3bfe7aaad5fe2c82fcd2d17313789a79098c5fc
3662 【BUG】【2.0】不打妖王,妖王会回满血量
1个文件已修改
22 ■■■■ 已修改文件
System/HazyRegion/ClientHazyDemonKingStage.cs 22 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/HazyRegion/ClientHazyDemonKingStage.cs
@@ -1,9 +1,9 @@
using Snxxz.UI;
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ClientHazyDemonKingStage : DungeonStage
{
    static readonly Vector3 playerBornPosition = new Vector3(10, 6.38f, 6.67f);
@@ -67,10 +67,10 @@
        itemCount = 0;
        DTC0403_tagPlayerLoginLoadOK.mapInitOkEvent += OnReconnected;
        AttackHandler.OnAttackTarget += OnPlayerAttack;
        ClientDungeonStageUtility.onReceiveCustomDropItme += OnReceiveCustomDropItme;
        dungeonModel.onDungeonResultEvent += OnDungeonResultEvent;
        ClientDropItemUtility.OnItemPickup += OnItemPickup;
        AttackHandler.OnAttackTarget += OnPlayerAttack;
        ClientDungeonStageUtility.onReceiveCustomDropItme += OnReceiveCustomDropItme;
        dungeonModel.onDungeonResultEvent += OnDungeonResultEvent;
        ClientDropItemUtility.OnItemPickup += OnItemPickup;
    }
    protected override void OnStageLoadFinish()
@@ -135,7 +135,7 @@
            TargetBriefInfo.OnRefreshBossLifeBar(_victimId, clientFightBoss.NpcConfig.NPCID,
                hp, clientFightBoss.ActorInfo.RealMaxHp);
            clientFightBoss.ActorInfo.Hp = hp;
            playerAtkTime = DateTime.Now;
        }
    }
@@ -297,7 +297,7 @@
        AttackHandler.OnAttackTarget -= OnPlayerAttack;
        ClientDungeonStageUtility.onReceiveCustomDropItme -= OnReceiveCustomDropItme;
        dungeonModel.onDungeonResultEvent -= OnDungeonResultEvent;
        ClientDropItemUtility.OnItemPickup -= OnItemPickup;
        ClientDropItemUtility.OnItemPickup -= OnItemPickup;
    }
#if UNITY_EDITOR
@@ -318,4 +318,4 @@
        Settle,
        Exit
    }
}
}