Added efficient computation of characters to replace heavy export functionality

This commit is contained in:
Stefan Zermatten
2017-09-26 13:36:01 +02:00
parent 750022f0f1
commit 877f516565
5 changed files with 384 additions and 71 deletions

View File

@@ -6,3 +6,14 @@ abilities = [
"wisdom",
"charisma",
];
ABILITIES = abilities;
ABILITY_MODS = [
"strengthMod",
"dexterityMod",
"constitutionMod",
"intelligenceMod",
"wisdomMod",
"charismaMod",
];

View File

@@ -0,0 +1,34 @@
ATTRIBUTES = [
"strength",
"dexterity",
"constitution",
"intelligence",
"wisdom",
"charisma",
"hitPoints",
"tempHP",
"experience",
"proficiencyBonus",
"speed",
"armor",
"carryMultiplier",
"level1SpellSlots",
"level2SpellSlots",
"level3SpellSlots",
"level4SpellSlots",
"level5SpellSlots",
"level6SpellSlots",
"level7SpellSlots",
"level8SpellSlots",
"level9SpellSlots",
"ki",
"sorceryPoints",
"rages",
"superiorityDice",
"expertiseDice",
"rageDamage",
"d6HitDice",
"d8HitDice",
"d10HitDice",
"d12HitDice",
];

View File

@@ -19,3 +19,32 @@ SKILLS = [
"survival",
"initiative",
];
ALL_SKILLS = [
"strengthSave",
"dexteritySave",
"constitutionSave",
"intelligenceSave",
"wisdomSave",
"charismaSave",
"acrobatics",
"animalHandling",
"arcana",
"athletics",
"deception",
"history",
"insight",
"intimidation",
"investigation",
"medicine",
"nature",
"perception",
"performance",
"persuasion",
"religion",
"sleightOfHand",
"stealth",
"survival",
"initiative",
"dexterityArmor",
];