Class InfantryDisposableWeaponHandler

All Implemented Interfaces:
Serializable, AttackHandler

public class InfantryDisposableWeaponHandler extends InfantryWeaponHandler
Resolves a Disposable Infantry Weapon attack (TO:AuE p.116, Corrected Sixth Printing). Conventional infantry and battle armor may make a single once-per-scenario attack with their one-shot Disposable Weapons instead of the platoon's standard weapon attack.

The damage formula differs from a standard infantry weapon attack: the total damage equals three times the disposable weapon's per-trooper damage value, multiplied by the number of troopers who hit on the Cluster Hits Table, rounded normally. None of the standard conventional-infantry range-0 bonuses (TSM, prosthetic enhancements, extraneous limbs, tail or beast-mount damage) and none of the primary-weapon damage caps apply: these are fired weapons resolved strictly by the formula.

See Also:
  • Field Details

    • DISPOSABLE_DAMAGE_MULTIPLIER

      public static final double DISPOSABLE_DAMAGE_MULTIPLIER
      The per-trooper damage of a Disposable Weapon attack is multiplied by this value before being scaled by the number of troopers who hit (TO:AuE p.116, Corrected Sixth Printing).
      See Also:
  • Constructor Details

  • Method Details

    • calcHits

      protected int calcHits(Vector<Report> phaseReportVector)
      Description copied from class: WeaponHandler
      Calculate the number of hits
      Overrides:
      calcHits in class InfantryWeaponHandler
      Parameters:
      phaseReportVector - - the Vector containing the phase report.
      Returns:
      an int containing the number of hits.
    • useAmmo

      public void useAmmo()
      A Disposable Weapon is expended for the rest of the scenario once it is fired. Mark the firing weapon as fired so Mounted.canFire() blocks any further use this game.
      Overrides:
      useAmmo in class InfantryWeaponHandler