MCPcopy Create free account
hub / github.com/PCGen/pcgen / getAbilityList

Method getAbilityList

code/src/java/pcgen/core/PlayerCharacter.java:8645–8654  ·  view source on GitHub ↗
(Category<Ability> cat, Nature nature)

Source from the content-addressed store, hash-verified

8643 }
8644
8645 private Set<Ability> getAbilityList(Category<Ability> cat, Nature nature)
8646 {
8647 Set<Ability> newSet = new HashSet<>();
8648 Collection<CNAbility> cnas = grantedAbilityFacet.getPoolAbilities(id, cat, nature);
8649 for (CNAbility cna : cnas)
8650 {
8651 newSet.add(cna.getAbility());
8652 }
8653 return newSet;
8654 }
8655
8656 public boolean containsKit(Kit kit)
8657 {

Callers 3

getFeatBonusToMethod · 0.95
getAbilityKeyedMethod · 0.95

Calls 3

addMethod · 0.65
getPoolAbilitiesMethod · 0.45
getAbilityMethod · 0.45

Tested by

no test coverage detected