private void SelectGarvenDreisAbilityTarget() { MovementTemplates.ReturnRangeRuler(); TargetShip.AssignToken( new Tokens.FocusToken(), delegate { Phases.FinishSubPhase(typeof(GarvenDreisAbilityTargetSubPhase)); CallBack(); }); }
private void CheckAssignStress() { ShipShotDistanceInformation shotInfo = new ShipShotDistanceInformation(HostShip, TargetShip); if (shotInfo.InMobileArc && shotInfo.Range >= 1 && shotInfo.Range <= 2) { Messages.ShowError(HostShip.PilotName + " assigns Stress Token\nto " + TargetShip.PilotName); TargetShip.AssignToken(new Tokens.StressToken(), SelectShipSubPhase.FinishSelection); } else { if (!shotInfo.InMobileArc) { Messages.ShowError("Target is not inside Mobile Arc"); } else if (shotInfo.Distance >= 3) { Messages.ShowError("Target is outside range 2"); } } }
private void SelectAbilityTarget() { HostShip.RemoveToken(typeof(Tokens.FocusToken)); TargetShip.AssignToken(new Tokens.FocusToken(), SelectShipSubPhase.FinishSelection); }
private void SelectGarvenDreisAbilityTarget() { MovementTemplates.ReturnRangeRuler(); TargetShip.AssignToken(new Tokens.FocusToken(), SelectShipSubPhase.FinishSelection); }
private void AssignFocusToken() { TargetShip.AssignToken(new Tokens.FocusToken()); }