return bonus from a Race @param aType @param aName @return race bonus to
(String aType, String aName)
| 3296 | * @return race bonus to |
| 3297 | */ |
| 3298 | public double getRaceBonusTo(String aType, String aName) |
| 3299 | { |
| 3300 | if (getRace() == null) |
| 3301 | { |
| 3302 | return 0; |
| 3303 | } |
| 3304 | |
| 3305 | final List<BonusObj> tempList = |
| 3306 | BonusUtilities.getBonusFromList(getRace().getBonusList(this), aType.toUpperCase(), aName.toUpperCase()); |
| 3307 | |
| 3308 | return calcBonusFromList(tempList, getRace()); |
| 3309 | } |
| 3310 | |
| 3311 | public int getSR() |
| 3312 | { |
no test coverage detected