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

Method getBonusToDamage

code/src/java/pcgen/core/Equipment.java:5204–5207  ·  view source on GitHub ↗

Gets the bonusToDamage attribute of the Equipment object @param aPC The PC that has the Equipment @param bPrimary if true get info about the priomary head, else get info about the secondary head. @return The bonusToDamage value

(final PlayerCharacter aPC, final boolean bPrimary)

Source from the content-addressed store, hash-verified

5202 * @return The bonusToDamage value
5203 */
5204 public int getBonusToDamage(final PlayerCharacter aPC, final boolean bPrimary)
5205 {
5206 return (int) bonusTo(aPC, "WEAPON", "DAMAGE", bPrimary);
5207 }
5208
5209 /**
5210 * Gets the bonusToHit attribute of the Equipment object

Callers 3

getEqBonusMethod · 0.95
getMagicDamageTokenMethod · 0.80
getDamageMethod · 0.80

Calls 1

bonusToMethod · 0.95

Tested by

no test coverage detected