Exemplo n.º 1
0
 private void ApplyAbility(GenericShip ship, ref ManeuverHolder movement)
 {
     if (movement.Direction == ManeuverDirection.Left)
     {
         if (movement.Bearing == ManeuverBearing.Bank || movement.Bearing == ManeuverBearing.Turn || movement.Bearing == ManeuverBearing.SegnorsLoop)
         {
             movement.ColorComplexity = GenericMovement.ReduceComplexity(movement.ColorComplexity);
         }
     }
 }
Exemplo n.º 2
0
 private void ApplyAbility(GenericShip ship, ref ManeuverHolder movement)
 {
     if (movement.Bearing == ManeuverBearing.Straight)
     {
         movement.ColorComplexity = GenericMovement.ReduceComplexity(movement.ColorComplexity);
         // Update revealed dial in UI
         Roster.UpdateAssignedManeuverDial(HostShip, HostShip.AssignedManeuver);
         Messages.ShowInfoToHuman("Repulsorlift Stabilizers (Inactive): Difficulty of straight maneuvers is reduced");
     }
 }
Exemplo n.º 3
0
 private void NienNunbAbility(GenericShip ship, ref MovementStruct movement)
 {
     if (movement.ColorComplexity != MovementComplexity.None)
     {
         if (movement.Bearing == ManeuverBearing.Bank)
         {
             movement.ColorComplexity = GenericMovement.ReduceComplexity(movement.ColorComplexity);
         }
     }
 }
Exemplo n.º 4
0
 private void ApplyAbility(GenericShip ship, ref MovementStruct movement)
 {
     if (movement.Speed == ManeuverSpeed.Speed1 || movement.Speed == ManeuverSpeed.Speed2)
     {
         if (movement.Bearing == ManeuverBearing.Straight || movement.Bearing == ManeuverBearing.Bank || movement.Bearing == ManeuverBearing.Turn)
         {
             movement.ColorComplexity = GenericMovement.ReduceComplexity(movement.ColorComplexity);
         }
     }
 }
Exemplo n.º 5
0
        private void DecreaseComplexityOfManeuver(object sender, EventArgs e)
        {
            Selection.ThisShip.AssignedManeuver.ColorComplexity = GenericMovement.ReduceComplexity(Selection.ThisShip.AssignedManeuver.ColorComplexity);

            // Update revealed dial in UI
            Roster.UpdateAssignedManeuverDial(Selection.ThisShip, Selection.ThisShip.AssignedManeuver);

            Messages.ShowInfo("Leia Organa: Difficulty of maneuver is reduced");

            HostShip.State.SpendForce(1, DecisionSubPhase.ConfirmDecision);
        }
Exemplo n.º 6
0
 private void ApplyAbility(GenericShip ship, ref ManeuverHolder movement)
 {
     if (movement.Speed == ManeuverSpeed.Speed3)
     {
         if (movement.Bearing == ManeuverBearing.Straight || movement.Bearing == ManeuverBearing.Bank)
         {
             movement.ColorComplexity = GenericMovement.ReduceComplexity(movement.ColorComplexity);
             // Update revealed dial in UI
             Roster.UpdateAssignedManeuverDial(HostShip, HostShip.AssignedManeuver);
             Messages.ShowInfoToHuman("Maneuver-Assist MGK-300: Difficulty of maneuvers is reduced");
         }
     }
 }
Exemplo n.º 7
0
 private void ApplyAbility(GenericShip ship, ref ManeuverHolder movement)
 {
     if (movement.Speed == ManeuverSpeed.Speed1 || movement.Speed == ManeuverSpeed.Speed2)
     {
         if (movement.Bearing == ManeuverBearing.Straight || movement.Bearing == ManeuverBearing.Bank || movement.Bearing == ManeuverBearing.Turn)
         {
             movement.ColorComplexity = GenericMovement.ReduceComplexity(movement.ColorComplexity);
             // Update revealed dial in UI
             Roster.UpdateAssignedManeuverDial(HostShip, HostShip.AssignedManeuver);
             Messages.ShowInfo("R4 Astromech: Difficulty of maneuver is reduced");
         }
     }
 }