File tree Expand file tree Collapse file tree 1 file changed +16
-3
lines changed
MekHQ/src/mekhq/campaign/personnel/medical/advancedMedicalAlternate Expand file tree Collapse file tree 1 file changed +16
-3
lines changed Original file line number Diff line number Diff line change @@ -1242,7 +1242,7 @@ public enum InjuryEffect {
12421242 false ,
12431243 0 ,
12441244 0 ,
1245- 1 ,
1245+ 0 ,
12461246 0 ,
12471247 0 ,
12481248 0 ,
@@ -1261,7 +1261,7 @@ public enum InjuryEffect {
12611261 false ,
12621262 0 ,
12631263 0 ,
1264- 2 ,
1264+ 1 ,
12651265 0 ,
12661266 0 ,
12671267 0 ,
@@ -1280,7 +1280,7 @@ public enum InjuryEffect {
12801280 false ,
12811281 0 ,
12821282 0 ,
1283- 2 ,
1283+ 1 ,
12841284 0 ,
12851285 0 ,
12861286 0 ,
@@ -1586,6 +1586,19 @@ public String toString() {
15861586 return getTextAt (RESOURCE_BUNDLE , "InjuryEffect." + lookupName + ".name" );
15871587 }
15881588
1589+ /**
1590+ * Builds a localized tooltip summarizing key information about all active injury effects.
1591+ *
1592+ * <p><b>Note:</b> For consistency, the order shown in the tooltip is meant to mirror that of
1593+ * {@link ProstheticType#getTooltip(int, boolean)}.</p>
1594+ *
1595+ * @param injuryEffects A list of currently active injury effects
1596+ *
1597+ * @return a formatted tooltip string suitable for UI display
1598+ *
1599+ * @author Illiani
1600+ * @since 0.50.10
1601+ */
15891602 public static String getTooltip (List <InjuryEffect > injuryEffects ) {
15901603 // Map attributes to their aggregated modifiers
15911604 Map <SkillAttribute , Integer > attributeTotals = new EnumMap <>(SkillAttribute .class );
You can’t perform that action at this time.
0 commit comments