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

Method getUserPoolBonus

code/src/java/pcgen/core/PlayerCharacter.java:7495–7507  ·  view source on GitHub ↗
(final AbilityCategory aCategory)

Source from the content-addressed store, hash-verified

7493 }
7494
7495 public double getUserPoolBonus(final AbilityCategory aCategory)
7496 {
7497 BigDecimal userBonus = null;
7498 if (theUserPoolBonuses != null)
7499 {
7500 userBonus = theUserPoolBonuses.get(aCategory);
7501 }
7502 if (userBonus == null)
7503 {
7504 return 0.0d;
7505 }
7506 return userBonus.doubleValue();
7507 }
7508
7509 public BigDecimal getTotalAbilityPool(final AbilityCategory aCategory)
7510 {

Callers 3

getTotalAbilityPoolMethod · 0.95
appendAbilityLinesMethod · 0.80

Calls 2

doubleValueMethod · 0.80
getMethod · 0.65

Tested by

no test coverage detected