Changed effect arrays to a single effect array array

This commit is contained in:
Thaum
2014-11-30 10:38:44 +00:00
parent 4c7d23e37e
commit ad474590bd
6 changed files with 97 additions and 101 deletions

View File

@@ -13,6 +13,11 @@ Schemas.Effect = new SimpleSchema({
name: {
type: String
},
operation: {
type: String,
defaultValue: "add",
allowedValues: ["proficiency","add","mul","min","max","advantage","disadvantage","passiveAdd","fail","conditional","passiveAdd"]
},
value: {
type: Number,
decimal: true,
@@ -28,4 +33,4 @@ Schemas.Effect = new SimpleSchema({
defaultValue: "default",
allowedValues: ["default", "inate", "class", "race", "feat", "equippedMagic", "equippedMundane", "external"]
}
});
});