| | |
| | | IsCanReborn = false;
|
| | | isOpenPrompting = true;
|
| | | this.deadCD = 0;
|
| | | localBossState = 0;
|
| | | localBossState = false;
|
| | | playerIsDie = false;
|
| | | }
|
| | |
|
| | |
| | | private DungeonOpenTimeConfig _dungeonOpenTimeModel;
|
| | |
|
| | | public bool IsCanReborn { get; private set; }
|
| | | public int localBossState { get; private set;}
|
| | | public bool localBossState { get; private set;}
|
| | | public string killerName { get; private set; }
|
| | | public bool isKillByPlayer { get; private set; }
|
| | | public int npcRealmLv { get; private set; }
|
| | | private void RefreshPlayerDieInfo(string key, ArrayList infolist)
|
| | | {
|
| | | npcRealmLv = 0;
|
| | | localBossState = false;
|
| | | switch (key)
|
| | | {
|
| | | case "PK_lhs_318691":
|
| | |
| | | case "GeRen_chenxin_279029":
|
| | | if(infolist.Count > 0)
|
| | | {
|
| | | WorldBossConfig bossConfig = Config.Instance.Get<WorldBossConfig>(int.Parse(infolist[0].ToString()));
|
| | | NPCConfig nPCConfig = Config.Instance.Get<NPCConfig>(int.Parse(infolist[0].ToString()));
|
| | | if(nPCConfig != null)
|
| | | {
|
| | | killerName = nPCConfig.charName;
|
| | | npcRealmLv = nPCConfig.Realm;
|
| | | }
|
| | | if(bossConfig != null)
|
| | | {
|
| | | localBossState = true;
|
| | | }
|
| | | isKillByPlayer = false;
|
| | | }
|
| | |
| | | {
|
| | | return;
|
| | | }
|
| | |
|
| | | localBossState = PlayerDatas.Instance.extersion.bossState;
|
| | | playerIsDie = true;
|
| | | _tagMapModel = Config.Instance.Get<MapConfig>(PlayerDatas.Instance.baseData.MapID);
|
| | | if (_tagMapModel.MapFBType == 0)
|
| | |
| | | rebornTiredNum = RebornConditions[0];
|
| | | rebornPrice = RebornConditions[2];
|
| | | //isBossKill = StatusManager.Instance.IsExist((int)playerId,20022);
|
| | | if (!isKillByPlayer && localBossState == 1)
|
| | | if (!isKillByPlayer && localBossState)
|
| | | {
|
| | | autoRebornTime = RebornConditions[3];
|
| | | }
|
| | |
| | | if (PlayerDatas.Instance.baseData.PlayerID != data.PlayerID)
|
| | | return;
|
| | |
|
| | | localBossState = 0;
|
| | | localBossState = false;
|
| | | this.deadCD = 0;
|
| | | isKillByPlayer = false;
|
| | | playerIsDie = false;
|