Created
July 28, 2018 21:48
-
-
Save MatthewBlanchard/31c0e5214dc6b6000c00524bff4ab575 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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