コード例 #1
0
ファイル: Dengar.cs プロジェクト: vitreuz/FlyCasual
 private void DengarCrewActionEffect(GenericShip host)
 {
     ActionsList.GenericAction newAction = new ActionsList.DengarDiceModification
     {
         HostShip = host,
         ImageUrl = HostUpgrade.ImageUrl
     };
     host.AddAvailableDiceModificationOwn(newAction);
 }
コード例 #2
0
ファイル: Zuckuss.cs プロジェクト: vitreuz/FlyCasual
 private void ZuckussAbilityEffect(GenericShip host)
 {
     ActionsList.GenericAction newAction = new ActionsList.ZuckussActionEffect()
     {
         ImageUrl = HostUpgrade.ImageUrl,
         HostShip = host
     };
     host.AddAvailableDiceModificationOwn(newAction);
 }
コード例 #3
0
        private void AddFinnDiceModifications(GenericShip ship)
        {
            ship.AddAvailableDiceModificationOwn(
                new FinnTransportPodDiceModificationBlank()
            {
                HostShip = HostShip,
                ImageUrl = HostShip.ImageUrl
            }
                );

            ship.AddAvailableDiceModificationOwn(
                new FinnTransportPodDiceModificationFocus()
            {
                HostShip = HostShip,
                ImageUrl = HostShip.ImageUrl
            }
                );
        }
コード例 #4
0
ファイル: SensorCluster.cs プロジェクト: vitreuz/FlyCasual
 private void SensorClusterActionEffect(GenericShip host)
 {
     ActionsList.GenericAction newAction = new ActionsList.SensorClusterActionEffect()
     {
         ImageUrl = HostUpgrade.ImageUrl,
         HostShip = host
     };
     host.AddAvailableDiceModificationOwn(newAction);
 }
コード例 #5
0
ファイル: MercenaryCopilot.cs プロジェクト: vitreuz/FlyCasual
        private void MercenaryCopilotActionEffect(GenericShip host)
        {
            GenericAction newAction = new MercenaryCopilotAction()
            {
                ImageUrl = HostUpgrade.ImageUrl,
                HostShip = host
            };

            host.AddAvailableDiceModificationOwn(newAction);
        }
コード例 #6
0
        private void LightweightFrameActionEffect(GenericShip host)
        {
            GenericAction newAction = new LightweightFrameDiceModification()
            {
                ImageUrl = HostUpgrade.ImageUrl,
                HostShip = host,
            };

            host.AddAvailableDiceModificationOwn(newAction);
        }
コード例 #7
0
        private void FirstOrderVanguardActionEffects(GenericShip host)
        {
            GenericAction attackDiceModification = new FirstOrderVanguardAttackActionEffect()
            {
                ImageUrl = HostUpgrade.ImageUrl,
                HostShip = HostShip
            };

            host.AddAvailableDiceModificationOwn(attackDiceModification);

            GenericAction defenceDiceModification = new FirstOrderVanguardDefenceActionEffect()
            {
                ImageUrl = HostUpgrade.ImageUrl,
                HostShip = HostShip,
                Source   = HostUpgrade
            };

            host.AddAvailableDiceModificationOwn(defenceDiceModification);
        }
コード例 #8
0
ファイル: CrackShot.cs プロジェクト: JeffSkyrunner/FlyCasual
 private void CrackShotDiceModification(GenericShip host)
 {
     ActionsList.GenericAction newAction = new ActionsList.SecondEdition.CrackShotDiceModification()
     {
         ImageUrl = HostUpgrade.ImageUrl,
         HostShip = host,
         Source   = this.HostUpgrade
     };
     host.AddAvailableDiceModificationOwn(newAction);
 }
コード例 #9
0
        private void FinnActionEffect(GenericShip host)
        {
            GenericAction newAction = new ActionsList.SecondEdition.FinnDiceModification()
            {
                HostShip = host,
                ImageUrl = HostUpgrade.ImageUrl
            };

            host.AddAvailableDiceModificationOwn(newAction);
        }
コード例 #10
0
ファイル: JessikaPava.cs プロジェクト: vitreuz/FlyCasual
        private void AddJessPavaActionEffects(GenericShip host)
        {
            GenericAction actionPilot = new ActionsList.SecondEdition.JessPavaActionEffect()
            {
                HostShip = host,
                ImageUrl = host.ImageUrl
            };

            host.AddAvailableDiceModificationOwn(actionPilot);
        }
コード例 #11
0
        private void AddCommanderMalarusEffect(GenericShip host)
        {
            GenericAction newAction = new CommanderMalarusDiceModification()
            {
                ImageUrl = HostShip.ImageUrl,
                HostShip = HostShip
            };

            host.AddAvailableDiceModificationOwn(newAction);
        }
コード例 #12
0
ファイル: Expertise.cs プロジェクト: vitreuz/FlyCasual
        private void AddExpertiseDiceModification(GenericShip host)
        {
            GenericAction newAction = new ExpertiseDiceModification
            {
                ImageUrl = HostUpgrade.ImageUrl,
                HostShip = host
            };

            host.AddAvailableDiceModificationOwn(newAction);
        }
コード例 #13
0
        private void FireControlSystemAbilityDiceModification(GenericShip host)
        {
            var newAction = new ActionsList.SecondEdition.FireControlSystemAbilityActionEffect()
            {
                ImageUrl = HostUpgrade.ImageUrl,
                HostShip = host
            };

            host.AddAvailableDiceModificationOwn(newAction);
        }
コード例 #14
0
        private void AddRoseTicoDiceModification(GenericShip host)
        {
            GenericAction diceModification = new ActionsList.SecondEdition.RoseTicoDiceModification()
            {
                HostShip = host,
                ImageUrl = HostUpgrade.ImageUrl
            };

            host.AddAvailableDiceModificationOwn(diceModification);
        }
コード例 #15
0
ファイル: Juke.cs プロジェクト: vitreuz/FlyCasual
        private void JukeActionEffect(GenericShip host)
        {
            GenericAction newAction = new JukeActionEffect()
            {
                ImageUrl = HostUpgrade.ImageUrl,
                HostShip = host
            };

            host.AddAvailableDiceModificationOwn(newAction);
        }
コード例 #16
0
        private void AdvancedTargetingComputerDiceModification(GenericShip host)
        {
            GenericAction newAction = new AdvancedTargetingComputerActionEffect()
            {
                ImageUrl = HostUpgrade.ImageUrl,
                HostShip = host
            };

            host.AddAvailableDiceModificationOwn(newAction);
        }
コード例 #17
0
ファイル: FlightInstructor.cs プロジェクト: vitreuz/FlyCasual
        private void FlightInstructorActionEffect(GenericShip host)
        {
            GenericAction newAction = new FlightInstructorActionEffect
            {
                HostShip = host,
                ImageUrl = HostUpgrade.ImageUrl
            };

            host.AddAvailableDiceModificationOwn(newAction);
        }
コード例 #18
0
        private void WeaponsGuidanceActionEffect(GenericShip host)
        {
            GenericAction newAction = new AdvancedOpticsDiceModification()
            {
                ImageUrl = HostUpgrade.ImageUrl,
                HostShip = HostShip
            };

            host.AddAvailableDiceModificationOwn(newAction);
        }
コード例 #19
0
        private void TryAddConcordDawnProtectorDiceModification(GenericShip host)
        {
            GenericAction newAction = new ConcordDawnProtectorDiceModification()
            {
                ImageUrl = HostUpgrade.ImageUrl,
                HostShip = host
            };

            host.AddAvailableDiceModificationOwn(newAction);
        }
コード例 #20
0
ファイル: Autothrusters.cs プロジェクト: vitreuz/FlyCasual
        private void TryAddAutothrustersDiceModification(GenericShip host)
        {
            GenericAction newAction = new AutothrustersDiceModification()
            {
                ImageUrl = HostUpgrade.ImageUrl,
                HostShip = host
            };

            host.AddAvailableDiceModificationOwn(newAction);
        }
コード例 #21
0
ファイル: SeventhSister.cs プロジェクト: vitreuz/FlyCasual
        private void SeventhSisterDiceMofication(GenericShip host)
        {
            GenericAction newAction = new ActionsList.SecondEdition.SeventhSisterDiceModification()
            {
                ImageUrl = HostShip.ImageUrl,
                HostShip = host,
            };

            host.AddAvailableDiceModificationOwn(newAction);
        }
コード例 #22
0
ファイル: Bistan.cs プロジェクト: JeffSkyrunner/FlyCasual
        private void BistanAddAction(GenericShip ship)
        {
            GenericAction action = new BistanAction()
            {
                HostShip = this.HostShip,
                ImageUrl = HostUpgrade.ImageUrl
            };

            ship.AddAvailableDiceModificationOwn(action);
        }
コード例 #23
0
ファイル: NorraWexley.cs プロジェクト: vitreuz/FlyCasual
        private void AddNorraWexleyPilotAbility(GenericShip ship)
        {
            NorraWexleyYWingAction newAction = new NorraWexleyYWingAction()
            {
                HostShip             = this.HostShip,
                Name                 = this.HostShip.PilotInfo.PilotName + "'s Ability",
                DiceModificationName = this.HostShip.PilotInfo.PilotName + "'s Ability"
            };

            ship.AddAvailableDiceModificationOwn(newAction);
        }
コード例 #24
0
        private void DiceModification(GenericShip ship)
        {
            GenericAction newAction = new CaptainSearDiceModification()
            {
                ImageUrl        = HostImageUrl,
                HostShip        = ship,
                CaptainSearShip = HostShip
            };

            ship.AddAvailableDiceModificationOwn(newAction);
        }
コード例 #25
0
            protected override void AddProtonTorpedoesDiceMofification(GenericShip host)
            {
                ProtonTorpedoesDiceModificationSE action = new ProtonTorpedoesDiceModificationSE()
                {
                    HostShip = host,
                    ImageUrl = HostUpgrade.ImageUrl,
                    Source   = HostUpgrade
                };

                host.AddAvailableDiceModificationOwn(action);
            }
コード例 #26
0
        private void GuidanceChipsActionEffect(GenericShip host)
        {
            GenericAction newAction = new GuidanceChipsEffect()
            {
                ImageUrl = HostUpgrade.ImageUrl,
                HostShip = host,
                Source   = HostUpgrade
            };

            host.AddAvailableDiceModificationOwn(newAction);
        }
コード例 #27
0
        private void AddDiceModification(GenericShip host)
        {
            AdvancedProtonTorpedoesAction action = new AdvancedProtonTorpedoesAction()
            {
                HostShip = host,
                ImageUrl = HostUpgrade.ImageUrl,
                Source   = HostUpgrade
            };

            host.AddAvailableDiceModificationOwn(action);
        }
コード例 #28
0
        private void AddDiceModification(GenericShip host)
        {
            GenericAction newAction = new RuthlessDiceModification
            {
                ImageUrl = HostUpgrade.ImageUrl,
                HostShip = host,
                Source   = HostUpgrade
            };

            host.AddAvailableDiceModificationOwn(newAction);
        }
コード例 #29
0
        private void AddConcussionMissilesDiceModification(GenericShip host)
        {
            ConcussionMissilesAction action = new ConcussionMissilesAction()
            {
                HostShip = host,
                ImageUrl = HostUpgrade.ImageUrl,
                Source   = HostUpgrade
            };

            host.AddAvailableDiceModificationOwn(action);
        }
コード例 #30
0
        private void CloneCaptainRexEffect(GenericShip host)
        {
            GenericAction newAction = new ActionsList.SecondEdition.CloneCaptainRexEffect()
            {
                HostShip    = host,
                HostUpgrade = HostUpgrade,
                Ability     = this,
                ImageUrl    = HostUpgrade.ImageUrl
            };

            host.AddAvailableDiceModificationOwn(newAction);
        }