Put the provided bonus key and value into the supplied bonus map. Some sanity checking is done on the key. @param fullyQualifiedBonusType The bonus key @param bonusValue The value of the bonus @param bonusMap The map of bonuses being built.
(final String fullyQualifiedBonusType, final String bonusValue, Map<String, String> bonusMap)
| 726 | * The map of bonuses being built. |
| 727 | */ |
| 728 | private static void putActiveBonusMap(final String fullyQualifiedBonusType, |
| 729 | final String bonusValue, |
| 730 | Map<String, String> bonusMap) |
| 731 | { |
| 732 | // |
| 733 | // This is a bad idea...will add whatever the bonus is to ALL skills |
| 734 | // |
| 735 | if (fullyQualifiedBonusType.equalsIgnoreCase("SKILL.LIST")) |
| 736 | { |
| 737 | return; |
| 738 | } |
| 739 | bonusMap.put(fullyQualifiedBonusType, bonusValue); |
| 740 | } |
| 741 | |
| 742 | public int getPartialStatBonusFor(PCStat stat, boolean useTemp, boolean useEquip) |
| 743 | { |
no test coverage detected