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

Method preFormulaAcCheck

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

Description of the Method @param aPC The PC that has this Equipment @return Description of the Return Value @deprecated due to ACCHECK code control

(final PlayerCharacter aPC)

Source from the content-addressed store, hash-verified

2166 * @deprecated due to ACCHECK code control
2167 */
2168 @Deprecated
2169 public Integer preFormulaAcCheck(final PlayerCharacter aPC)
2170 {
2171 return Math.min(getSafe(IntegerKey.AC_CHECK) + (int) bonusTo(aPC, "EQMARMOR", "ACCHECK", true), 0);
2172 }
2173
2174 /**
2175 * Returns true if the Equipment can take children.

Callers 5

resolveMethod · 0.95
resolveMethod · 0.80
resolveMethod · 0.80
resolveMethod · 0.80
getAcCheckTokenIntMethod · 0.80

Calls 3

bonusToMethod · 0.95
getSafeMethod · 0.80
minMethod · 0.45

Tested by

no test coverage detected