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

Method getUdamForLevel

code/src/java/pcgen/core/PCClass.java:732–736  ·  view source on GitHub ↗

Get the unarmed Damage for this class at the given level. @param aLevel the given level. @param aPC the PC with the level. @param adjustForPCSize whether to adjust the result for the PC's size. @return the unarmed damage string

(int aLevel, final PlayerCharacter aPC, boolean adjustForPCSize)

Source from the content-addressed store, hash-verified

730 * @return the unarmed damage string
731 */
732 public String getUdamForLevel(int aLevel, final PlayerCharacter aPC, boolean adjustForPCSize)
733 {
734 aLevel += (int) aPC.getTotalBonusTo("UDAM", "CLASS." + getKeyName());
735 return getUDamForEffLevel(aLevel, aPC, adjustForPCSize);
736 }
737
738 /**
739 * Get the unarmed Damage for this class at the given level.

Callers 1

Calls 3

getUDamForEffLevelMethod · 0.95
getKeyNameMethod · 0.65
getTotalBonusToMethod · 0.45

Tested by

no test coverage detected