Beispiel #1
0
 void UpdateEquipmentAddition()
 {
     _EquipmentAddition = new BaseAttribute();
     for (int i = 0; i < equipment.Length; i++)
     {
         if (equipment[i] == 0)
         {
             continue;
         }
         EquipmentAttribute equi = Manage.Instance.Data.GetObj <EquipmentAttribute>(equipment[i]);
         if (equi == null)
         {
             continue;
         }
         _EquipmentAddition.UpdateAdditional(baseAttribute, equi.baseAttribute);
     }
 }