Class PrototypeLBXHandler
java.lang.Object
megamek.common.weapons.handlers.WeaponHandler
megamek.common.weapons.handlers.AmmoWeaponHandler
megamek.common.weapons.handlers.LBXHandler
megamek.common.weapons.handlers.prototype.PrototypeLBXHandler
- All Implemented Interfaces:
Serializable,AttackHandler
- See Also:
-
Field Summary
Fields inherited from class megamek.common.weapons.handlers.AmmoWeaponHandler
ammoFields inherited from class megamek.common.weapons.handlers.WeaponHandler
advancedPD, ammoType, amsBayEngaged, amsBayEngagedCap, amsBayEngagedMissile, amsEngaged, announcedEntityFiring, apdsEngaged, attackingEntity, attackValue, bDirect, bGlancing, bLowProfileGlancing, bMissed, bSalvo, calcDmgPerHitReport, CapMissileAMSMod, CapMissileArmor, CapMissileMissed, CounterAV, damageType, firstHit, game, gameManager, generalDamageType, hit, insertedAttacks, isJammed, isStrafing, isStrafingFirstShot, missed, nDamPerHit, nRange, nSalvoBonus, nukeS2S, numRapidFireHits, numWeapons, numWeaponsHit, originalAV, parentBayHandler, pdBayEngaged, pdBayEngagedCap, pdBayEngagedMissile, pdOverheated, roll, secondShot, sSalvoType, subjectId, target, throughFront, toHit, typeName, underWater, weapon, weaponAttackAction, weaponEntity, weaponType -
Constructor Summary
ConstructorsConstructorDescriptionPrototypeLBXHandler(ToHitData t, WeaponAttackAction w, Game g, TWGameManager m) -
Method Summary
Methods inherited from class megamek.common.weapons.handlers.LBXHandler
calcDamagePerHit, usesClusterTableMethods inherited from class megamek.common.weapons.handlers.AmmoWeaponHandler
checkAmmo, doAmmoFeedProblemCheck, explodeRoundInBarrel, getNumberWeapons, useAmmoMethods inherited from class megamek.common.weapons.handlers.WeaponHandler
absorbBuildingDamage, addGlancingBlowReports, addHeat, allShotsHit, announcedEntityFiring, appliesAttackValueInGroups, applyGlancingBlowModifier, applyGlancingBlowModifier, applyPainShuntModifier, calcAeroDamage, calcAttackValue, calcCapMissileAMSMod, calcCounterAV, calculateNumCluster, calculateNumClusterAero, canEngageCapitalMissile, cares, checkLI, checkPDConditions, checkTerrain, getAttacker, getAttackerId, getAttackValueBonus, getBracketingMultiplier, getCapMisMod, getCapMissileAMSMod, getClusterModifiers, getCounterAV, getFireTNRoll, getInfantryDamageClassShift, getLargeCraftHeat, getParentBayHandler, getSalvoBonus, getTotalGlancingBlowFactor, getWeaponAttackAction, handle, handleArtilleryDriftMarker, handleBuildingDamage, handleClearDamage, handleClearDamage, handleEntityDamage, handleIgnitionDamage, handlePartialCoverHit, handleSpecialMiss, infantryDamageClass, initHit, insertAttacks, isLowProfileGlancingBlow, isStrafing, isStrafingFirstShot, isThunderBolt, reportMiss, reportMiss, resolveInfantryDamageClass, restore, setAMSBayReportingFlag, setAnnouncedEntityFiring, setDone, setGlancingBlowFlags, setParentBayHandler, setPDBayReportingFlag, setStrafing, setStrafingFirstShot, specialResolution, targetIgnoresHeatWeaponDamage, unitGainsPartialCoverFromWater, unitStickingOutOfBuildingMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface megamek.common.weapons.handlers.AttackHandler
getBuildingDamageAdjustment, producesReportThisPhase
-
Constructor Details
-
PrototypeLBXHandler
public PrototypeLBXHandler(ToHitData t, WeaponAttackAction w, Game g, TWGameManager m) throws EntityLoadingException - Throws:
EntityLoadingException
-
-
Method Details
-
calcHits
Description copied from class:WeaponHandlerCalculate the number of hits- Overrides:
calcHitsin classLBXHandler- Parameters:
vPhaseReport- - theVectorcontaining the phase report.- Returns:
- an
intcontaining the number of hits.
-
doChecks
- Overrides:
doChecksin classAmmoWeaponHandler- Parameters:
vPhaseReport- - AVectorcontaining the phase report.- Returns:
- a
booleanvalue indicating whether the attack misses because of a failed check.
-