(PlayerCharacter pc, CDOMObject owner, CNAbilitySelection choice)
| 399 | } |
| 400 | |
| 401 | @Override |
| 402 | public void removeChoice(PlayerCharacter pc, CDOMObject owner, CNAbilitySelection choice) |
| 403 | { |
| 404 | CNAbility cna = choice.getCNAbility(); |
| 405 | Ability ab = cna.getAbility(); |
| 406 | AbilityCategory cat = (AbilityCategory) cna.getAbilityCategory(); |
| 407 | if (cna.getNature().equals(Nature.NORMAL)) |
| 408 | { |
| 409 | pc.adjustAbilities(cat, ab.getSafe(ObjectKey.SELECTION_COST).negate()); |
| 410 | pc.removeAbility(choice, UserSelection.getInstance(), UserSelection.getInstance()); |
| 411 | } |
| 412 | else |
| 413 | { |
| 414 | pc.removeSavedAbility(choice, UserSelection.getInstance(), UserSelection.getInstance()); |
| 415 | } |
| 416 | } |
| 417 | } |
nothing calls this directly
no test coverage detected