FlameThrower.cs 480 B

12345678910111213141516171819202122
  1. using Infrastructure;
  2. namespace Domain.Weapons;
  3. public class FlameThrower : Weapon
  4. {
  5. public FlameThrower()
  6. {
  7. Range = 30;
  8. }
  9. public override int DamageAmount(int successDegree)
  10. {
  11. throw new NotImplementedException();
  12. }
  13. public override int Attack(int bonusCt, int ct, string amo = null, bool? isHorde = null)
  14. {
  15. if (isHorde == true) return DiceService.RollDices(1, 5) + Utilities.Round(Range, 4);
  16. return 0;
  17. }
  18. }