MCPcopy Create free account
hub / github.com/PCGen/pcgen / getBonusFeatString

Method getBonusFeatString

code/src/java/pcgen/core/Globals.java:804–813  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

802 }
803
804 static String getBonusFeatString()
805 {
806 final List<String> bonusFeatLevels = SettingsHandler.getGameAsProperty().get().getBonusFeatLevels();
807 if ((bonusFeatLevels == null) || bonusFeatLevels.isEmpty())
808 {
809 // Default to no bonus feats.
810 return "9999|0";
811 }
812 return bonusFeatLevels.get(0);
813 }
814
815 static int getBonusStatsForLevel(final int level, final PlayerCharacter aPC)
816 {

Callers 2

getBonusFeatPoolMethod · 0.95
addFeatPoolBonusMethod · 0.95

Calls 4

getGameAsPropertyMethod · 0.95
getBonusFeatLevelsMethod · 0.80
getMethod · 0.65
isEmptyMethod · 0.65

Tested by

no test coverage detected