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

Method getAltCritMultiplier

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

Gets the altCritMultiplier attribute of the Equipment object @return The altCritMultiplier value @deprecated due to CRITMULT code control

()

Source from the content-addressed store, hash-verified

4841 * @deprecated due to CRITMULT code control
4842 */
4843 @Deprecated
4844 public int getAltCritMultiplier()
4845 {
4846 int mult = getHeadInfo(2, IntegerKey.CRIT_MULT);
4847 if (mult == 0)
4848 {
4849 final String cm = getWeaponInfo("CRITMULT", false);
4850
4851 if (!cm.isEmpty())
4852 {
4853 mult = Integer.parseInt(cm);
4854 }
4855 }
4856 return mult;
4857 }
4858
4859 /**
4860 * @deprecated due to CRITMULT and CRITRANGE code controls

Callers 6

getExpandedWeaponsMethod · 0.95
getEquipmentHtmlInfoMethod · 0.80
resolveMethod · 0.80
evaluateMethod · 0.80
getMultTokenMethod · 0.80
getAltCritMultTokenMethod · 0.80

Calls 4

getHeadInfoMethod · 0.95
getWeaponInfoMethod · 0.95
parseIntMethod · 0.80
isEmptyMethod · 0.65

Tested by

no test coverage detected