Removed unneeded "type" from schemas, use parent.collection instead.
This commit is contained in:
@@ -42,12 +42,6 @@ Schemas.Attack = new SimpleSchema({
|
||||
"poison", "psychic", "radiant", "thunder"],
|
||||
defaultValue: "slashing"
|
||||
},
|
||||
//indicates what the attack originated from
|
||||
type: {
|
||||
type: String,
|
||||
defaultValue: "editable",
|
||||
allowedValues: ["editable", "feature", "class", "buff", "equipment", "racial", "inate"]
|
||||
},
|
||||
//the id of the feature, buff or item that created this effect
|
||||
parent: {
|
||||
type: Schemas.Parent
|
||||
|
||||
@@ -29,12 +29,6 @@ Schemas.Effect = new SimpleSchema({
|
||||
optional: true,
|
||||
trim: false
|
||||
},
|
||||
//indicates what the effect originated from
|
||||
type: {
|
||||
type: String,
|
||||
defaultValue: "editable",
|
||||
allowedValues: ["editable", "feature", "class", "buff", "equipment", "racial", "inate"]
|
||||
},
|
||||
//the thing that created this effect
|
||||
parent: {
|
||||
type: Schemas.Parent
|
||||
|
||||
@@ -13,10 +13,6 @@ Schemas.Proficiency = new SimpleSchema({
|
||||
type: Number,
|
||||
allowedValues: [0, 0.5, 1],
|
||||
},
|
||||
type: {
|
||||
type: String,
|
||||
allowedValues: ["skill", "save", "weapon", "armor", "tool", "language"]
|
||||
}
|
||||
});
|
||||
|
||||
Proficiencies.attachSchema(Schemas.Proficiency);
|
||||
|
||||
Reference in New Issue
Block a user