(PlayerCharacter aPC)
| 224 | } |
| 225 | |
| 226 | @Override |
| 227 | public void apply(PlayerCharacter aPC) |
| 228 | { |
| 229 | for (CNAbilitySelection cnas : abilitiesToAdd) |
| 230 | { |
| 231 | aPC.addAbility(cnas, UserSelection.getInstance(), UserSelection.getInstance()); |
| 232 | |
| 233 | if (isFree()) |
| 234 | { |
| 235 | AbilityCategory category = catRef.get(); |
| 236 | aPC.adjustAbilities(category, BigDecimal.ONE); |
| 237 | } |
| 238 | } |
| 239 | } |
| 240 | |
| 241 | /** |
| 242 | * Returns if the skill will be purchased for free. |
nothing calls this directly
no test coverage detected