Gets the critMultiplier attribute of the Equipment object @return The critMultiplier value @deprecated due to CRITMULT code control
()
| 4819 | * @deprecated due to CRITMULT code control |
| 4820 | */ |
| 4821 | @Deprecated |
| 4822 | public int getCritMultiplier() |
| 4823 | { |
| 4824 | int mult = getHeadInfo(1, IntegerKey.CRIT_MULT); |
| 4825 | if (mult == 0) |
| 4826 | { |
| 4827 | final String cm = getWeaponInfo("CRITMULT", true); |
| 4828 | |
| 4829 | if (!cm.isEmpty()) |
| 4830 | { |
| 4831 | mult = Integer.parseInt(cm); |
| 4832 | } |
| 4833 | } |
| 4834 | return mult; |
| 4835 | } |
| 4836 | |
| 4837 | /** |
| 4838 | * Gets the altCritMultiplier attribute of the Equipment object |
no test coverage detected