Пример #1
0
        private void InitializeSlots()
        {
            foreach (var slot in ShipInfo.UpgradeIcons.Upgrades)
            {
                UpgradeBar.AddSlot(slot);
            }

            foreach (var slot in PilotInfo.ExtraUpgrades)
            {
                UpgradeBar.AddSlot(slot);
            }

            if (DebugManager.FreeMode)
            {
                UpgradeBar.AddSlot(UpgradeType.Omni);
            }
        }
Пример #2
0
            public P4LOM() : base()
            {
                PilotName  = "4-LOM";
                PilotSkill = 3;
                Cost       = 49;

                IsUnique = true;

                PilotRuleType = typeof(SecondEdition);

                ActionBar.RemovePrintedAction(typeof(FocusAction));
                ActionBar.AddPrintedAction(new CalculateAction());

                UpgradeBar.AddSlot(Upgrade.UpgradeType.Elite);
                PilotAbilities.Add(new P4LOMAbility());

                SEImageNumber = 201;
            }
Пример #3
0
            public void AdaptShipToSecondEdition()
            {
                PrintedActions.Remove(PrintedActions.First(n => n is EvadeAction));

                Maneuvers["1.F.S"] = MovementComplexity.Normal;
                Maneuvers["2.L.B"] = MovementComplexity.Easy;
                Maneuvers["2.R.B"] = MovementComplexity.Easy;
                Maneuvers["3.L.E"] = MovementComplexity.Complex;
                Maneuvers["3.R.E"] = MovementComplexity.Complex;

                UpgradeBar.AddSlot(Upgrade.UpgradeType.System);

                PrintedActions.Add(new FocusAction()
                {
                    LinkedRedAction = new BarrelRollAction()
                    {
                        IsRed = true
                    }
                });
            }