Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts
| | |
| | | }
|
| | | _data.defaultSkillID = m_WillUsedSkillID;
|
| | | m_Hero.aiHandler.currentType = E_HeroAIType.KillUntilDie;
|
| | | if (AI_BossDSX.GetStep() == 1)
|
| | |
|
| | | if (OnUserClickSkill != null)
|
| | | {
|
| | | if (m_WillUsedSkillID == 190)
|
| | | {
|
| | | if (OnUserClickSkill != null)
|
| | | {
|
| | | OnUserClickSkill(m_WillUsedSkillID);
|
| | | }
|
| | | }
|
| | | OnUserClickSkill(m_WillUsedSkillID);
|
| | | }
|
| | | }
|
| | | else
|
| | |
| | | SelectTarget = null;
|
| | | }
|
| | |
|
| | | if (LockTarget is GActorNpcFight)
|
| | | if (LockTarget is GActorNpcFight || LockTarget == null)
|
| | | {
|
| | | var _list = GAMgr.Instance.GetTypeList(E_ActorClassType.Player);
|
| | | if (_list != null && _list.Count > 0)
|
| | |
| | | {
|
| | | crossDayAwardsRedpoint.state = RedPointState.None;
|
| | | }
|
| | |
|
| | | CrossServerUtility.UpdateCrossServerRedpoint();
|
| | | }
|
| | |
|
| | | public void UpdateCrossMatchRedpoint()
|
| | |
| | | }
|
| | | }
|
| | | }
|
| | |
|
| | | CrossServerUtility.UpdateCrossServerRedpoint();
|
| | | }
|
| | |
|
| | | public bool TryGetRedTypeByShopId(int shopId, out int type)
|
| | |
| | | {
|
| | | redPointStre1.state = RedPointState.None;
|
| | | }
|
| | |
|
| | | CrossServerUtility.UpdateCrossServerRedpoint();
|
| | | }
|
| | |
|
| | | private void RedPointSea()//赛季奖励红点
|
| | |
| | | {
|
| | | redPointStre2.state = RedPointState.None;
|
| | | }
|
| | | CrossServerUtility.UpdateCrossServerRedpoint();
|
| | | }
|
| | |
|
| | | private static int m_PkType = 0;
|
| | |
| | | effect.Play();
|
| | | }
|
| | | }
|
| | | else
|
| | | {
|
| | | if (effect.IsPlaying)
|
| | | {
|
| | | effect.Stop();
|
| | | }
|
| | | }
|
| | | }
|
| | | }
|
| | | }
|
| | |
| | | if (model.TryGetBetterEquip(model.currentEquipGuid, out betterEquip))
|
| | | {
|
| | | var itemConfig = Config.Instance.Get<ItemConfig>(betterEquip.itemInfo.ItemID);
|
| | | itemTipsModel.SetItemTipsModel(PackType.rptItem, betterEquip.itemInfo.ItemGUID);
|
| | | var packType = GeneralDefine.GetPackTypeByItemType(itemConfig.Type);
|
| | | itemTipsModel.SetItemTipsModel(packType, betterEquip.itemInfo.ItemGUID);
|
| | | }
|
| | | }
|
| | |
|
| | |
| | | putOnModel2 = playerPack.GetItemModelByIndex(PackType.rptJadeDynastyEquip, (int)RoleEquipType.JadeDynasty_Ring2);
|
| | | break;
|
| | | }
|
| | | if (putOnModel2 != null)
|
| | |
|
| | | switch ((RoleEquipType)chinItemModel.EquipPlace)
|
| | | {
|
| | | if (putOnModel != null)
|
| | | {
|
| | | if (putOnModel2.equipScore < putOnModel.equipScore)
|
| | | case RoleEquipType.retFairyCan:
|
| | | case RoleEquipType.JadeDynasty_Glove1:
|
| | | case RoleEquipType.JadeDynasty_Ring1:
|
| | | if (putOnModel2 != null)
|
| | | {
|
| | | if (putOnModel != null)
|
| | | {
|
| | | if (putOnModel2.equipScore < putOnModel.equipScore)
|
| | | {
|
| | | putOnModel = putOnModel2;
|
| | | }
|
| | | }
|
| | | }
|
| | | else
|
| | | {
|
| | | putOnModel = putOnModel2;
|
| | | }
|
| | | }
|
| | | break;
|
| | | }
|
| | |
|
| | | int equipScore1 = 0;
|