(PlayerCharacter pc, final AbilityCategory aCategory)
| 38 | } |
| 39 | |
| 40 | @Override |
| 41 | protected MapToList<Ability, CNAbility> getAbilityList(PlayerCharacter pc, final AbilityCategory aCategory) |
| 42 | { |
| 43 | final MapToList<Ability, CNAbility> listOfAbilities = new HashMapToList<>(); |
| 44 | Collection<AbilityCategory> allCats = SettingsHandler.getGameAsProperty().get().getAllAbilityCategories(); |
| 45 | for (AbilityCategory aCat : allCats) |
| 46 | { |
| 47 | if (aCat.getParentCategory().equals(aCategory)) |
| 48 | { |
| 49 | for (CNAbility cna : pc.getPoolAbilities(aCat, Nature.VIRTUAL)) |
| 50 | { |
| 51 | listOfAbilities.addToListFor(cna.getAbility(), cna); |
| 52 | } |
| 53 | } |
| 54 | } |
| 55 | return listOfAbilities; |
| 56 | } |
| 57 | |
| 58 | } |
nothing calls this directly
no test coverage detected