(CDOMObject cdo)
| 213 | } |
| 214 | |
| 215 | private PersistentTransitionChoice<WeaponProf> getPTC(CDOMObject cdo) |
| 216 | { |
| 217 | List<PersistentTransitionChoice<?>> adds = cdo.getListFor(ListKey.ADD); |
| 218 | for (PersistentTransitionChoice<?> ptc : adds) |
| 219 | { |
| 220 | if (ptc.getChoiceClass().equals(WeaponProf.class)) |
| 221 | { |
| 222 | return (PersistentTransitionChoice<WeaponProf>) ptc; |
| 223 | } |
| 224 | } |
| 225 | return null; |
| 226 | } |
| 227 | |
| 228 | @Override |
| 229 | public void apply(PlayerCharacter aPC) |
no test coverage detected