private void CheckFocusToCritAuxilaryArc(GenericShip ship) { if (!Combat.ShotInfo.InPrimaryArc) { HostShip.AddAvailableDiceModification(new ActionsList.AllianceOverhaulDiceModification()); } }
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; })); } }
private void AddMunitionsFailsafeAbility(GenericShip ship) { HostShip.AddAvailableDiceModification(new MunitionsFailsafeAction() { HostShip = this.HostShip }); }
protected virtual void FearlessnessAddDiceModification(GenericShip host) { ActionsList.GenericAction newAction = new ActionsList.FearlessnessAction() { ImageUrl = HostUpgrade.ImageUrl, Host = HostShip }; HostShip.AddAvailableDiceModification(newAction); }
private void MaulDiceModification(GenericShip host) { ActionsList.GenericAction newAction = new ActionsList.MaulDiceModification() { ImageUrl = HostUpgrade.ImageUrl, Host = HostShip }; HostShip.AddAvailableDiceModification(newAction); }
private void WookieeCommandosDiceModification(GenericShip host) { GenericAction newAction = new WookieeCommandosDiceModification() { ImageUrl = HostUpgrade.ImageUrl, HostShip = HostShip }; HostShip.AddAvailableDiceModification(newAction); }
private void AddDiceModification(GenericShip ship) { TreacherousDiceModification newAction = new TreacherousDiceModification() { ImageUrl = HostUpgrade.ImageUrl, HostShip = HostShip, DoDiceModification = DoTreacherousDiceModification }; HostShip.AddAvailableDiceModification(newAction); }
private void CheckR7AstromechAbility(Ship.GenericShip ship) { if (!usedThisRound) { ActionsList.GenericAction newAction = new ActionsList.R7AstromechActionEffect(this) { ImageUrl = HostUpgrade.ImageUrl, Host = HostShip }; HostShip.AddAvailableDiceModification(newAction); } }