(PlayerCharacter pc, AttackType attackType, String modifier)
| 83 | } |
| 84 | |
| 85 | public static String getSubToken(PlayerCharacter pc, AttackType attackType, String modifier) |
| 86 | { |
| 87 | switch (modifier) |
| 88 | { |
| 89 | case "BASE": |
| 90 | return Delta.toString(getBaseToken(pc)); |
| 91 | case "EPIC": |
| 92 | return Delta.toString(getEpicToken(pc)); |
| 93 | case "MISC": |
| 94 | return Delta.toString(getMiscToken(pc, attackType)); |
| 95 | case "SIZE": |
| 96 | return Delta.toString(getSizeToken(pc, attackType)); |
| 97 | case "STAT": |
| 98 | return Delta.toString(getStatToken(pc.getDisplay(), attackType)); |
| 99 | case "TOTAL": |
| 100 | // TOTAL is handled in getParsedToken() |
| 101 | //int total = getTotalToken(pc, "MELEE"); |
| 102 | //return pc.getAttackString(Constants.ATTACKSTRING_MELEE, total); |
| 103 | break; |
| 104 | default: |
| 105 | return pc.getAttackString(attackType); |
| 106 | } |
| 107 | return ""; |
| 108 | } |
| 109 | |
| 110 | /** |
| 111 | * Get the base ATTACK token |
no test coverage detected