Description of the Method @param aPC The PC that has this Equipment @param aType a TYPE of BONUS (such as "COMBAT" or "AC") @param aName the NAME of the BONUS (such as "ATTACKS" or "ARMOR") @param bPrimary should we ask the parent object also? @return ret
(final PlayerCharacter aPC, final String aType, final String aName, final boolean bPrimary)
| 2487 | * @return returns a double which is the sum of all bonuses |
| 2488 | */ |
| 2489 | public double bonusTo(final PlayerCharacter aPC, final String aType, final String aName, final boolean bPrimary) |
| 2490 | { |
| 2491 | return bonusTo(aPC, aType, aName, this, bPrimary); |
| 2492 | } |
| 2493 | |
| 2494 | /** |
| 2495 | * Add bonuses |
no test coverage detected