Package megamek.common.weapons.handlers
Class NukeStats
java.lang.Object
megamek.common.weapons.handlers.NukeStats
Dumb data structure intended to hold characteristics associated with various types of NUCLEAR WEAPONS (thanks
Gandhi).
-
Field Summary
FieldsModifier and TypeFieldDescriptionintThis is the base damage to the weapon.intThe depth, in hex levels, of the crater generated by this nuke at the impact hex Note that the crater radius is this number multiplied by 2intHow much to subtract, per hex distance from impact point, from the base damageintThe maximum distance, in hexes, from the impact point, at which "secondary" effects are applied to units -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
baseDamage
public int baseDamageThis is the base damage to the weapon. Note that a unit will never actually take this much damage unless the craterDepth is specified as 0. -
degradation
public int degradationHow much to subtract, per hex distance from impact point, from the base damage -
secondaryRadius
public int secondaryRadiusThe maximum distance, in hexes, from the impact point, at which "secondary" effects are applied to units -
craterDepth
public int craterDepthThe depth, in hex levels, of the crater generated by this nuke at the impact hex Note that the crater radius is this number multiplied by 2
-
-
Constructor Details
-
NukeStats
public NukeStats()
-