| | |
| | | using System; |
| | | using System.Collections; |
| | | using System.Collections.Generic; |
| | |
|
| | | using UnityEngine; |
| | | using UnityEngine.UI; |
| | | |
| | |
| | | {
|
| | | if (positionType == 1)
|
| | | {
|
| | | m_RoleInformation2.SetShieldNumber(CrossServerLogin.Instance.oneVsOnePlayerData.MaxProDef, 0);
|
| | | m_RoleInformation2.SetShieldNumber(CrossServerLogin.Instance.oneVsOnePlayerData.MaxProDef, shieldNow);
|
| | | }
|
| | | else
|
| | | {
|
| | | m_RoleInformation1.SetShieldNumber(CrossServerLogin.Instance.oneVsOnePlayerData.MaxProDef, 0);
|
| | | m_RoleInformation1.SetShieldNumber(CrossServerLogin.Instance.oneVsOnePlayerData.MaxProDef, shieldNow);
|
| | | }
|
| | | }
|
| | | // DebugEx.LogError("输出玩家的ID" + playerID+"输出当前护盾值"+ shieldNow);
|
| | | }
|
| | |
|
| | | private void OnHeroHandupAIStopPassive()
|
| | | {
|
| | | //if (!m_AutoImg.activeSelf)
|
| | |
| | | // m_AutoImg.SetActive(true);
|
| | | //}
|
| | | }
|
| | |
|
| | | void OnHeroHandupAIStarted()
|
| | | {
|
| | | //if (m_AutoImg.activeSelf)
|
| | |
| | | m_RoleInformation1.BuffNumber.text = _OpponentBuffSortList.Count.ToString();
|
| | | }
|
| | | } |
| | | |
| | | private void PlaceOfBirth(int type)//关于出生点设置位置信息
|
| | | {
|
| | | if (type == 1)//左
|
| | |
| | | string OpponentName = UIHelper.ServerStringTrim(CrossServerLogin.Instance.oneVsOnePlayerData.opponentName);
|
| | | m_RoleInformation2.SetHeroLvAndName((int)CrossServerLogin.Instance.oneVsOnePlayerData.opponentLevel, OpponentName);
|
| | | m_RoleInformation2.SetHeroHP(CrossServerLogin.Instance.oneVsOnePlayerData.opponentMaxHp, CrossServerLogin.Instance.oneVsOnePlayerData.opponentMaxHp);
|
| | | m_RoleInformation2.SetShieldNumber(100, 100);
|
| | |
|
| | | m_RoleInformation2.SetShieldNumber(100, 0);
|
| | | }
|
| | | else//右
|
| | | {
|
| | |
| | | string OpponentName = UIHelper.ServerStringTrim(CrossServerLogin.Instance.oneVsOnePlayerData.opponentName);
|
| | | m_RoleInformation1.SetHeroLvAndName((int)CrossServerLogin.Instance.oneVsOnePlayerData.opponentLevel, OpponentName);
|
| | | m_RoleInformation1.SetHeroHP(CrossServerLogin.Instance.oneVsOnePlayerData.opponentMaxHp, CrossServerLogin.Instance.oneVsOnePlayerData.opponentMaxHp);
|
| | | m_RoleInformation1.SetShieldNumber(100, 100);
|
| | | m_RoleInformation1.SetShieldNumber(100, 0);
|
| | | }
|
| | | }
|
| | |
|