Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save MatthewBlanchard/31c0e5214dc6b6000c00524bff4ab575 to your computer and use it in GitHub Desktop.
Save MatthewBlanchard/31c0e5214dc6b6000c00524bff4ab575 to your computer and use it in GitHub Desktop.
if (!CanShootOutsideArc)
{
ShotInfo shotInfo = new ShotInfo(Host, targetShip, this);
range = shotInfo.Range;
if (IsBullseyeArcOnly)
{
ShotInfoArc bullseyeShotInfo = new ShotInfoArc(Host, targetShip, Host.ArcInfo.GetArc<Arcs.ArcBullseye>());
if (!bullseyeShotInfo.InArc)
return false;
}
if (!shotInfo.IsShotAvailable) return false;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment