Returns true if we are in a stat purchase mode. @return true if we are in a stat purchase mode
()
| 1368 | * @return true if we are in a stat purchase mode |
| 1369 | */ |
| 1370 | public boolean isPurchaseStatMode() |
| 1371 | { |
| 1372 | // Can't have purchase mode if no costs specified |
| 1373 | if ((pointBuyStatCosts == null) || (pointBuyStatCosts.isEmpty()) |
| 1374 | || (getRollMethod() != Constants.CHARACTER_STAT_METHOD_PURCHASE) || (purchaseMethodName.isEmpty())) |
| 1375 | { |
| 1376 | return false; |
| 1377 | } |
| 1378 | |
| 1379 | return getPurchaseMethodByName(purchaseMethodName) != null; |
| 1380 | } |
| 1381 | |
| 1382 | /** |
| 1383 | * |
no test coverage detected