Package megamek.common.weapons
Class RapidfireHVACWeaponHandler
java.lang.Object
megamek.common.weapons.WeaponHandler
megamek.common.weapons.AmmoWeaponHandler
megamek.common.weapons.UltraWeaponHandler
megamek.common.weapons.RapidfireACWeaponHandler
megamek.common.weapons.RapidfireHVACWeaponHandler
- All Implemented Interfaces:
Serializable
,AttackHandler
- See Also:
-
Field Summary
Fields inherited from class megamek.common.weapons.WeaponHandler
advancedPD, ae, amsBayEngaged, amsBayEngagedCap, amsBayEngagedMissile, amsEngaged, announcedEntityFiring, apdsEngaged, attackValue, atype, 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, nweapons, nweaponsHit, originalAV, parentBayHandler, pdBayEngaged, pdBayEngagedCap, pdBayEngagedMissile, pdOverheated, roll, secondShot, sSalvoType, subjectId, target, throughFront, toHit, typeName, underWater, waa, weapon, wtype
-
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Methods inherited from class megamek.common.weapons.RapidfireACWeaponHandler
usesClusterTable
Methods inherited from class megamek.common.weapons.UltraWeaponHandler
attemptToReloadWeapon, calcDamagePerHit, calcHits, calcnClusterAero, reduceShotsLeft, useAmmo
Methods inherited from class megamek.common.weapons.AmmoWeaponHandler
checkAmmo, doAmmoFeedProblemCheck, explodeRoundInBarrel, getNumberWeapons
Methods inherited from class megamek.common.weapons.WeaponHandler
absorbBuildingDamage, addGlancingBlowReports, addHeat, allShotsHit, announcedEntityFiring, applyGlancingBlowModifier, applyGlancingBlowModifier, calcAeroDamage, calcAttackValue, calcCapMissileAMSMod, calcCounterAV, calcnCluster, canEngageCapitalMissile, cares, checkLI, checkPDConditions, checkTerrain, getAttacker, getAttackerId, getBracketingMultiplier, getCapMisMod, getCapMissileAMSMod, getClusterModifiers, getCounterAV, getFireTNRoll, getLargeCraftHeat, getParentBayHandler, getSalvoBonus, getTotalGlancingBlowFactor, getWaa, handleArtilleryDriftMarker, handleBuildingDamage, handleClearDamage, handleClearDamage, handleEntityDamage, handleIgnitionDamage, handlePartialCoverHit, handleSpecialMiss, initHit, insertAttacks, isLowProfileGlancingBlow, isStrafing, isStrafingFirstShot, isTbolt, reportMiss, reportMiss, restore, setAMSBayReportingFlag, setAnnouncedEntityFiring, setDone, setGlancingBlowFlags, setParentBayHandler, setPDBayReportingFlag, setStrafing, setStrafingFirstShot, specialResolution, unitGainsPartialCoverFromWater, unitStickingOutOfBuilding
-
Constructor Details
-
RapidfireHVACWeaponHandler
-
-
Method Details
-
handle
Description copied from class:WeaponHandler
handle this weapons firing- Specified by:
handle
in interfaceAttackHandler
- Overrides:
handle
in classWeaponHandler
- Returns:
- a
boolean
value indicating whether this should be kept or not
-
doChecks
- Overrides:
doChecks
in classRapidfireACWeaponHandler
- Parameters:
vPhaseReport
- - AVector
containing the phasereport.- Returns:
- a
boolean
value indicating wether or not the attack misses because of a failed check.
-