示例#1
0
 private void CheckFocusToCritAuxilaryArc(GenericShip ship)
 {
     if (!Combat.ShotInfo.InPrimaryArc)
     {
         HostShip.AddAvailableDiceModification(new ActionsList.AllianceOverhaulDiceModification());
     }
 }
示例#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; }));
     }
 }
示例#3
0
 private void AddMunitionsFailsafeAbility(GenericShip ship)
 {
     HostShip.AddAvailableDiceModification(new MunitionsFailsafeAction()
     {
         HostShip = this.HostShip
     });
 }
示例#4
0
 protected virtual void FearlessnessAddDiceModification(GenericShip host)
 {
     ActionsList.GenericAction newAction = new ActionsList.FearlessnessAction()
     {
         ImageUrl = HostUpgrade.ImageUrl,
         Host     = HostShip
     };
     HostShip.AddAvailableDiceModification(newAction);
 }
示例#5
0
 private void MaulDiceModification(GenericShip host)
 {
     ActionsList.GenericAction newAction = new ActionsList.MaulDiceModification()
     {
         ImageUrl = HostUpgrade.ImageUrl,
         Host     = HostShip
     };
     HostShip.AddAvailableDiceModification(newAction);
 }
示例#6
0
        private void WookieeCommandosDiceModification(GenericShip host)
        {
            GenericAction newAction = new WookieeCommandosDiceModification()
            {
                ImageUrl = HostUpgrade.ImageUrl,
                HostShip = HostShip
            };

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

            HostShip.AddAvailableDiceModification(newAction);
        }
示例#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);
     }
 }