(PlayerCharacter aPC)
| 226 | } |
| 227 | |
| 228 | @Override |
| 229 | public void apply(PlayerCharacter aPC) |
| 230 | { |
| 231 | PersistentTransitionChoice<WeaponProf> wpPTC = getPTC(thePObject); |
| 232 | Collection<?> choices = wpPTC.getChoices().getSet(aPC); |
| 233 | for (CDOMSingleRef<WeaponProf> profKey : profList) |
| 234 | { |
| 235 | WeaponProf wp = profKey.get(); |
| 236 | if (choices.contains(wp)) |
| 237 | { |
| 238 | wpPTC.act(Collections.singleton(wp), thePObject, aPC); |
| 239 | } |
| 240 | } |
| 241 | } |
| 242 | |
| 243 | @Override |
| 244 | public String getObjectName() |