Get maximum charges @return maximum charges
()
| 1314 | * @return maximum charges |
| 1315 | */ |
| 1316 | public int getMaxCharges() |
| 1317 | { |
| 1318 | return getEqModifierList(true).stream().map(eqMod -> eqMod.get(IntegerKey.MAX_CHARGES)) |
| 1319 | .filter(max -> max != null && max > 0).findFirst().orElse(0); |
| 1320 | |
| 1321 | } |
| 1322 | |
| 1323 | /** |
| 1324 | * Get minimum charges |
no test coverage detected