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

Method getBonusList

code/src/java/pcgen/core/EquipmentModifier.java:86–91  ·  view source on GitHub ↗

This is prohibited since the associations are stored on the Equipment. Thankfully, bonuses are usually exported through the Equipment, via getBonusList(Equipment) or via getActiveBonuses(Equipment, PC), not as a stand-alone behavior.

(PlayerCharacter pc)

Source from the content-addressed store, hash-verified

84 * as a stand-alone behavior.
85 */
86 @Override
87 public List<BonusObj> getBonusList(PlayerCharacter pc)
88 {
89 throw new UnsupportedOperationException(
90 "Cannot resolve bonuses on EqMod via PlayerCharacter - requires Equipment");
91 }
92
93 /**
94 * This method assumes that there can only be one bonus in any given

Callers 11

test885958AMethod · 0.95
test885958BMethod · 0.95
testChoiceMethod · 0.95
getActiveBonusesMethod · 0.95
bonusToMethod · 0.95
getRaceBonusToMethod · 0.45
getBonusListOfTypeMethod · 0.45
addItemCostsMethod · 0.45
charBonusToMethod · 0.45
equipBonusToMethod · 0.45

Calls 15

toStringMethod · 0.95
newBonusMethod · 0.95
getContextMethod · 0.95
specifyMethod · 0.80
sizeMethod · 0.65
getMethod · 0.65
indexOfMethod · 0.65
hasPrerequisitesMethod · 0.65
clearPrerequisiteListMethod · 0.65
getPrerequisiteListMethod · 0.65
addPrerequisiteMethod · 0.65
addMethod · 0.65

Tested by 3

test885958AMethod · 0.76
test885958BMethod · 0.76
testChoiceMethod · 0.76