Adds levels of the given PCClass to the given PlayerCharacter. The number of levels added is defined by the level formula in this LevelCommandFactory, and the PCClass is defined by the CDOMReference provided when this LevelCommandFactory was constructed. @param levels A Formula indicati
(Formula levels, PCClass cl, PlayerCharacter pc)
| 124 | * if the given PlayerCharacter is null |
| 125 | */ |
| 126 | private void add(Formula levels, PCClass cl, PlayerCharacter pc) |
| 127 | { |
| 128 | apply(pc, cl, levels.resolve(pc, "").intValue()); |
| 129 | } |
| 130 | |
| 131 | /** |
| 132 | * Removes levels as defined by the given Formula of the given PCClass from |