@param aPC The PC carrying the item
(final PlayerCharacter aPC)
| 3581 | * @param aPC The PC carrying the item |
| 3582 | */ |
| 3583 | private void setDefaultCrit(final PlayerCharacter aPC) |
| 3584 | { |
| 3585 | |
| 3586 | if (isWeapon()) |
| 3587 | { |
| 3588 | if (aPC != null && EqToken.getOldBonusedCritRange(aPC, this, true) == 0) |
| 3589 | { |
| 3590 | getEquipmentHead(1).put(IntegerKey.CRIT_RANGE, 1); |
| 3591 | } |
| 3592 | |
| 3593 | if (getCritMultiplier() == 0) |
| 3594 | { |
| 3595 | getEquipmentHead(1).put(IntegerKey.CRIT_MULT, 2); |
| 3596 | } |
| 3597 | } |
| 3598 | } |
| 3599 | |
| 3600 | /** |
| 3601 | * Set the quantity of items |
no test coverage detected