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