Exemplo n.º 1
0
 /// <summary>
 /// 初始化英战斗属性
 /// </summary>
 /// <param name="baseHero"></param>
 /// <param name="inscriptionPage"></param>
 public void InitBatteryAttibute(BaseHero baseHero, InscriptionPage inscriptionPage)
 {
     baseAttibute    = CopyTool.DeepCopy <BaseAttribute>(baseHero.baseAttribute);
     attackAttibute  = CopyTool.DeepCopy <AttackAttribute>(baseHero.attackAttribute);
     defenseAttibute = CopyTool.DeepCopy <DefenseAttribute>(baseHero.defenseAttribute);
     InitInscriptionAttibute(inscriptionPage);
 }
Exemplo n.º 2
0
        public void AddRecommendEquipment(BaseEquipment baseEquipment)
        {
            BaseEquipment ecop = CopyTool.DeepCopy <BaseEquipment>(baseEquipment);

            if (_recommendList.ContainsKey(ecop.equipmentId))
            {
                _recommendList.Add(ecop.equipmentId, ecop);
            }
        }