Files
DiceCloud/app/lib/constants/statOrder.js
2018-05-21 14:21:07 +02:00

82 lines
1.3 KiB
JavaScript

var statsInOrder = [
"strength",
"dexterity",
"constitution",
"intelligence",
"wisdom",
"charisma",
"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",
"hitPoints",
"armor",
"dexterityArmor",
"speed",
"proficiencyBonus",
"ki",
"sorceryPoints",
"rages",
"rageDamage",
"expertiseDice",
"superiorityDice",
"carryMultiplier",
"level1SpellSlots",
"level2SpellSlots",
"level3SpellSlots",
"level4SpellSlots",
"level5SpellSlots",
"level6SpellSlots",
"level7SpellSlots",
"level8SpellSlots",
"level9SpellSlots",
"d6HitDice",
"d8HitDice",
"d10HitDice",
"d12HitDice",
"acidMultiplier",
"bludgeoningMultiplier",
"coldMultiplier",
"fireMultiplier",
"forceMultiplier",
"lightningMultiplier",
"necroticMultiplier",
"piercingMultiplier",
"poisonMultiplier",
"psychicMultiplier",
"radiantMultiplier",
"slashingMultiplier",
"thunderMultiplier",
];
statOrder = {};
_.each(statsInOrder, function(element, index){
statOrder[element] = index;
});