Class LBXHandler

All Implemented Interfaces:
Serializable, AttackHandler
Direct Known Subclasses:
ACFlakHandler, CLLBXPrototypeHandler, MPodHandler, PrototypeLBXHandler

public class LBXHandler extends AmmoWeaponHandler
See Also:
  • Constructor Details

  • Method Details

    • calcDamagePerHit

      protected int calcDamagePerHit()
      Description copied from class: WeaponHandler
      Calculate the damage per hit.
      Overrides:
      calcDamagePerHit in class WeaponHandler
      Returns:
      an int representing the damage dealt per hit.
    • calcAttackValue

      protected int calcAttackValue()
      Calculate the attack value based on range
      Overrides:
      calcAttackValue in class WeaponHandler
      Returns:
      an int representing the attack value at that range.
    • calcHits

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

      protected boolean usesClusterTable()
      Description copied from class: WeaponHandler
      Does this attack use the cluster hit table? necessary to determine how Aero damage should be applied
      Overrides:
      usesClusterTable in class WeaponHandler