Get the list of bonuses for this object @param pc the current player character @return the list of bonuses for this object
(PlayerCharacter pc)
| 1139 | * @return the list of bonuses for this object |
| 1140 | */ |
| 1141 | public List<BonusObj> getRawBonusList(PlayerCharacter pc) |
| 1142 | { |
| 1143 | List<BonusObj> bonusList = getSafeListFor(ListKey.BONUS); |
| 1144 | if (pc != null) |
| 1145 | { |
| 1146 | bonusList.addAll(pc.getAddedBonusList(this)); |
| 1147 | bonusList.addAll(pc.getSaveableBonusList(this)); |
| 1148 | } |
| 1149 | return bonusList; |
| 1150 | } |
| 1151 | |
| 1152 | /** |
| 1153 | * returns all BonusObj's that are "active" |
no test coverage detected