Removed unneeded "type" from schemas, use parent.collection instead.

This commit is contained in:
Thaum
2015-04-17 11:30:44 +00:00
parent 1352bd1178
commit 245867dae6
13 changed files with 14 additions and 47 deletions

View File

@@ -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