Gets the bonusToHit 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 bonusToHit value
(final PlayerCharacter aPC, final boolean bPrimary)
| 5217 | * @return The bonusToHit value |
| 5218 | */ |
| 5219 | public int getBonusToHit(final PlayerCharacter aPC, final boolean bPrimary) |
| 5220 | { |
| 5221 | return (int) bonusTo(aPC, "WEAPON", "TOHIT", bPrimary); |
| 5222 | } |
| 5223 | |
| 5224 | // --------------------------- |
| 5225 | // Owned Equipment |
no test coverage detected