예제 #1
0
 private void CheckFocusToCritAuxilaryArc(GenericShip ship)
 {
     if (!Combat.ShotInfo.InPrimaryArc)
     {
         HostShip.AddAvailableDiceModificationOwn(new ActionsList.AllianceOverhaulDiceModification());
     }
 }
예제 #2
0
 protected override void FearlessnessAddDiceModification(GenericShip host)
 {
     ActionsList.GenericAction newAction = new ActionsList.FearlessAction()
     {
         ImageUrl = HostUpgrade.ImageUrl,
         HostShip = HostShip
     };
     HostShip.AddAvailableDiceModificationOwn(newAction);
 }
예제 #3
0
 private void MaulDiceModification(GenericShip host)
 {
     ActionsList.GenericAction newAction = new ActionsList.MaulDiceModification()
     {
         ImageUrl = HostUpgrade.ImageUrl,
         HostShip = HostShip
     };
     HostShip.AddAvailableDiceModificationOwn(newAction);
 }
예제 #4
0
 // No more "once per round".
 protected override void AddAbility(GenericShip ship)
 {
     if (Combat.CurrentDiceRoll.DiceList.All(die => die.Side == Combat.CurrentDiceRoll.DiceList.First().Side))
     {
         HostShip.AddAvailableDiceModificationOwn(
             new ActionsList.FirstEdition.SunnyBounderAbilityAction(() => { IsAbilityUsed = true; HostShip = HostShip; })
             );
     }
 }
예제 #5
0
        private void WookieeCommandosDiceModification(GenericShip host)
        {
            GenericAction newAction = new WookieeCommandosDiceModification()
            {
                ImageUrl = HostUpgrade.ImageUrl,
                HostShip = HostShip
            };

            HostShip.AddAvailableDiceModificationOwn(newAction);
        }
예제 #6
0
        private void AddDiceModification(GenericShip ship)
        {
            TreacherousDiceModification newAction = new TreacherousDiceModification()
            {
                ImageUrl           = HostUpgrade.ImageUrl,
                HostShip           = HostShip,
                DoDiceModification = DoTreacherousDiceModification
            };

            HostShip.AddAvailableDiceModificationOwn(newAction);
        }
예제 #7
0
 private void CheckR7AstromechAbility(Ship.GenericShip ship)
 {
     if (!usedThisRound)
     {
         ActionsList.GenericAction newAction = new ActionsList.R7AstromechActionEffect(this)
         {
             ImageUrl = HostUpgrade.ImageUrl,
             HostShip = HostShip
         };
         HostShip.AddAvailableDiceModificationOwn(newAction);
     }
 }
예제 #8
0
 protected virtual void AddAbility(GenericShip ship)
 {
     if (!IsAbilityUsed && Combat.CurrentDiceRoll.DiceList.All(die => die.Side == Combat.CurrentDiceRoll.DiceList.First().Side))
     {
         HostShip.AddAvailableDiceModificationOwn
         (
             new ActionsList.FirstEdition.SunnyBounderAbilityAction(() => { IsAbilityUsed = true; })
         {
             ImageUrl = HostShip.ImageUrl
         }
         );
     }
 }
예제 #9
0
 private void AddMunitionsFailsafeAbility(GenericShip ship)
 {
     HostShip.AddAvailableDiceModificationOwn(new MunitionsFailsafeAction());
 }