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

Method getMaxDexToken

code/src/java/plugin/exporttokens/MaxDexToken.java:64–75  ·  view source on GitHub ↗

Get the value for the MAXDEX token @param tokenSource @param pc @return the value for the MAXDEX token

(String tokenSource, PlayerCharacter pc)

Source from the content-addressed store, hash-verified

62 * @return the value for the MAXDEX token
63 */
64 public static String getMaxDexToken(String tokenSource, PlayerCharacter pc)
65 {
66 String retString = "";
67 int mod = process(pc);
68
69 if (mod != Constants.MAX_MAXDEX)
70 {
71 retString = Delta.toString(mod);
72 }
73
74 return retString;
75 }
76
77 private static int process(PlayerCharacter pc)
78 {

Callers

nothing calls this directly

Calls 2

processMethod · 0.95
toStringMethod · 0.95

Tested by

no test coverage detected