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

Method setUserPoolBonus

code/src/java/pcgen/core/PlayerCharacter.java:7486–7493  ·  view source on GitHub ↗
(final AbilityCategory aCategory, final BigDecimal anAmount)

Source from the content-addressed store, hash-verified

7484 }
7485
7486 public final void setUserPoolBonus(final AbilityCategory aCategory, final BigDecimal anAmount)
7487 {
7488 if (theUserPoolBonuses == null)
7489 {
7490 theUserPoolBonuses = new HashMap<>();
7491 }
7492 theUserPoolBonuses.put(aCategory, anAmount);
7493 }
7494
7495 public double getUserPoolBonus(final AbilityCategory aCategory)
7496 {

Callers 4

PlayerCharacterMethod · 0.95
parseFeatPoolLineMethod · 0.80
parseUserPoolLineMethod · 0.80
sanityChecksMethod · 0.80

Calls 1

putMethod · 0.65

Tested by

no test coverage detected