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

Method isProficientWith

code/src/java/pcgen/core/PlayerCharacter.java:3251–3265  ·  view source on GitHub ↗
(final Equipment eq)

Source from the content-addressed store, hash-verified

3249 }
3250
3251 public boolean isProficientWith(final Equipment eq)
3252 {
3253 if (eq.isShield())
3254 {
3255 return shieldProfFacet.isProficientWithShield(id, eq);
3256 } else if (eq.isArmor())
3257 {
3258 return armorProfFacet.isProficientWithArmor(id, eq);
3259 } else if (eq.isWeapon())
3260 {
3261 return weaponProfFacet.isProficientWithWeapon(id, eq);
3262 }
3263
3264 return false;
3265 }
3266
3267 /**
3268 * Changes the race of the character. First it removes the current Race,

Callers 10

testLargeWpnBonusMethod · 0.95
getEquipmentHtmlInfoMethod · 0.80
isQualifiedForMethod · 0.80
useEquipmentMethod · 0.80
resolveMethod · 0.80
testAutoShieldProfMethod · 0.80
testAutoArmorProfMethod · 0.80
testAutoArmorProfListMethod · 0.80

Calls 6

isShieldMethod · 0.80
isArmorMethod · 0.80
isWeaponMethod · 0.65
isProficientWithArmorMethod · 0.45

Tested by 5

testLargeWpnBonusMethod · 0.76
testAutoShieldProfMethod · 0.64
testAutoArmorProfMethod · 0.64
testAutoArmorProfListMethod · 0.64