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

Method charBonusTo

code/src/java/pcgen/core/analysis/BonusCalc.java:151–154  ·  view source on GitHub ↗

Apply the bonus to a PC, pass through object's default bonuslist @param po @param aType @param aName @param aPC @return the bonus

(PObject po, final String aType, final String aName, final PlayerCharacter aPC)

Source from the content-addressed store, hash-verified

149 * @return the bonus
150 */
151 public static double charBonusTo(PObject po, final String aType, final String aName, final PlayerCharacter aPC)
152 {
153 return bonusTo(po, aType, aName, aPC, po.getBonusList(aPC), aPC);
154 }
155
156 public static double equipBonusTo(Equipment po, final String aType, final String aName, final PlayerCharacter aPC)
157 {

Callers 12

writeArmorPropertyMethod · 0.95
getSpellRangeMethod · 0.95
getDCMethod · 0.95
getConcentrationMethod · 0.95
getSizeBonusToMethod · 0.95
modifierStringMethod · 0.95
getStatModMethod · 0.95
getMagicDamageTokenMethod · 0.95
getMagicHitTokenMethod · 0.95
getDamageMethod · 0.95

Calls 2

bonusToMethod · 0.95
getBonusListMethod · 0.45

Tested by

no test coverage detected