| | |
| | | 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);
|
| | |
| | | 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()
|
| | |
| | |
|
| | | TargetBriefInfo.OnRefreshBossLifeBar(_victimId, clientFightBoss.NpcConfig.NPCID,
|
| | | hp, clientFightBoss.ActorInfo.RealMaxHp);
|
| | |
|
| | | clientFightBoss.ActorInfo.Hp = hp;
|
| | | playerAtkTime = DateTime.Now;
|
| | | }
|
| | | }
|
| | |
| | | AttackHandler.OnAttackTarget -= OnPlayerAttack;
|
| | | ClientDungeonStageUtility.onReceiveCustomDropItme -= OnReceiveCustomDropItme;
|
| | | dungeonModel.onDungeonResultEvent -= OnDungeonResultEvent;
|
| | | ClientDropItemUtility.OnItemPickup -= OnItemPickup; |
| | | ClientDropItemUtility.OnItemPickup -= OnItemPickup;
|
| | | }
|
| | |
|
| | | #if UNITY_EDITOR
|
| | |
| | | Settle,
|
| | | Exit
|
| | | }
|
| | | } |
| | | }
|