Converts the critical multiplier into a dispalyable string, i.e. blank for zero, - for negative and puts an x before positive numbers e.g. x3 @param mult The critical multiplier @return The string to display
(final int mult)
| 352 | * @return The string to display |
| 353 | */ |
| 354 | public static String multAsString(final int mult) |
| 355 | { |
| 356 | if (mult == 0) |
| 357 | { |
| 358 | return ""; |
| 359 | } |
| 360 | else if (mult < 0) |
| 361 | { |
| 362 | return "-"; |
| 363 | } |
| 364 | |
| 365 | return "x" + Integer.toString(mult); |
| 366 | } |
| 367 | |
| 368 | /** |
| 369 | * Get the AC Check Token |
no test coverage detected