local base = ed.parameter
local class = newclass(base.mt)
ed.ui.baseres = class
setfenv(1, class)
att_name = {
  "STR",
  "INT",
  "AGI",
  "HP",
  "AD",
  "AP",
  "ARM",
  "MR",
  "CRIT",
  "MCRIT",
  "HPS",
  "MPS",
  "DODG",
  "ARMP",
  "MRI",
  "LFS",
  "CDR",
  "HEAL",
  "HIT",
  "SKL",
  "SILR"
}
att_anim_name = {
  STR = T(LSTR("HERO_EQUIP.STRENGTH")),
  INT = T(LSTR("HERO_EQUIP.INTELLIGENCE")),
  AGI = T(LSTR("HERO_EQUIP.AGILITY")),
  HP = T(LSTR("BASERES.MAXIMUM_HP")),
  AD = T(LSTR("BASERES.PHYSICAL_ATTACK")),
  AP = T(LSTR("BASERES.MAGIC_STRENGTH")),
  ARM = T(LSTR("BASERES.PHYSICAL_ARMOR")),
  MR = T(LSTR("BASERES.MAGIC_RESISTANCE")),
  CRIT = T(LSTR("BASERES.PHYSICAL_CRIT")),
  MCRIT = T(LSTR("BASERES.MAGIC_CRIT")),
  HPS = T(LSTR("BASERES.HP_RECOVERY")),
  MPS = T(LSTR("BASERES.ENERGY_RECOVERY")),
  DODG = T(LSTR("BASERES.DODGE")),
  ARMP = T(LSTR("BASERES.PHYSICAL_ARMOR_PENETRATION")),
  MRI = T(LSTR("BASERES.IGNORE_MAGIC_RESISTANCE")),
  LFS = T(LSTR("EQUIPCRAFT.VAMPIRE")),
  CDR = T(LSTR("BASERES.REDUCE_ENERGY_CONSUMPTION")),
  HEAL = T(LSTR("BASERES.IMPROVE_THERAPEUTIC_SKILL_EFFECT")),
  HPR = T(LSTR("BASERES.RECOVER_HP_AFTER_EACH_BATTLE")),
  MPR = T(LSTR("BASERES.REPLENISH_ENERGY_AFTER_EACH_BATTLE")),
  ALL_ATT = T(LSTR("BASERES.STRENGTH_INTELLIGENCE_AGILITY")),
  HIT = T(LSTR("baseres.1.10.1.001")),
  SKL = T(LSTR("baseres.1.10.1.002")),
  SILR = T(LSTR("baseres.1.10.1.003"))
}
att_cn_name = {
  STR = T(LSTR("HERO_EQUIP.STRENGTH")),
  INT = T(LSTR("HERO_EQUIP.INTELLIGENCE")),
  AGI = T(LSTR("HERO_EQUIP.AGILITY")),
  HP = T(LSTR("BASERES.MAXIMUM_HP")),
  AD = T(LSTR("BASERES.PHYSICAL_ATTACK")),
  AP = T(LSTR("BASERES.MAGIC_STRENGTH")),
  ARM = T(LSTR("BASERES.PHYSICAL_ARMOR")),
  MR = T(LSTR("BASERES.MAGIC_RESISTANCE")),
  CRIT = T(LSTR("BASERES.PHYSICAL_CRIT")),
  MCRIT = T(LSTR("BASERES.MAGIC_CRIT")),
  HPS = T(LSTR("BASERES.HP_RECOVERY")),
  MPS = T(LSTR("BASERES.ENERGY_RECOVERY")),
  DODG = T(LSTR("BASERES.DODGE")),
  ARMP = T(LSTR("BASERES.PHYSICAL_ARMOR_PENETRATION")),
  MRI = T(LSTR("BASERES.IGNORE_MAGIC_RESISTANCE")),
  LFS = T(LSTR("EQUIPCRAFT.VAMPIRE")),
  CDR = T(LSTR("BASERES.REDUCE_ENERGY_CONSUMPTION")),
  HEAL = T(LSTR("BASERES.IMPROVE_THERAPEUTIC_SKILL_EFFECT")),
  HPR = T(LSTR("BASERES.RECOVER_HP_AFTER_EACH_BATTLE")),
  MPR = T(LSTR("BASERES.REPLENISH_ENERGY_AFTER_EACH_BATTLE")),
  ALL_ATT = T(LSTR("BASERES.STRENGTH_INTELLIGENCE_AGILITY")),
  HIT = T(LSTR("baseres.1.10.1.001")),
  SKL = T(LSTR("baseres.1.10.1.002")),
  SILR = T("")
}
att_pre = {
  STR = T(LSTR("BASERES.STRENGTH_")),
  INT = T(LSTR("BASERES.INTELLIGENCE_")),
  AGI = T(LSTR("BASERES.AGILITY_")),
  HP = T(LSTR("BASERES.MAXIMUM_HP_")),
  AD = T(LSTR("BASERES.PHYSICAL_ATTACK_")),
  AP = T(LSTR("BASERES.MAGIC_STRENGTH_")),
  ARM = T(LSTR("BASERES.PHYSICAL_ARMOR_")),
  MR = T(LSTR("BASERES.MAGIC_RESISTANCE_")),
  CRIT = T(LSTR("BASERES.PHYSICAL_CRIT_")),
  MCRIT = T(LSTR("BASERES.MAGIC_CRIT_")),
  HPS = T(LSTR("BASERES.HP_REPLIES_")),
  MPS = T(LSTR("BASERES.ENERGY_RECOVERY_")),
  DODG = T(LSTR("BASERES.DODGE_")),
  ARMP = T(LSTR("BASERES.PHYSICAL_ARMOR_PENETRATION")),
  MRI = T(LSTR("BASERES.IGNORE_MAGIC_RESISTANCE")),
  LFS = T(LSTR("BASERES.VAMPIRE_LEVEL_")),
  CDR = T(LSTR("BASERES.REDUCE_ENERGY_CONSUMPTION")),
  HEAL = T(LSTR("BASERES.IMPROVE_THERAPEUTIC_SKILL_EFFECT")),
  HPR = T(LSTR("BASERES.HEAL_AFTER_EACH_BATTLE")),
  MPR = T(LSTR("BASERES.REPLENISH_ENERGY_AFTER_EACH_BATTLE")),
  HIT = T(LSTR("baseres.1.10.1.004")),
  SKL = T(LSTR("baseres.1.10.1.005")),
  SILR = T("")
}
att_suffix = {
  ARMP = "",
  MRI = "",
  CDR = "%",
  HEAL = "%",
  HPR = "",
  MPR = "",
  SKL = T(" "),
  SILR = LSTR("baseres.1.10.1.006")
}
enhance_level_res = {
  T(LSTR("BASERES.COMMON_ENCHANT")),
  T(LSTR("BASERES.SENIOR_ENCHANTING")),
  T(LSTR("BASERES.EXPERT_ENCHANTING")),
  T(LSTR("BASERES.GRAND_MASTER_ENCHANTING")),
  T(LSTR("BASERES.LEGENDARY_ENCHANTING"))
}
