示例#1
0
        //public int GetPlayerCurrentLevelMaxNEM()
        //{
        //    if ( player.starNum >= 3 )
        //        return 0;
        //    int currentMaxNEM = expValuesProtoData.expValues.Find( p => p.StarRank == ( player.starNum + 1 ) ).NEMs;

        //    return currentMaxNEM;
        //}

        /// <summary>
        /// If you want to use the index to get army, The return value needs to be reduced by 1
        /// </summary>
        public int GetArmyIndexByBattleType(BattleType type)
        {
            return(player.GetArmyIndexByBattleType(type));
        }