CommonFun

CommonFun.ParseRace

Dataset · 20251127_update

Formula Source

function CommonFun.ParseRace(str)
  if "Brute" == str then
    return CommonFun.Race.Brute
  elseif "DemiHuman" == str then
    return CommonFun.Race.DemiHuman
  elseif "Demon" == str then
    return CommonFun.Race.Demon
  elseif "Plant" == str then
    return CommonFun.Race.Plant
  elseif "Undead" == str then
    return CommonFun.Race.DeadLess
  elseif "Formless" == str then
    return CommonFun.Race.Formless
  elseif "Fish" == str then
    return CommonFun.Race.Fish
  elseif "Angel" == str then
    return CommonFun.Race.Angel
  elseif "Insect" == str then
    return CommonFun.Race.Insect
  elseif "Dragon" == str then
    return CommonFun.Race.Dragon
  end
end
No formula links

Version History

Loading dependencies...
Loading usage...