Get the value for the MAXDEX token @param tokenSource @param pc @return the value for the MAXDEX token
(String tokenSource, PlayerCharacter pc)
| 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 | { |