Redo specialization field

This commit is contained in:
Zackhasacat 2023-11-03 17:19:53 -05:00
parent ea3eeb6bad
commit c311caef9a
4 changed files with 8 additions and 15 deletions

View file

@ -10,6 +10,7 @@ namespace ESM
{
const std::string_view Class::sGmstSpecializationIds[3]
= { "sSpecializationCombat", "sSpecializationMagic", "sSpecializationStealth" };
const std::string_view Class::indexToLuaId[3] = { "combat", "magic", "stealth" };
int32_t& Class::CLDTstruct::getSkill(int index, bool major)
{

View file

@ -30,8 +30,8 @@ namespace ESM
Magic = 1,
Stealth = 2
};
static const std::string_view sGmstSpecializationIds[3];
static const std::string_view indexToLuaId[3];
struct CLDTstruct
{