Apply the bonus to a PC, pass through object's default bonuslist @param po @param aType @param aName @param aPC @return the bonus
(PObject po, final String aType, final String aName, final PlayerCharacter aPC)
| 149 | * @return the bonus |
| 150 | */ |
| 151 | public static double charBonusTo(PObject po, final String aType, final String aName, final PlayerCharacter aPC) |
| 152 | { |
| 153 | return bonusTo(po, aType, aName, aPC, po.getBonusList(aPC), aPC); |
| 154 | } |
| 155 | |
| 156 | public static double equipBonusTo(Equipment po, final String aType, final String aName, final PlayerCharacter aPC) |
| 157 | { |
no test coverage detected