Exemple #1
0
 private void ValidateOffHandAttack(IEnemy enemy)
 {
     Assert.IsNotNull(enemy);
     Assert.IsTrue(BonusActionAvailable);
     Assert.IsTrue(OffhandAttackAvailable);
     Assert.IsTrue(CurrentOffHand.CanFire());
     Assert.IsTrue(CurrentOffHand.HasShotLoaded());
 }
Exemple #2
0
 private bool CurrentOffHandCanSwap()
 {
     return(CurrentOffHand != null &&
            (!CurrentOffHand.HasShotLoaded() ||
             !CurrentOffHand.CanFire()));
 }