|
@@ -3,7 +3,6 @@ package org.leumasjaffe.charsheet.model.magic;
|
|
|
import java.util.Collection;
|
|
import java.util.Collection;
|
|
|
import java.util.List;
|
|
import java.util.List;
|
|
|
|
|
|
|
|
-import org.leumasjaffe.charsheet.model.observable.IntValue;
|
|
|
|
|
import org.leumasjaffe.observer.Observable;
|
|
import org.leumasjaffe.observer.Observable;
|
|
|
|
|
|
|
|
import com.fasterxml.jackson.annotation.JsonIgnore;
|
|
import com.fasterxml.jackson.annotation.JsonIgnore;
|
|
@@ -29,8 +28,8 @@ public abstract class DDSpellbook extends Observable.Instance {
|
|
|
|
|
|
|
|
public boolean learnsSpells() { return false; }
|
|
public boolean learnsSpells() { return false; }
|
|
|
public boolean preparesSpells() { return false; }
|
|
public boolean preparesSpells() { return false; }
|
|
|
- @JsonIgnore public IntValue getSharedAllowedSlots() {
|
|
|
|
|
- return new IntValue(-1);
|
|
|
|
|
|
|
+ @JsonIgnore public int getSharedAllowedSlots() {
|
|
|
|
|
+ return -1;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
public int numSpellsKnownAtLevel( int level ) {
|
|
public int numSpellsKnownAtLevel( int level ) {
|