Example #1
0
 private void CheckFocusToCritAuxilaryArc(GenericShip ship)
 {
     if (!Combat.ShotInfo.InPrimaryArc)
     {
         HostShip.AddAvailableDiceModification(new ActionsList.AllianceOverhaulDiceModification());
     }
 }
Example #2
0
 protected virtual void AddAbility(GenericShip ship)
 {
     if (!IsAbilityUsed && Combat.CurrentDiceRoll.DiceList.All(die => die.Side == Combat.CurrentDiceRoll.DiceList.First().Side))
     {
         HostShip.AddAvailableDiceModification(new ActionsList.FirstEdition.SunnyBounderAbilityAction(() => { IsAbilityUsed = true; HostShip = HostShip; }));
     }
 }
Example #3
0
 private void AddMunitionsFailsafeAbility(GenericShip ship)
 {
     HostShip.AddAvailableDiceModification(new MunitionsFailsafeAction()
     {
         HostShip = this.HostShip
     });
 }
Example #4
0
 protected virtual void FearlessnessAddDiceModification(GenericShip host)
 {
     ActionsList.GenericAction newAction = new ActionsList.FearlessnessAction()
     {
         ImageUrl = HostUpgrade.ImageUrl,
         Host     = HostShip
     };
     HostShip.AddAvailableDiceModification(newAction);
 }
Example #5
0
 private void MaulDiceModification(GenericShip host)
 {
     ActionsList.GenericAction newAction = new ActionsList.MaulDiceModification()
     {
         ImageUrl = HostUpgrade.ImageUrl,
         Host     = HostShip
     };
     HostShip.AddAvailableDiceModification(newAction);
 }
Example #6
0
        private void WookieeCommandosDiceModification(GenericShip host)
        {
            GenericAction newAction = new WookieeCommandosDiceModification()
            {
                ImageUrl = HostUpgrade.ImageUrl,
                HostShip = HostShip
            };

            HostShip.AddAvailableDiceModification(newAction);
        }
Example #7
0
        private void AddDiceModification(GenericShip ship)
        {
            TreacherousDiceModification newAction = new TreacherousDiceModification()
            {
                ImageUrl           = HostUpgrade.ImageUrl,
                HostShip           = HostShip,
                DoDiceModification = DoTreacherousDiceModification
            };

            HostShip.AddAvailableDiceModification(newAction);
        }
Example #8
0
 private void CheckR7AstromechAbility(Ship.GenericShip ship)
 {
     if (!usedThisRound)
     {
         ActionsList.GenericAction newAction = new ActionsList.R7AstromechActionEffect(this)
         {
             ImageUrl = HostUpgrade.ImageUrl,
             Host     = HostShip
         };
         HostShip.AddAvailableDiceModification(newAction);
     }
 }