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

Method activateBonuses

code/src/java/pcgen/core/PointBuyMethod.java:123–130  ·  view source on GitHub ↗

Sets all the BonusObj's to "active" @param aPC

(final PlayerCharacter aPC)

Source from the content-addressed store, hash-verified

121 * @param aPC
122 */
123 @Override
124 public void activateBonuses(final PlayerCharacter aPC)
125 {
126 for (BonusObj bonus : getBonuses())
127 {
128 aPC.setApplied(bonus, bonus.qualifies(aPC, null));
129 }
130 }
131
132 @Override
133 public String getDisplayName()

Callers

nothing calls this directly

Calls 3

getBonusesMethod · 0.95
setAppliedMethod · 0.80
qualifiesMethod · 0.65

Tested by

no test coverage detected