#pragma once #include #include using namespace std; static vector abilities {"str", "dex", "con", "int", "wis", "cha"}; static map skill2ability { {"Athletics", "str"}, {"Acrobatics", "dex"}, {"Sleight of Hand", "dex"}, {"Stealth", "dex"}, {"Arcana", "int"}, {"History", "int"}, {"Investigation", "int"}, {"Nature", "int"}, {"Religion", "int"}, {"Animal Handling", "wis"}, {"Insight", "wis"}, {"Medicine", "wis"}, {"Perception", "wis"}, {"Survival", "wis"}, {"Deception", "cha"}, {"Intimidation", "cha"}, {"Performance", "cha"}, {"Persuasion", "cha"} }; static map> armor { {"light", { {"padded", 11}, {"leather", 11}, {"studded leather", 12} }}, {"medium", { {"hide", 12}, {"chain shirt", 13}, {"scale mail", 14}, {"breastplate", 14}, {"half plate", 15} }}, {"heavy", { {"ring mail", 14}, {"chain mail", 16}, {"splint", 17}, {"plate", 18} }}, {"misc", { {"shield", 2}, {"ring of protection", 1} }} };