public override void LoadFromResponse(string apiname, dynamic data)
        {
            base.LoadFromResponse(apiname, (object)data);

            NightInitial    = new PhaseNightInitial(this, "夜戦開始", false);
            FriendlySupport = new PhaseFriendlySupport(this, "友軍艦隊援護");
            NightSupport    = new PhaseSupport(this, "夜間支援攻撃", true);
            NightBattle     = new PhaseNightBattle(this, "第一次夜戦", 1);
            NightBattle2    = new PhaseNightBattle(this, "第二次夜戦", 2);


            if (NextToDay)
            {
                JetBaseAirAttack = new PhaseJetBaseAirAttack(this, "噴式基地航空隊攻撃");
                JetAirBattle     = new PhaseJetAirBattle(this, "噴式航空戦");
                BaseAirAttack    = new PhaseBaseAirAttack(this, "基地航空隊攻撃");
                Support          = new PhaseSupport(this, "支援攻撃");
                AirBattle        = new PhaseAirBattle(this, "航空戦");
                OpeningASW       = new PhaseOpeningASW(this, "先制対潜");
                OpeningTorpedo   = new PhaseTorpedo(this, "先制雷撃", 0);
                Shelling1        = new PhaseShelling(this, "第一次砲撃戦", 1, "1");
                Shelling2        = new PhaseShelling(this, "第二次砲撃戦", 2, "2");
                Torpedo          = new PhaseTorpedo(this, "雷撃戦", 3);
            }

            foreach (var phase in GetPhases())
            {
                phase.EmulateBattle(_resultHPs, _attackDamages);
            }
        }
        public override void LoadFromResponse(string apiname, dynamic data)
        {
            base.LoadFromResponse(apiname, (object)data);

            NightSupport = new PhaseSupport(this, "夜间支援攻击", true);
            NightBattle  = new PhaseNightBattle(this, "第一次夜战", 1, false);
            NightBattle2 = new PhaseNightBattle(this, "第二次夜战", 2, false);


            if (NextToDay)
            {
                JetBaseAirAttack = new PhaseJetBaseAirAttack(this, "喷式基地航空队攻击");
                JetAirBattle     = new PhaseJetAirBattle(this, "喷式航空战");
                BaseAirAttack    = new PhaseBaseAirAttack(this, "基地航空队攻击");
                Support          = new PhaseSupport(this, "支援攻击");
                AirBattle        = new PhaseAirBattle(this, "航空战");
                OpeningASW       = new PhaseOpeningASW(this, "先制对潜");
                OpeningTorpedo   = new PhaseTorpedo(this, "开幕雷击", 0);
                Shelling1        = new PhaseShelling(this, "第一次炮击战", 1, "1");
                Shelling2        = new PhaseShelling(this, "第二次炮击战", 2, "2");
                Torpedo          = new PhaseTorpedo(this, "雷击战", 3);
            }

            foreach (var phase in GetPhases())
            {
                phase.EmulateBattle(_resultHPs, _attackDamages);
            }
        }
        public override void LoadFromResponse(string apiname, dynamic data)
        {
            base.LoadFromResponse(apiname, (object)data);

            JetBaseAirAttack = new PhaseJetBaseAirAttack(this, "噴式基地航空隊攻撃");
            BaseAirAttack    = new PhaseBaseAirAttack(this, "基地航空隊攻撃");
            Shelling1        = new PhaseRadar(this, "レーダー射撃");

            foreach (var phase in GetPhases())
            {
                phase.EmulateBattle(_resultHPs, _attackDamages);
            }
        }
Esempio n. 4
0
        public override void LoadFromResponse(string apiname, dynamic data)
        {
            base.LoadFromResponse(apiname, (object)data);

            JetBaseAirAttack = new PhaseJetBaseAirAttack(this, "噴式基地航空隊攻撃");
            JetAirBattle     = new PhaseJetAirBattle(this, "噴式航空戦");
            BaseAirAttack    = new PhaseBaseAirAttack(this, "基地航空隊攻撃");
            AirBattle        = new PhaseAirBattle(this, "空襲戦");
            // 支援はないものとする

            foreach (var phase in GetPhases())
            {
                phase.EmulateBattle(_resultHPs, _attackDamages);
            }
        }
Esempio n. 5
0
        public override void LoadFromResponse(string apiname, dynamic data)
        {
            base.LoadFromResponse(apiname, (object)data);

            JetBaseAirAttack = new PhaseJetBaseAirAttack(this, "噴式基地航空隊攻撃");
            JetAirBattle     = new PhaseJetAirBattle(this, "噴式航空戦");
            BaseAirAttack    = new PhaseBaseAirAttack(this, "基地航空隊攻撃");
            AirBattle        = new PhaseAirBattle(this, "第一次航空戦");
            Support          = new PhaseSupport(this, "支援攻撃");
            AirBattle2       = new PhaseAirBattle(this, "第二次航空戦", "2");

            foreach (var phase in GetPhases())
            {
                phase.EmulateBattle(_resultHPs, _attackDamages);
            }
        }
Esempio n. 6
0
        public override void LoadFromResponse(string apiname, dynamic data)
        {
            base.LoadFromResponse(apiname, (object)data);

            JetBaseAirAttack = new PhaseJetBaseAirAttack(this, "噴式基地航空隊攻撃");
            JetAirBattle     = new PhaseJetAirBattle(this, "噴式航空戦");
            BaseAirAttack    = new PhaseBaseAirAttack(this, "基地航空隊攻撃");
            AirBattle        = new PhaseAirBattle(this, "航空戦");
            Support          = new PhaseSupport(this, "支援攻撃");
            OpeningASW       = new PhaseOpeningASW(this, "先制対潜", false, true);
            OpeningTorpedo   = new PhaseTorpedo(this, "先制雷撃", 0);
            Shelling1        = new PhaseShelling(this, "第一次砲撃戦", 1, "1", false, true);
            Torpedo          = new PhaseTorpedo(this, "雷撃戦", 2);
            Shelling2        = new PhaseShelling(this, "第二次砲撃戦", 3, "2", false, false);
            Shelling3        = new PhaseShelling(this, "第三次砲撃戦", 4, "3", false, false);

            foreach (var phase in GetPhases())
            {
                phase.EmulateBattle(_resultHPs, _attackDamages);
            }
        }