Package megamek.common.weapons.infantry
Class InfantryWeapon
java.lang.Object
megamek.common.equipment.EquipmentType
megamek.common.equipment.WeaponType
megamek.common.weapons.Weapon
megamek.common.weapons.infantry.InfantryWeapon
- All Implemented Interfaces:
Serializable,ITechnology
- Direct Known Subclasses:
InfantryArchaicAxeWeapon,InfantryArchaicBasicCrossbowWeapon,InfantryArchaicBlackjackWeapon,InfantryArchaicBladeArchaicSwordWeapon,InfantryArchaicBladeJoustingLanceWeapon,InfantryArchaicBladeZweihanderSwordWeapon,InfantryArchaicBokkenWeapon,InfantryArchaicCarbonReinforcedNailsWeapon,InfantryArchaicClanVibroSwordWeapon,InfantryArchaicCompoundBowWeapon,InfantryArchaicDaggerWeapon,InfantryArchaicDaikyuBowWeapon,InfantryArchaicDaoWeapon,InfantryArchaicDoubleStunStaffWeapon,InfantryArchaicHankyuBowWeapon,InfantryArchaicHatchetWeapon,InfantryArchaicHeavyCrossbowWeapon,InfantryArchaicImprovisedClubWeapon,InfantryArchaicISVibroSwordWeapon,InfantryArchaicKatanaWeapon,InfantryArchaicLongBowWeapon,InfantryArchaicMedusaWhipWeapon,InfantryArchaicMiniStunstickWeapon,InfantryArchaicMonowireWeapon,InfantryArchaicNeuralLashWeapon,InfantryArchaicNeuralWhipWeapon,InfantryArchaicNoDachiWeapon,InfantryArchaicNunchakuWeapon,InfantryArchaicPolearmWeapon,InfantryArchaicPrimitiveBowWeapon,InfantryArchaicShockStaffWeapon,InfantryArchaicShortBowWeapon,InfantryArchaicShurikenWeapon,InfantryArchaicSingleStunStaffWeapon,InfantryArchaicStaffWeapon,InfantryArchaicStunstickWeapon,InfantryArchaicSwordWeapon,InfantryArchaicVibroAxeWeapon,InfantryArchaicVibroBladeWeapon,InfantryArchaicVibroKatanaWeapon,InfantryArchaicVibroMaceWeapon,InfantryArchaicWakizashiWeapon,InfantryArchaicWhipWeapon,InfantryArchaicYumiBowWeapon,InfantryGrenadeInfernoWeapon,InfantryGrenadeMicroWeapon,InfantryGrenadeMiniInfernoWeapon,InfantryGrenadeMiniWeapon,InfantryGrenadeRAGWeapon,InfantryGrenadeStandardWeapon,InfantryLaserCarbineBrightStarL15,InfantryLaserPistolAA75L,InfantryLaserPistolAWAWilibyMk4LaserPistol,InfantryLaserPistolBR25,InfantryLaserPistolBrightStarL12,InfantryLaserPistolBrightStarL15,InfantryLaserPistolBrightStarL7,InfantryLaserPistolDarklightIVLaserPistol,InfantryLaserPistolKelvin000Lancer3MM,InfantryLaserPistolXingShan,InfantryLaserPistolXingShanER,InfantryLaserRifleDarkLightCLLight,InfantryLaserRifleDWSL5S,InfantryLaserRifleScorcherVIBlazerRifle,InfantryLaserRifleSyrtisFirebolt12Repaired,InfantryLaserRifleSyrtisFirebolt12Unrepaired,InfantryLaserRifleWolfBaronSunraker,InfantryLaserRifleYangLie,InfantryLaserSniperRifleDWSL5L,InfantryPistolAAGemini,InfantryPistolAlamo17,InfantryPistolAutoPistolNissanWeapon,InfantryPistolAutoPistolWeapon,InfantryPistolBlazerPistolWeapon,InfantryPistolCamdenHR7,InfantryPistolClanERLaserPistolWeapon,InfantryPistolClanGaussPistolWeapon,InfantryPistolClanPulseLaserPistolWeapon,InfantryPistolCoventryHandrocketGyrojetPistolWeapon,InfantryPistolDartGunWeapon,InfantryPistolDreamelDerringer,InfantryPistolFlamerPistolWeapon,InfantryPistolFlarePistolWeapon,InfantryPistolGyrojetPistolWeapon,InfantryPistolHawkEagleAutoPistolWeapon,InfantryPistolHCKP14,InfantryPistolHoldOutGyroJetPistolWeapon,InfantryPistolHoldOutLaserPistolWeapon,InfantryPistolHoldOutNeedlerPistolWeapon,InfantryPistolHoldOutPistolWeapon,InfantryPistolISPulseLaserPistolWeapon,InfantryPistolLaserPistolWeapon,InfantryPistolLemisonCombatRevolver,InfantryPistolMagnumAutoPistolWeapon,InfantryPistolMagnumRevolverWeapon,InfantryPistolMakeshiftPistolWeapon,InfantryPistolMandrakeGaussPistolWeapon,InfantryPistolMartialEagleMachinePistolWeapon,InfantryPistolMauserAutoPistolWeapon,InfantryPistolMauserNeedlerPistolWeapon,InfantryPistolMomoDeBaoyingSpecial,InfantryPistolMomoDeBaoyingStandard,InfantryPistolMPH45,InfantryPistolMydronAutoPistolWeapon,InfantryPistolNakjimaLaserPistolWeapon,InfantryPistolNambu380,InfantryPistolNambu480,InfantryPistolNambuAutoPistolWeapon,InfantryPistolNeedlerPistolWeapon,InfantryPistolPaintGunPistolWeapon,InfantryPistolRevolverWeapon,InfantryPistolRFWGalahad,InfantryPistolSeaEagleNeedlerPistolWeapon,InfantryPistolSerrek7994,InfantryPistolSerrek7994SF,InfantryPistolSerrekAutoPistolWeapon,InfantryPistolSMGGHTSpec7aWeapon,InfantryPistolSonicStunnerWeapon,InfantryPistolSpitballGasPistolWeapon,InfantryPistolSternsnachtPistolWeapon,InfantryPistolSternsnachtPythonAutoPistolWeapon,InfantryPistolStettaAutoPistolWeapon,InfantryPistolSturmEagleMK4M,InfantryPistolSturmEagleMK4P,InfantryPistolSunbeamLaserPistolWeapon,InfantryPistolSunbeamNovaLaserPistolWeapon,InfantryPistolTKEnforcerAutoPistolWeapon,InfantryPistolTranqGunWeapon,InfantryPistolType74DPistol,InfantryPistolType74PPistol,InfantryPistolVintageWeapon,InfantryPistolWhisper4Standard,InfantryPistolWhisper4Subsonic,InfantryPistolWhiteDwarfLaserPistolWeapon,InfantryPistolWolfM30,InfantryPistolYaNjingshe,InfantryProstheticBallisticWeapon,InfantryProstheticBladeWeapon,InfantryProstheticClimbingClawsWeapon,InfantryProstheticDartGunWeapon,InfantryProstheticLaserWeapon,InfantryProstheticNeedlerWeapon,InfantryProstheticNeedleWeapon,InfantryProstheticRumalGarroteWeapon,InfantryProstheticShockerWeapon,InfantryProstheticShotgunWeapon,InfantryProstheticSMGWeapon,InfantryProstheticSonicStunnerWeapon,InfantryProstheticVibroBladeWeapon,InfantryPulseLaserPistolMedusaIII,InfantryPulseLaserPistolMedusaIV,InfantryPulseLaserPistolNWW12,InfantryPulseLaserPistolRDISunSwarmPulsar,InfantryPulseLaserRifleDWSL5C,InfantryPulseLaserRifleGaul,InfantryPulseLaserRifleTirbuni,InfantryRifleAutoRifleWeapon,InfantryRifleBlazerRifleWeapon,InfantryRifleBoltActionWeapon,InfantryRifleClanERLaserWeapon,InfantryRifleClanMauserIICIASInfernoWeapon,InfantryRifleClanMauserIICIASWeapon,InfantryRifleClanPulseLaserWeapon,InfantryRifleEbonyAssaultLaserWeapon,InfantryRifleElephantGunWeapon,InfantryRifleFederatedBarrettM42BInfernoWeapon,InfantryRifleFederatedBarrettM42BWeapon,InfantryRifleFederatedBarrettM61ALaserInfernoWeapon,InfantryRifleFederatedBarrettM61ALaserWeapon,InfantryRifleFederatedLongWeapon,InfantryRifleGyrojetRifleWeapon,InfantryRifleGyroslugCarbineWeapon,InfantryRifleGyroslugRifleWeapon,InfantryRifleHeavyGyrojetGunWeapon,InfantryRifleImperatorAX22AssaultWeapon,InfantryRifleIntekLaserWeapon,InfantryRifleLaserWeapon,InfantryRifleMagnaLaserWeapon,InfantryRifleMakeshiftWeapon,InfantryRifleMarxXXLaserWeapon,InfantryRifleMauser1200LSSWeapon,InfantryRifleMauser960LaserWeapon,InfantryRifleMauserG150Weapon,InfantryRifleMaxellPL10LaserWeapon,InfantryRifleMGFlechetteNeedlerWeapon,InfantryRifleNeedlerWeapon,InfantryRiflePulseLaserWeapon,InfantryRifleShredderHeavyNeedlerWeapon,InfantryRifleStarKingGyroslugCarbineWeapon,InfantryRifleStrikerCarbineRifleWeapon,InfantryRifleSunbeamStarfireERLaserWeapon,InfantryRifleThunderstrokeIIWeapon,InfantryRifleThunderstrokeWeapon,InfantryRifleTKAssaultWeapon,InfantryRifleVintageWeapon,InfantryRifleVSPLaserWeapon,InfantryRifleZeusHeavyWeapon,InfantryShotgunAMIKeymaster15,InfantryShotgunAutomaticWeapon,InfantryShotgunAvengerCCWWeapon,InfantryShotgunAWAAS105,InfantryShotgunAWASS112,InfantryShotgunBuccaneerGelGunWeapon,InfantryShotgunByron15S,InfantryShotgunCeresCrowdbusterWeapon,InfantryShotgunCombatWeapon,InfantryShotgunCWIJianhuren,InfantryShotgunDaystarIC,InfantryShotgunDaystarIIC,InfantryShotgunDaystarIIIC,InfantryShotgunDaystarIIIM,InfantryShotgunDaystarIIM,InfantryShotgunDaystarIM,InfantryShotgunDaystarIVC,InfantryShotgunDaystarIVM,InfantryShotgunDaystarVC,InfantryShotgunDaystarVM,InfantryShotgunDokuhebi,InfantryShotgunDoubleBarrelWeapon,InfantryShotgunDPS305,InfantryShotgunDuckettA5,InfantryShotgunHastariIII,InfantryShotgunMarburg20,InfantryShotgunMarburg20M,InfantryShotgunMorriganStormsweeper,InfantryShotgunPumpActionWeapon,InfantryShotgunRisen15,InfantryShotgunSawedOffDoubleBarrelWeapon,InfantryShotgunSawedOffPumpActionWeapon,InfantryShotgunSDType31,InfantryShotgunSGM3,InfantryShotgunSGS9,InfantryShotgunSGS9E,InfantryShotgunWakazashiWeapon,InfantryShotgunWranglemanTriBarrel,InfantrySMGAWAStarlingMk7,InfantrySMGAWAStarlingMk7LB,InfantrySMGAWAStarlingMk7SF,InfantrySMGBlackfieldScorpionMk65,InfantrySMGBoudicca4,InfantrySMGBoudicca5,InfantrySMGBoudicca7,InfantrySMGClanGaussWeapon,InfantrySMGDSKLargoSGA,InfantrySMGDSKLargoSGB,InfantrySMGGuntherMP20Weapon,InfantrySMGHouwei,InfantrySMGHunkleV,InfantrySMGImperator2894A1Weapon,InfantrySMGJ15Hagel,InfantrySMGJ17Hagel,InfantrySMGJinseYanjingsheAPRounds,InfantrySMGJinseYanjingsheStandard,InfantrySMGKA23Weapon,InfantrySMGNambuTypeS124,InfantrySMGRFWBedivere,InfantrySMGRorynexRM3XXIWeapon,InfantrySMGRuganWeapon,InfantrySMGSpartacus,InfantrySMGSturmHornetMkIII,InfantrySMGSupekuta,InfantrySMGTiberius,InfantrySMGWC2,InfantrySMGWC6,InfantrySMGWeapon,InfantrySMGWolfBarronA7,InfantrySniperRifleBartonAMRAntiArmor,InfantrySniperRifleBartonAMRStandard,InfantrySniperRifleFNFJ12DarkCaste,InfantrySniperRifleFNFJ12SLDF,InfantrySniperRifleHammelMarksman,InfantrySniperRifleLancelotMkV,InfantrySniperRifleLRS53SniperRifle,InfantrySniperRifleMinolta9000Weapon,InfantrySniperRiflePraetorianS3,InfantrySniperRiflePraetorianS5,InfantrySniperRifleRadiumLaserWeapon,InfantrySniperRifleSairentosutomu,InfantrySniperRifleSniperWeapon,InfantrySniperRifleSR17SunsKiller,InfantrySniperRifleThorsHammer,InfantrySniperRifleWilimtonRS14,InfantrySniperRifleWilimtonRS17Stripped,InfantrySniperRifleYuanLing,InfantrySniperStalkerWeapon,InfantrySupportClanBearhunterAutocannonWeapon,InfantrySupportClanERHeavyLaserWeapon,InfantrySupportClanERLaserWeapon,InfantrySupportClanSemiPortableERLaserWeapon,InfantrySupportClanSemiPortableHeavyLaserWeapon,InfantrySupportClanSemiPortablePulseLaserWeapon,InfantrySupportDavidLightGaussRifleWeapon,InfantrySupportDragonsbaneDisposablePulseLaserWeapon,InfantrySupportERHeavyLaserWeapon,InfantrySupportERLaserWeapon,InfantrySupportFiredrakeNeedlerWeapon,InfantrySupportGrandMaulerGaussCannonWeapon,InfantrySupportGrenadeLauncherAutoInfernoWeapon,InfantrySupportGrenadeLauncherAutoWeapon,InfantrySupportGrenadeLauncherCompactWeapon,InfantrySupportGrenadeLauncherHeavyAutoInfernoWeapon,InfantrySupportGrenadeLauncherHeavyAutoWeapon,InfantrySupportGrenadeLauncherInfernoWeapon,InfantrySupportGrenadeLauncherWeapon,InfantrySupportGungnirHeavyGaussWeapon,InfantrySupportHeavyFlamerWeapon,InfantrySupportHeavyGrenadeLauncherInfernoWeapon,InfantrySupportHeavyGrenadeLauncherWeapon,InfantrySupportHeavyLaserWeapon,InfantrySupportHeavyPPCWeapon,InfantrySupportHeavyPulseLaserWeapon,InfantrySupportHellboreAssaultLaserWeapon,InfantrySupportKingDavidLightGaussRifleWeapon,InfantrySupportLaserUltraHeavyWeapon,InfantrySupportLaserWeapon,InfantrySupportLRMInfernoWeapon,InfantrySupportLRMWeapon,InfantrySupportMagPulseHarpoonWeapon,InfantrySupportMagshotGaussRifleWeapon,InfantrySupportMGLightWeapon,InfantrySupportMGPortableWeapon,InfantrySupportMGSemiPortableWeapon,InfantrySupportMGSupportWeapon,InfantrySupportMGVintageWeapon,InfantrySupportMk1LightAAWeapon,InfantrySupportMk2PortableAAWeapon,InfantrySupportMortarHeavyInfernoWeapon,InfantrySupportMortarHeavyWeapon,InfantrySupportMortarLightInfernoWeapon,InfantrySupportMortarLightWeapon,InfantrySupportOneShotMRMInfernoWeapon,InfantrySupportOneShotMRMWeapon,InfantrySupportPortableAutocannonWeapon,InfantrySupportPortableFlamerWeapon,InfantrySupportPortablePlasmaWeapon,InfantrySupportPulseLaserWeapon,InfantrySupportRecoillessRifleHeavyInfernoWeapon,InfantrySupportRecoillessRifleHeavyWeapon,InfantrySupportRecoillessRifleLightInfernoWeapon,InfantrySupportRecoillessRifleLightWeapon,InfantrySupportRecoillessRifleMediumInfernoWeapon,InfantrySupportRecoillessRifleMediumWeapon,InfantrySupportRocketLauncherLAWWeapon,InfantrySupportRocketLauncherVLAWWeapon,InfantrySupportSemiPortableLaserWeapon,InfantrySupportSemiPortablePPCWeapon,InfantrySupportSnubNoseSupportPPCWeapon,InfantrySupportSRMHeavyInfernoWeapon,InfantrySupportSRMHeavyWeapon,InfantrySupportSRMLightInfernoWeapon,InfantrySupportSRMLightWeapon,InfantrySupportSRMStandardInfernoWeapon,InfantrySupportSRMStandardWeapon,InfantrySupportTAGWeapon,InfantrySupportTsunamiHeavyGaussRifleWeapon,InfantrySupportVintageGatlingGunWeapon,InfantrySupportVintageMiniGunWeapon,InfantrySupportWireGuidedMissileWeapon,InfantryTWFlamerWeapon
- Since:
- Sep 24, 2004
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intprotected doubleprotected intprotected intprotected doubleprotected intprotected intFields inherited from class megamek.common.weapons.Weapon
MODE_AC_RAPID, MODE_AC_SINGLE, MODE_AMS_MANUAL, MODE_AMS_OFF, MODE_AMS_ON, MODE_CAP_LASER_AAA, MODE_CAP_MISSILE_BEARING_EXT, MODE_CAP_MISSILE_BEARING_LONG, MODE_CAP_MISSILE_BEARING_MED, MODE_CAP_MISSILE_BEARING_SHORT, MODE_CAP_MISSILE_TELE_OPERATED, MODE_CAP_MISSILE_WAYPOINT, MODE_CAP_MISSILE_WAYPOINT_BEARING_EXT, MODE_CAP_MISSILE_WAYPOINT_BEARING_LONG, MODE_CAP_MISSILE_WAYPOINT_BEARING_MED, MODE_CAP_MISSILE_WAYPOINT_BEARING_SHORT, MODE_CAPITAL_BRACKET_40, MODE_CAPITAL_BRACKET_60, MODE_CAPITAL_BRACKET_80, MODE_FLAMER_DAMAGE, MODE_FLAMER_HEAT, MODE_GAUSS_POWERED_DOWN, MODE_GAUSS_POWERED_UP, MODE_INDIRECT_HEAT, MODE_MISSILE_INDIRECT, MODE_NORMAL, MODE_POINT_DEFENSE, MODE_PPC_CHARGE, MODE_RAC_FIVE_SHOT, MODE_RAC_FOUR_SHOT, MODE_RAC_SIX_SHOT, MODE_RAC_THREE_SHOT, MODE_RAC_TWO_SHOT, MODE_UAC_ULTRAFields inherited from class megamek.common.equipment.WeaponType
AIRBORNE_WEAPON_RANGES, ammoType, atClass, baDamageClass, BF_CLASS_AC, BF_CLASS_CAPITAL, BF_CLASS_CAPITAL_MISSILE, BF_CLASS_FLAK, BF_CLASS_IATM, BF_CLASS_LRM, BF_CLASS_MML, BF_CLASS_REL, BF_CLASS_SRM, BF_CLASS_STANDARD, BF_CLASS_SUBCAPITAL, BF_CLASS_TORPEDO, capital, CLASS_AC, CLASS_AMS, CLASS_AR10, CLASS_ARTILLERY, CLASS_ATM, CLASS_CAPITAL_AC, CLASS_CAPITAL_GAUSS, CLASS_CAPITAL_LASER, CLASS_CAPITAL_MD, CLASS_CAPITAL_MISSILE, CLASS_CAPITAL_PPC, CLASS_GAUSS, CLASS_LASER, CLASS_LBX_AC, CLASS_LRM, CLASS_MML, CLASS_MORTAR, CLASS_MRM, CLASS_NONE, CLASS_PLASMA, CLASS_POINT_DEFENSE, CLASS_PPC, CLASS_PULSE_LASER, CLASS_ROCKET_LAUNCHER, CLASS_SCREEN, CLASS_SRM, CLASS_SUB_CAPITAL_CANNON, CLASS_TELE_MISSILE, CLASS_THUNDERBOLT, damage, DAMAGE_ARTILLERY, DAMAGE_BY_CLUSTER_TABLE, DAMAGE_SPECIAL, DAMAGE_VARIABLE, damageLong, damageMedium, damageShort, explosionDamage, extAV, extremeRange, F_AC, F_AERO_WEAPON, F_ALT_BOMB, F_AMS, F_AMS_BAY, F_ANTI_SHIP, F_ARTEMIS_COMPATIBLE, F_ARTILLERY, F_ATM, F_AUTO_TARGET, F_B_POD, F_BA_INDIVIDUAL, F_BA_WEAPON, F_BALLISTIC, F_BOMB_WEAPON, F_BOMBAST_LASER, F_BURST_FIRE, F_C3M, F_C3MBS, F_CRUISE_MISSILE, F_CWS, F_DIRECT_FIRE, F_DIVE_BOMB, F_DOUBLE_ONE_SHOT, F_ENERGY, F_ER_FLAMER, F_EXTINGUISHER, F_FLAMER, F_GAUSS, F_HAG, F_HEAT_AS_DICE, F_HVAC, F_HYPER, F_INCENDIARY_NEEDLES, F_INDIRECT_FIRE, F_INF_AA, F_INF_ARCHAIC, F_INF_BURST, F_INF_CLIMBING_CLAWS, F_INF_DISPOSABLE, F_INF_ENCUMBER, F_INF_NONPENETRATING, F_INF_POINT_BLANK, F_INF_SUPPORT, F_INFANTRY, F_INFANTRY_ATTACK, F_INFANTRY_ONLY, F_INFERNO, F_LARGE_MISSILE, F_LASER, F_LRM, F_M_POD, F_MASS_DRIVER, F_MEK_MORTAR, F_MEK_WEAPON, F_MG, F_MGA, F_MISSILE, F_MISSILE_HITS, F_MML, F_MORTAR_TYPE_INDIRECT, F_MRM, F_NARC, F_NO_AIM, F_NO_FIRES, F_ONE_SHOT, F_PD_BAY, F_PLASMA, F_PLASMA_MFUK, F_PPC, F_PPC_CAPACITOR_COMPATIBLE, F_PROTO_WEAPON, F_PROTOTYPE, F_PULSE, F_REPEATING, F_SOLO_ATTACK, F_SPACE_BOMB, F_SRM, F_TAG, F_TANK_WEAPON, F_TASER, F_TSEMP, F_VGL, F_VSP, heat, heatAdjustmentForBvCalculation, infDamageClass, longAV, longRange, maxRange, medAV, mediumRange, minimumRange, missileArmor, rackSize, RANGE_EXT, RANGE_LONG, RANGE_MED, RANGE_SHORT, S_IMPROVED, shortAV, shortRange, subCapital, waterExtremeRange, waterLongRange, waterMediumRange, waterShortRange, WEAPON_BURST_1D6, WEAPON_BURST_2D6, WEAPON_BURST_3D6, WEAPON_BURST_4D6, WEAPON_BURST_5D6, WEAPON_BURST_6D6, WEAPON_BURST_7D6, WEAPON_BURST_HALF_D6, WEAPON_CLUSTER_BALLISTIC, WEAPON_CLUSTER_MISSILE, WEAPON_CLUSTER_MISSILE_1D6, WEAPON_CLUSTER_MISSILE_2D6, WEAPON_CLUSTER_MISSILE_3D6, WEAPON_DIRECT_FIRE, WEAPON_NA, WEAPON_PLASMA, WEAPON_PULSEFields inherited from class megamek.common.equipment.EquipmentType
allTypes, bv, BV_VARIABLE, cost, COST_VARIABLE, CRITICAL_SLOTS_VARIABLE, criticalSlots, endTurnModes, explosive, flags, hittable, instantModeSwitch, internalName, lookupHash, modes, name, namesVector, omniFixedOnly, rulesRefs, shortName, sortingName, spreadable, structureAbbreviations, structureCosts, structureNames, svSlots, T_ARMOR_AEROSPACE, T_ARMOR_ALUM, T_ARMOR_ANTI_PENETRATIVE_ABLATION, T_ARMOR_BA_FIRE_RESIST, T_ARMOR_BA_MIMETIC, T_ARMOR_BA_REACTIVE, T_ARMOR_BA_REFLECTIVE, T_ARMOR_BA_STANDARD, T_ARMOR_BA_STANDARD_ADVANCED, T_ARMOR_BA_STANDARD_PROTOTYPE, T_ARMOR_BA_STEALTH, T_ARMOR_BA_STEALTH_BASIC, T_ARMOR_BA_STEALTH_IMP, T_ARMOR_BA_STEALTH_PROTOTYPE, T_ARMOR_BALLISTIC_REINFORCED, T_ARMOR_COMMERCIAL, T_ARMOR_EDP, T_ARMOR_FERRO_ALUM_PROTO, T_ARMOR_FERRO_FIBROUS, T_ARMOR_FERRO_FIBROUS_PROTO, T_ARMOR_FERRO_LAMELLOR, T_ARMOR_HARDENED, T_ARMOR_HEAT_DISSIPATING, T_ARMOR_HEAVY_ALUM, T_ARMOR_HEAVY_FERRO, T_ARMOR_HEAVY_INDUSTRIAL, T_ARMOR_IMPACT_RESISTANT, T_ARMOR_INDUSTRIAL, T_ARMOR_LC_FERRO_CARBIDE, T_ARMOR_LC_FERRO_IMP, T_ARMOR_LC_LAMELLOR_FERRO_CARBIDE, T_ARMOR_LIGHT_ALUM, T_ARMOR_LIGHT_FERRO, T_ARMOR_PATCHWORK, T_ARMOR_PRIMITIVE, T_ARMOR_PRIMITIVE_AERO, T_ARMOR_PRIMITIVE_FIGHTER, T_ARMOR_REACTIVE, T_ARMOR_REFLECTIVE, T_ARMOR_STANDARD, T_ARMOR_STANDARD_PROTOMEK, T_ARMOR_STEALTH, T_ARMOR_STEALTH_VEHICLE, T_ARMOR_SV_BAR_10, T_ARMOR_SV_BAR_2, T_ARMOR_SV_BAR_3, T_ARMOR_SV_BAR_4, T_ARMOR_SV_BAR_5, T_ARMOR_SV_BAR_6, T_ARMOR_SV_BAR_7, T_ARMOR_SV_BAR_8, T_ARMOR_SV_BAR_9, T_ARMOR_UNKNOWN, T_STRUCTURE_COMPOSITE, T_STRUCTURE_ENDO_COMPOSITE, T_STRUCTURE_ENDO_PROTOTYPE, T_STRUCTURE_ENDO_STEEL, T_STRUCTURE_INDUSTRIAL, T_STRUCTURE_REINFORCED, T_STRUCTURE_STANDARD, T_STRUCTURE_UNKNOWN, TA_NONE, TA_STANDARD_STRUCTURE, tankSlots, techAdvancement, toHitModifier, tonnage, TONNAGE_VARIABLE, VARIABLE, YAML_VERSIONFields inherited from interface megamek.common.interfaces.ITechnology
DATE_ES, DATE_NONE, DATE_PS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadaptToGameOptions(IGameOptions gameOptions) Adapt the weapon type to the Game Options such as PPC Field Inhibitors or Dial Down Damage, usually adding or removing modes.booleanintdoubleintgetCorrectHandler(ToHitData toHit, WeaponAttackAction waa, Game game, TWGameManager manager) intgetCrew()doublegetExtAV()intThe extreme range of this weapon type.doubleintFor weapons that can use inferno ammo, returns the inferno version.doubleintThe long range of this weapon type.intgetMaxRange(WeaponMounted weapon) intgetMaxRange(WeaponMounted weapon, AmmoMounted ammo) doublegetMedAV()For weapons that can use inferno ammo, returns the standard ammo version.intintintintdoubleintgetShots()intgetSupportVeeSlots(Entity entity) Constructs a map containing the YAML-serializable data for this equipment type.booleanCheck for whether small support vehicles have an option of standard or inferno munitions for this weapon.booleanMethods inherited from class megamek.common.equipment.WeaponType
addFlags, adjustBattleForceDamageForMinRange, getAlphaStrikeHeat, getAlphaStrikeHeatDamage, getAmmoType, getAtClass, getATRanges, getBADamageClass, getBattleForceClass, getBattleForceDamage, getBattleForceDamage, getBattleForceDamage, getBayType, getBayType, getBV, getCost, getDamage, getDamage, getExplosionDamage, getFireTN, getHeat, getHeatAdjustmentForBvCalculation, getInfantryDamageClass, getMaxRange, getMediumRange, getMinimumRange, getMissileArmor, getRackSize, getRanges, getRanges, getShortRange, getWExtremeRange, getWLongRange, getWMediumRange, getWRanges, getWShortRange, getYamlTypeName, hasFlag, hasIndirectFire, initializeTypes, isAlphaStrikeIndirectFire, isAlphaStrikePointDefense, isCapital, isSplittableOverCriticalSlots, isSubCapital, relevantToTargetingComputer, setAmmoType, setDamage, setLongRange, setMediumRange, setMinimumRange, setName, setRackSize, setShortRange, toStringMethods inherited from class megamek.common.equipment.EquipmentType
addEndTurnMode, addLookupName, addLookupName, addMode, addType, allTypes, clearLookupNames, clearModes, equals, get, get, getAllStructureCodeName, getAllTypes, getArmorFromName, getArmorType, getArmorTypeName, getArmorTypeName, getBaseAvailability, getBaseBV, getBaseCost, getBaseCriticalSlots, getBaseTonnage, getBV, getCommonDate, getCost, getDesc, getDesc, getEquipDateAsString, getExtinctionDate, getExtinctionDate, getExtinctionDate, getFlags, getInternalName, getIntroductionDate, getIntroductionDate, getIntroductionDate, getLookupCollisions, getMode, getModes, getModesCount, getModesCount, getName, getName, getNames, getNumCriticalSlots, getNumCriticalSlots, getProductionDate, getProductionDate, getPrototypeDate, getPrototypeDate, getRawCost, getReintroductionDate, getReintroductionDate, getReintroductionDate, getRulesRefs, getShortName, getShortName, getSortingName, getStaticTechLevel, getStructureCost, getStructureFromName, getStructureTechAdvancement, getStructureType, getStructureTypeAbbrev, getStructureTypeName, getStructureTypeName, getTankSlots, getTechAdvancement, getTechBase, getTechLevel, getTechLevel, getTechLevels, getTechRating, getToHitModifier, getToHitModifierAtRange, getTonnage, getTonnage, getTonnage, getTonnage, hasAnyFlag, hasAnyFlag, hasFlag, hashCode, hasHitModifiersByRange, hasInstantModeSwitch, hasModes, hasModeType, is, isAnyOf, isArmorType, isC3Equipment, isClan, isEligibleForBeingArmored, isExplosive, isExplosive, isHittable, isIntroLevel, isMixedTech, isNextTurnModeSwitch, isOmniFixedOnly, isSpreadable, isStructureType, isUnofficial, isVariableBV, isVariableCost, isVariableCriticalSlots, isVariableSize, isVariableTonnage, matchesName, removeMode, setFlags, setInstantModeSwitch, setInternalName, setModes, variableMaxSize, variableStepSizeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface megamek.common.interfaces.ITechnology
calcEraAvailability, calcEraAvailability, calcYearAvailability, calcYearAvailability, calcYearAvailability, findMinimumRulesLevel, findMinimumRulesLevel, getAdvancedRange, getAdvancedRange, getCodeFromIOAbbr, getCodeFromMMAbbr, getCommonDate, getEraAvailabilityName, getEraAvailabilityName, getExperimentalRange, getExperimentalRange, getExtinctionRange, getExtinctionRange, getFullRatingName, getFullRatingName, getProductionDate, getPrototypeDate, getSimpleLevel, getSimpleLevel, getSimpleLevel, getStandardRange, getStandardRange, getTechRatingName, isAvailableIn, isAvailableIn, isAvailableIn, isExtinct, isExtinct, isExtinct, isLegal, isLegal
-
Field Details
-
infantryDamage
protected double infantryDamage -
infantryRange
protected int infantryRange -
crew
protected int crew -
ammoWeight
protected double ammoWeight -
ammoCost
protected int ammoCost -
shots
protected int shots -
bursts
protected int bursts
-
-
Constructor Details
-
InfantryWeapon
public InfantryWeapon()
-
-
Method Details
-
getInfantryDamage
public double getInfantryDamage() -
getInfantryRange
public int getInfantryRange() -
getShortAV
public double getShortAV()- Overrides:
getShortAVin classWeaponType
-
getMedAV
public double getMedAV()- Overrides:
getMedAVin classWeaponType
-
getLongAV
public double getLongAV()- Overrides:
getLongAVin classWeaponType
-
getExtAV
public double getExtAV()- Overrides:
getExtAVin classWeaponType
-
getRoundShortAV
public int getRoundShortAV()- Overrides:
getRoundShortAVin classWeaponType
-
getRoundMedAV
public int getRoundMedAV()- Overrides:
getRoundMedAVin classWeaponType
-
getRoundLongAV
public int getRoundLongAV()- Overrides:
getRoundLongAVin classWeaponType
-
getRoundExtAV
public int getRoundExtAV()- Overrides:
getRoundExtAVin classWeaponType
-
getMaxRange
- Overrides:
getMaxRangein classWeaponType
-
getMaxRange
- Overrides:
getMaxRangein classWeaponType
-
getCrew
public int getCrew() -
getLongRange
public int getLongRange()The long range of this weapon type. Infantry weapons calculate ranges based on the "infantry range" value rather than explicit short/long/medium ranges- Overrides:
getLongRangein classWeaponType
-
getExtremeRange
public int getExtremeRange()The extreme range of this weapon type. Infantry weapons calculate ranges based on the "infantry range" value rather than explicit short/long/medium ranges- Overrides:
getExtremeRangein classWeaponType
-
getAmmoWeight
public double getAmmoWeight()- Returns:
- The weight of an ammo clip in tons
-
getShots
public int getShots()- Returns:
- The number of shots in an ammo clip
-
getBursts
public int getBursts()- Returns:
- The number of bursts in an ammo clip.
-
getAmmoCost
public int getAmmoCost()- Returns:
- The cost of an ammo clip in C-bills
-
hasInfernoAmmo
public boolean hasInfernoAmmo()Check for whether small support vehicles have an option of standard or inferno munitions for this weapon. Returns true for both the inferno and the standard variant.- Returns:
- Whether the weapon has alternate inferno ammo
-
getInfernoVariant
For weapons that can use inferno ammo, returns the inferno version. If there is no inferno version or this is the inferno version, returnsthis.- Returns:
- The inferno ammo variant of this weapon
-
getNonInfernoVariant
For weapons that can use inferno ammo, returns the standard ammo version. If there is no standard version or this is the standard version, returnsthis.- Returns:
- The standard ammo variant of this weapon
-
getSupportVeeSlots
- Overrides:
getSupportVeeSlotsin classEquipmentType
-
getCorrectHandler
@Nullable public AttackHandler getCorrectHandler(ToHitData toHit, WeaponAttackAction waa, Game game, TWGameManager manager) - Overrides:
getCorrectHandlerin classWeapon
-
adaptToGameOptions
Description copied from class:WeaponAdapt the weapon type to the Game Options such as PPC Field Inhibitors or Dial Down Damage, usually adding or removing modes. When overriding this in a weapon subclass, call super()!- Overrides:
adaptToGameOptionsin classWeapon- Parameters:
gameOptions- The GameOptions (game.getOptions())
-
isFlameBased
public boolean isFlameBased() -
getYamlData
Description copied from class:EquipmentTypeConstructs a map containing the YAML-serializable data for this equipment type. Subclasses should override this method to add type-specific data.- Overrides:
getYamlDatain classWeaponType- Returns:
- A map containing the YAML-serializable data for this equipment type.
-
canBeMountedOnBaDwp
public boolean canBeMountedOnBaDwp()- Overrides:
canBeMountedOnBaDwpin classWeaponType- Returns:
- True if this equipment type can be mounted on a BattleArmor Detachable Weapon Pack, TO:AUE p.99
-