예제 #1
0
 /// <summary>
 /// Calculates the number of hits an enemy with the provided hp will take to die if this WeaponMultiplier is applicable to the attack.
 /// </summary>
 /// <param name="enemyHp">Hp of the enemy</param>
 /// <returns>The number of hits to kill the enemy</returns>
 public int NumberOfHits(int enemyHp)
 {
     return(WeaponMultiplier.NumberOfHits(enemyHp));
 }
예제 #2
0
 public WeaponSusceptibility(int shots, WeaponMultiplier weaponMultiplier)
 {
     Shots            = shots;
     WeaponMultiplier = weaponMultiplier;
 }