FlameThrower.cs 617 B

12345678910111213141516171819202122232425262728
  1. using System;
  2. using Warhammer.Service;
  3. namespace Warhammer.Models.Weapons
  4. {
  5. public class FlameThrower : Weapon
  6. {
  7. public FlameThrower()
  8. {
  9. Range = 30;
  10. }
  11. public override int DamageAmount(int successDegree)
  12. {
  13. throw new NotImplementedException();
  14. }
  15. public override int Shoot(int bonusCt, int ct, string amo = null, bool? isHorde = null)
  16. {
  17. if (isHorde == true)
  18. {
  19. return DiceService.RollDices(1,5) + Utilities.Round(Range, 4);
  20. }
  21. return 0;
  22. }
  23. }
  24. }