Implemented remaining core features

This commit is contained in:
Thaum
2015-02-25 12:48:45 +00:00
parent 52b8c8b8d6
commit 56f8e95d81
38 changed files with 748 additions and 100 deletions

View File

@@ -5,7 +5,7 @@ Effects = new Meteor.Collection("effects");
* that modify their final value or presentation in some way
*/
Schemas.Effect = new SimpleSchema({
charId: {
charId: {
type: String,
regEx: SimpleSchema.RegEx.Id
},
@@ -31,7 +31,7 @@ Schemas.Effect = new SimpleSchema({
type: {
type: String,
defaultValue: "editable",
allowedValues: ["editable", "feature", "buff", "equipment", "inate"]
allowedValues: ["editable", "feature", "level", "buff", "equipment", "racial", "inate"]
},
//the id of the feature, buff or item that created this effect
sourceId: {