Implemented Spell Dialogs
This commit is contained in:
@@ -6,7 +6,7 @@ Schemas.Spell = new SimpleSchema({
|
||||
prepared: {type: String, defaultValue: "unprepared", allowedValues: ["prepared","unprepared","always"]},
|
||||
name: {type: String},
|
||||
description: {type: String, optional: true},
|
||||
castingTime: {type: String, optional: true},
|
||||
castingTime: {type: String, defaultValue: "action"},
|
||||
range: {type: String, optional: true},
|
||||
duration: {type: String, optional: true},
|
||||
"components.verbal": {type: Boolean, defaultValue: false},
|
||||
@@ -14,7 +14,9 @@ Schemas.Spell = new SimpleSchema({
|
||||
"components.material": {type: String, optional: true},
|
||||
"components.concentration": {type: Boolean, defaultValue: false},
|
||||
ritual: {type: Boolean, defaultValue: false},
|
||||
level: {type: Number, defaultValue: 0}
|
||||
level: {type: Number, defaultValue: 0},
|
||||
school: {type: String, defaultValue: "Abjuration", allowedValues: magicSchools},
|
||||
color: {type: String, allowedValues: _.keys(colorOptions), defaultValue: "green"}
|
||||
});
|
||||
|
||||
Spells.attachSchema(Schemas.Spell);
|
||||
|
||||
@@ -14,7 +14,8 @@ Schemas.Item = new SimpleSchema({
|
||||
defaultValue: "none",
|
||||
allowedValues: ["none", "head", "armor", "arms", "hands", "held", "feet"]
|
||||
},
|
||||
equipped: {type: Boolean, defaultValue: false}
|
||||
equipped: {type: Boolean, defaultValue: false},
|
||||
color: {type: String, allowedValues: _.keys(colorOptions), defaultValue: "green"}
|
||||
});
|
||||
|
||||
Items.attachSchema(Schemas.Item);
|
||||
|
||||
Reference in New Issue
Block a user