private void ValidateOffHandAttack(IEnemy enemy) { Assert.IsNotNull(enemy); Assert.IsTrue(BonusActionAvailable); Assert.IsTrue(OffhandAttackAvailable); Assert.IsTrue(CurrentOffHand.CanFire()); Assert.IsTrue(CurrentOffHand.HasShotLoaded()); }
private bool AttemptOhShoot(IEnemy enemy) { bool ret = false; if (CurrentOffHand.HasShotLoaded()) { OffHandShoot(enemy); ret = true; } NumberOfShotsLostToMisfire += DetermineAtksNotShotFromMisfire(CurrentOffHand, 1, 1); return(ret); }
private bool CurrentOffHandCanSwap() { return(CurrentOffHand != null && (!CurrentOffHand.HasShotLoaded() || !CurrentOffHand.CanFire())); }