From ec78db7b104f88da5d10cad92fe32e24f835a7fd Mon Sep 17 00:00:00 2001 From: Thaum Date: Wed, 11 Mar 2015 07:01:11 +0000 Subject: [PATCH] Removed unused skills --- rpg-docs/Model/Character/Characters.js | 25 +------------------------ 1 file changed, 1 insertion(+), 24 deletions(-) diff --git a/rpg-docs/Model/Character/Characters.js b/rpg-docs/Model/Character/Characters.js index 2ef5f0fc..a3c52296 100644 --- a/rpg-docs/Model/Character/Characters.js +++ b/rpg-docs/Model/Character/Characters.js @@ -157,34 +157,11 @@ Schemas.Character = new SimpleSchema({ initiative: {type: Schemas.Skill}, "initiative.ability": { type: String, defaultValue: "dexterity" }, - strengthAttack: {type: Schemas.Skill}, - "strengthAttack.ability": {type: String,defaultValue: "strength"}, - - dexterityAttack: {type: Schemas.Skill}, - "dexterityAttack.ability": { type: String, defaultValue: "dexterity" }, - - constitutionAttack: {type: Schemas.Skill}, - "constitutionAttack.ability":{ type: String, defaultValue: "constitution" }, - - intelligenceAttack: {type: Schemas.Skill}, - "intelligenceAttack.ability":{ type: String, defaultValue: "intelligence" }, - - wisdomAttack: {type: Schemas.Skill}, - "wisdomAttack.ability": { type: String, defaultValue: "wisdom" }, - - charismaAttack: {type: Schemas.Skill}, - "charismaAttack.ability": { type: String, defaultValue: "charisma" }, - - rangedAttack: {type: Schemas.Skill}, - "rangedAttack.ability": { type: String, defaultValue: "dexterity" }, - dexterityArmor: {type: Schemas.Skill}, "dexterityArmor.ability": { type: String, defaultValue: "dexterity" }, //mechanics deathSave: { type: Schemas.DeathSave }, - time: { type: Number, min: 0, decimal: true, defaultValue: 0}, - initiativeRoll: { type: Number, min: 0, max: 1, decimal: true, defaultValue: 0}, //permissions owner: { type: String, regEx: SimpleSchema.RegEx.Id, optional: true }, @@ -192,7 +169,7 @@ Schemas.Character = new SimpleSchema({ writers: { type: [String], regEx: SimpleSchema.RegEx.Id, defaultValue: [] }, color: {type: String, allowedValues: _.pluck(colorOptions, "key"), defaultValue: "q"}, //TODO add per-character settings - "settings.experiencesInc": {type: Number, defaultValue: 20}, + "settings.experiencesInc": {type: Number, defaultValue: 20}, //how many experiences to load at a time in XP table }); Characters.attachSchema(Schemas.Character);