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

Method getBonusStatsForLevel

code/src/java/pcgen/core/Globals.java:815–825  ·  view source on GitHub ↗
(final int level, final PlayerCharacter aPC)

Source from the content-addressed store, hash-verified

813 }
814
815 static int getBonusStatsForLevel(final int level, final PlayerCharacter aPC)
816 {
817 int num = 0;
818
819 for (final String s : SettingsHandler.getGameAsProperty().get().getBonusStatLevels())
820 {
821 num = bonusParsing(s, level, num, aPC);
822 }
823
824 return num;
825 }
826
827 /**
828 * Get a choice from a list

Callers 1

addLevelMethod · 0.95

Calls 4

getGameAsPropertyMethod · 0.95
bonusParsingMethod · 0.95
getBonusStatLevelsMethod · 0.80
getMethod · 0.65

Tested by

no test coverage detected