Class MRMWeapon

All Implemented Interfaces:
Serializable, ITechnology
Direct Known Subclasses:
ISBAMRM1, ISBAMRM1OS, ISBAMRM2, ISBAMRM2OS, ISBAMRM3, ISBAMRM3OS, ISBAMRM4, ISBAMRM4OS, ISBAMRM5, ISBAMRM5OS, ISMRM1, ISMRM10, ISMRM10IOS, ISMRM10OS, ISMRM1OS, ISMRM2, ISMRM20, ISMRM20IOS, ISMRM20OS, ISMRM2OS, ISMRM3, ISMRM30, ISMRM30IOS, ISMRM30OS, ISMRM3OS, ISMRM4, ISMRM40, ISMRM40IOS, ISMRM40OS, ISMRM4OS, ISMRM5, ISMRM5OS

public abstract class MRMWeapon extends MissileWeapon
See Also:
  • Constructor Details

    • MRMWeapon

      public MRMWeapon()
  • Method Details

    • getToHitModifier

      public int getToHitModifier(@Nullable Mounted<?> mounted)
      Overrides:
      getToHitModifier in class EquipmentType
    • getCorrectHandler

      @Nullable public AttackHandler getCorrectHandler(ToHitData toHit, WeaponAttackAction waa, Game game, TWGameManager manager)
      Overrides:
      getCorrectHandler in class MissileWeapon
    • getBattleForceDamage

      public double getBattleForceDamage(int range, Mounted<?> fcs)
      Description copied from class: WeaponType
      Damage calculation for BattleForce and AlphaStrike for missile weapons that may have advanced fire control
      Overrides:
      getBattleForceDamage in class MissileWeapon
      Parameters:
      range - - the range in hexes
      fcs - - linked Artemis or Apollo FCS (null for none)
      Returns:
      - damage in BattleForce scale
    • getSortingName

      public String getSortingName()
      Description copied from class: EquipmentType
      Sorting with the String returned by this method results in an improved ordering and grouping of equipment than by getName(); for example, AC2/5/10/20 will appear in that order instead of the order AC10/2/20/5 and S/M/L Lasers will be grouped together.
      Overrides:
      getSortingName in class EquipmentType
      Returns:
      A String similar to getName() but modified to support a better sorting