()
| 318 | * PCClass for PCClassLevel creation (in the factory) |
| 319 | */ |
| 320 | public final String getSpellBaseStat() |
| 321 | { |
| 322 | Boolean useStat = get(ObjectKey.USE_SPELL_SPELL_STAT); |
| 323 | if (useStat == null) |
| 324 | { |
| 325 | return "None"; |
| 326 | } |
| 327 | else if (useStat) |
| 328 | { |
| 329 | return "SPELL"; |
| 330 | } |
| 331 | Boolean otherCaster = get(ObjectKey.CASTER_WITHOUT_SPELL_STAT); |
| 332 | if (otherCaster) |
| 333 | { |
| 334 | return "OTHER"; |
| 335 | } |
| 336 | CDOMSingleRef<PCStat> ss = get(ObjectKey.SPELL_STAT); |
| 337 | //TODO This could be null, do we need to worry about it? |
| 338 | return ss.get().getKeyName(); |
| 339 | } |
| 340 | |
| 341 | /* |
| 342 | * FINALPCCLASSANDLEVEL This is required in PCClassLevel and should be present in |
no test coverage detected