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

Method getBaseToken

code/src/java/pcgen/io/exporttoken/StatToken.java:249–256  ·  view source on GitHub ↗
(PlayerCharacter pc, PCStat stat)

Source from the content-addressed store, hash-verified

247 }
248
249 private static String getBaseToken(PlayerCharacter pc, PCStat stat)
250 {
251 if (pc.getDisplay().isNonAbility(stat))
252 {
253 return "*";
254 }
255 return Integer.toString(pc.getBaseStatFor(stat));
256 }
257
258 private static String getBaseModToken(PlayerCharacter pc, PCStat stat)
259 {

Callers 2

getTokenMethod · 0.95
getBaseModTokenMethod · 0.95

Calls 4

toStringMethod · 0.65
isNonAbilityMethod · 0.45
getDisplayMethod · 0.45
getBaseStatForMethod · 0.45

Tested by

no test coverage detected