Get the value of the supplied output token. @param tokenSource The full source of the token @param pc The character to retrieve the value for. @param eh The ExportHandler that is managing the export (may be null for a once off conversion). @return The value of the token.
(String tokenSource, PlayerCharacter pc, ExportHandler eh)
| 66 | * @return The value of the token. |
| 67 | */ |
| 68 | @Override |
| 69 | public String getToken(String tokenSource, PlayerCharacter pc, ExportHandler eh) |
| 70 | { |
| 71 | StringTokenizer aTok = new StringTokenizer(tokenSource, ".", false); |
| 72 | //Weapono Token |
| 73 | aTok.nextToken(); |
| 74 | |
| 75 | Equipment eq = getWeaponEquipment(pc); |
| 76 | |
| 77 | return getWeaponToken(pc, eq, aTok, tokenSource); |
| 78 | } |
| 79 | |
| 80 | /** |
| 81 | * Create a fake Unarmed Strike equipment so we don't need it in the .lst files anymore |
nothing calls this directly
no test coverage detected