Class InjuryTypes.ReplacementLimbRecovery
java.lang.Object
mekhq.campaign.personnel.InjuryType
mekhq.campaign.personnel.medical.advancedMedical.InjuryTypes.ReplacementLimbRecovery
- Enclosing class:
- InjuryTypes
-
Nested Class Summary
Nested classes/interfaces inherited from class mekhq.campaign.personnel.InjuryType
InjuryType.XMLAdapter
-
Field Summary
Fields inherited from class mekhq.campaign.personnel.InjuryType
allowedLocations, BAD_HEALTH, fluffText, level, maxSeverity, MODTAG_INJURY, permanent, recoveryTime, simpleName
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetFluffText
(BodyLocation loc, int severity, megamek.common.enums.Gender gender) getModifiers
(Injury inj) getName
(BodyLocation loc, int severity) boolean
Does having this injury mean the location is missing? (Amputation, genetic defect, ...)boolean
protected int
modifyInjuryTime
(Campaign campaign, Person person, int time) newInjury
(Campaign campaign, Person person, BodyLocation bodyLocation, int severity) Methods inherited from class mekhq.campaign.personnel.InjuryType
byId, byKey, genStressEffect, getAllKeys, getAllTypes, getBaseRecoveryTime, getId, getKey, getLevel, getMaxSeverity, getRecoveryTime, getRecoveryTime, getSimpleName, getSimpleName, impliesDead, isHidden, isPermanent, newResetRecoveryTimeAction, register, register
-
Constructor Details
-
ReplacementLimbRecovery
public ReplacementLimbRecovery()
-
-
Method Details
-
isValidInLocation
- Overrides:
isValidInLocation
in classInjuryType
-
impliesMissingLocation
public boolean impliesMissingLocation()Description copied from class:InjuryType
Does having this injury mean the location is missing? (Amputation, genetic defect, ...)- Overrides:
impliesMissingLocation
in classInjuryType
-
getName
- Overrides:
getName
in classInjuryType
-
getFluffText
- Overrides:
getFluffText
in classInjuryType
-
getModifiers
- Overrides:
getModifiers
in classInjuryType
-
modifyInjuryTime
-
newInjury
- Overrides:
newInjury
in classInjuryType
-