Esempio n. 1
0
        private void AskToUseOwnAbility(object sender, EventArgs e)
        {
            SelectDebuffDecisionSubphase subphase = Phases.StartTemporarySubPhaseNew <SelectDebuffDecisionSubphase>(
                "Select debuff subphase",
                Triggers.FinishTrigger
                );

            subphase.DescriptionShort = "Fine-Tuned Thrusters";
            subphase.DescriptionLong  = "You may gain Strain or Deplete token to perform Lock or Barrel Roll action";

            subphase.DecisionOwner  = HostShip.Owner;
            subphase.ShowSkipButton = true;

            subphase.AddDecision(
                "Gain Strain token",
                SelectStrainToken
                );

            subphase.AddDecision(
                "Gain Deplete token",
                SelectDepleteToken
                );

            //TODO: subphase.DefaultDecisionName = "";

            subphase.Start();
        }
Esempio n. 2
0
        private void SelectShip()
        {
            SelectDebuffDecisionSubphase subphase = Phases.StartTemporarySubPhaseNew <SelectDebuffDecisionSubphase>(
                "Select debuff subphase",
                Triggers.FinishTrigger
                );

            subphase.DescriptionShort = "Major Vonreg";
            subphase.DescriptionLong  = "You may assign Strain or Deplete token to target";
            subphase.ImageSource      = HostShip;

            subphase.DecisionOwner  = HostShip.Owner;
            subphase.ShowSkipButton = false;

            subphase.AddDecision(
                "Assign Strain token",
                SelectStrainToken
                );

            subphase.AddDecision(
                "Assign Deplete token",
                SelectDepleteToken
                );

            subphase.DefaultDecisionName = "Assign Strain token";

            subphase.Start();
        }