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

Method getTotalBonusTo

code/src/java/pcgen/core/PlayerCharacter.java:3588–3591  ·  view source on GitHub ↗

Get the total bonus from Stats, Size, Age, Alignment, Classes, companions, Equipment, Feats, Templates, Domains, Races, etc This value is taken from an already populated HashMap for speed @param bonusType Type of bonus ("COMBAT" or "SKILL") @param bonusName Name of bonus ("AC" or "Hide"); @return t

(final String bonusType, final String bonusName)

Source from the content-addressed store, hash-verified

3586 * @return total bonus to
3587 */
3588 public double getTotalBonusTo(final String bonusType, final String bonusName)
3589 {
3590 return bonusManager.getTotalBonusTo(bonusType, bonusName);
3591 }
3592
3593 public int getTotalLevels()
3594 {

Callers 15

testAssociatedBonusMethod · 0.95
testStackingPosNegPosMethod · 0.95
runMethod · 0.95
getBonusMethod · 0.95
getBonusFeatPoolMethod · 0.95
getVariableMethod · 0.95
getBaseCheckMethod · 0.95
getTotalCheckMethod · 0.95

Calls

no outgoing calls

Tested by 5

testAssociatedBonusMethod · 0.76
testStackingPosNegPosMethod · 0.76