예제 #1
0
        public ShipModel_Defender __CreateDefender__()
        {
            ShipModel_Defender shipModel_Defender = new ShipModel_Defender(this._mst_data, this._base_data, this.HpEnd, this.SlotitemListEnd, this.SlotitemExEnd);

            this._record.Add(shipModel_Defender);
            return(shipModel_Defender);
        }
예제 #2
0
        public ShipModel_Defender __CreateDefender__()
        {
            ShipModel_Defender shipModel_Defender = new ShipModel_Defender(_mst_data, _base_data, HpEnd, SlotitemListEnd, SlotitemExEnd);

            _record.Add(shipModel_Defender);
            return(shipModel_Defender);
        }
예제 #3
0
 private ShipRecoveryType _IsUseRecoverySlotitem(List <ShipModel_Battle> record)
 {
     for (int i = 0; i < record.get_Count(); i++)
     {
         if (this._record.get_Item(i) is ShipModel_Defender)
         {
             ShipModel_Defender shipModel_Defender = (ShipModel_Defender)record.get_Item(i);
             if (shipModel_Defender.DamageEventAfter == DamagedStates.Youin)
             {
                 return(ShipRecoveryType.Personnel);
             }
             if (shipModel_Defender.DamageEventAfter == DamagedStates.Megami)
             {
                 return(ShipRecoveryType.Goddes);
             }
         }
     }
     return(ShipRecoveryType.None);
 }