/** * Returns the unarmed damage String for the Race of the Player Character identified by the given * CharID. * * @param id The CharID identifying the Player Character * @return The unarmed damage String for the Race of the Player Character identified by the given * CharID */ public String getUDamForRace(CharID id) { Race race = raceFacet.get(id); int iSize = formulaResolvingFacet .resolve(id, race.getSafe(FormulaKey.SIZE), race.getQualifiedKey()) .intValue(); SizeAdjustment defAdj = SizeUtilities.getDefaultSizeAdjustment(); SizeAdjustment sizAdj = Globals.getContext() .getReferenceContext() .getSortedList(SizeAdjustment.class, IntegerKey.SIZEORDER) .get(iSize); if (sizAdj != null) { return Globals.adjustDamage("1d3", defAdj, sizAdj); } return "1d3"; }