Sets all the BonusObj's to "active". Note this version overrides the PObject implementation as it will check the bonuses against the equipment, rather than the PC. @param aPC The character being checked.
(final PlayerCharacter aPC)
| 4639 | * The character being checked. |
| 4640 | */ |
| 4641 | @Override |
| 4642 | public void activateBonuses(final PlayerCharacter aPC) |
| 4643 | { |
| 4644 | for (final BonusObj bonus : getRawBonusList(aPC)) |
| 4645 | { |
| 4646 | aPC.setApplied(bonus, PrereqHandler.passesAll(bonus, this, aPC)); |
| 4647 | } |
| 4648 | } |
| 4649 | |
| 4650 | public boolean isCalculatingCost() |
| 4651 | { |
no test coverage detected