Class InjuryTypes.BrokenRib

java.lang.Object
mekhq.campaign.personnel.InjuryType
mekhq.campaign.mod.am.InjuryTypes.BrokenRib
Enclosing class:
InjuryTypes

public static final class InjuryTypes.BrokenRib extends InjuryType
  • Constructor Details

    • BrokenRib

      public BrokenRib()
  • Method Details

    • genStressEffect

      public List<GameEffect> genStressEffect(Campaign c, Person p, Injury i, int hits)
      Description copied from class: InjuryType
      Return a function which will generate a list of effects combat and similar stressful situation while injured would have on the person in question given the random integer source. Descriptions should be something like "50% chance of losing a leg" and similar.

      Note that specific systems aren't required to use this generator. They are free to implement their own.

      Overrides:
      genStressEffect in class InjuryType
    • modifyInjuryTime

      protected int modifyInjuryTime(Campaign campaign, Person person, int time)
    • newInjury

      public Injury newInjury(Campaign c, Person p, BodyLocation loc, int severity)
      Overrides:
      newInjury in class InjuryType