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

Method process

code/src/java/plugin/exporttokens/MaxDexToken.java:77–85  ·  view source on GitHub ↗
(PlayerCharacter pc)

Source from the content-addressed store, hash-verified

75 }
76
77 private static int process(PlayerCharacter pc)
78 {
79 String maxDexVar = ControlUtilities.getControlToken(Globals.getContext(), CControl.PCMAXDEX);
80 if (maxDexVar == null)
81 {
82 return pc.processOldMaxDex();
83 }
84 return ((Number) pc.getGlobal(maxDexVar)).intValue();
85 }
86}

Callers 2

getTokenMethod · 0.95
getMaxDexTokenMethod · 0.95

Calls 5

getControlTokenMethod · 0.95
getContextMethod · 0.95
processOldMaxDexMethod · 0.80
intValueMethod · 0.80
getGlobalMethod · 0.45

Tested by

no test coverage detected