CommonFun

CommonFun.ParseNature

Dataset · 20251127_update

Formula Source

function CommonFun.ParseNature(str)
  if "Wind" == str then
    return CommonFun.Nature.Wind
  elseif "Earth" == str then
    return CommonFun.Nature.Earth
  elseif "Water" == str then
    return CommonFun.Nature.Water
  elseif "Fire" == str then
    return CommonFun.Nature.Fire
  elseif "Neutral" == str then
    return CommonFun.Nature.Neutral
  elseif "Holy" == str then
    return CommonFun.Nature.Holy
  elseif "Shadow" == str then
    return CommonFun.Nature.Shadow
  elseif "Ghost" == str then
    return CommonFun.Nature.Ghost
  elseif "Undead" == str then
    return CommonFun.Nature.Undead
  elseif "Poison" == str then
    return CommonFun.Nature.Poison
  end
end
No formula links

Version History

Loading dependencies...
Loading usage...