| | |
| | | yield break;
|
| | | }
|
| | |
|
| | | var pack = ModelCenter.Instance.GetModel<PackModel>();
|
| | | var equipIndex = EquipSet.ClientPlaceToServerPlace(new Int2(0, (int)RoleEquipType.Guard));
|
| | | var _itemModel = pack.GetItemByIndex(PackType.Equip, equipIndex);
|
| | | if (_itemModel != null && _itemModel.itemInfo != null)
|
| | | {
|
| | | PlayerDatas.Instance.hero.SwitchGuard((uint)_itemModel.itemId);
|
| | | }
|
| | |
|
| | | bool _result = MapArea.IsInMapArea(PlayerDatas.Instance.hero.CurMapArea, MapArea.E_Type.Boss);
|
| | |
|
| | | if (MapArea.IsInMapArea(PlayerDatas.Instance.hero.CurMapArea, MapArea.E_Type.Boss))
|
| | |
| | |
|
| | | private void HandleAutoHazyRegion()
|
| | | {
|
| | | if (!hazyRegionModel.auto)
|
| | | {
|
| | | return;
|
| | | }
|
| | |
|
| | | if (!startAutoHazyRegion)
|
| | | {
|
| | | if (ClientDungeonStageUtility.isClientDungeon)
|
| | |
| | | }
|
| | |
|
| | | m_CalcAutoHazyRegionTime = 0;
|
| | |
|
| | | if (!hazyRegionModel.auto)
|
| | | {
|
| | | return;
|
| | | }
|
| | |
|
| | | if (ActorInfo.serverDie)
|
| | | {
|