Package megamek.common.rolls
Class PilotingRollData
java.lang.Object
megamek.common.rolls.TargetRoll
megamek.common.rolls.PilotingRollData
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
Fields inherited from class megamek.common.rolls.TargetRoll
AUTOMATIC_FAIL, AUTOMATIC_SUCCESS, CHECK_FALSE, IMPOSSIBLE -
Constructor Summary
ConstructorsConstructorDescriptionPilotingRollData(int entityId) PilotingRollData(int entityId, int value, int pilotValue, String desc) Double-logging style for situations where the mek automatically falls, but the pilot can still save to avoid damage.PilotingRollData(int entityId, int value, String desc) PilotingRollData(int entityId, int value, String desc, boolean cumulative) PilotingRollData(int entityId, int value, String desc, int location) -
Method Summary
Methods inherited from class megamek.common.rolls.TargetRoll
addModifier, addModifier, addModifier, append, append, cannotSucceed, doNothing, getCumulativePlainDesc, getDesc, getLastPlainDesc, getModifiers, getPlainDesc, getValue, getValueAsString, isAutomaticFail, isAutomaticSuccess, isImpossible, needsRoll, removeAutos, removeAutos, removeModifier, removeModifier, removeModifiers, toString
-
Constructor Details
-
PilotingRollData
public PilotingRollData(int entityId) -
PilotingRollData
-
PilotingRollData
-
PilotingRollData
-
PilotingRollData
Double-logging style for situations where the mek automatically falls, but the pilot can still save to avoid damage. The game will later strip out any automatic rolls when it lets the pilot roll to save.
-
-
Method Details
-
getEntityId
public int getEntityId() -
getLocation
public int getLocation()
-