c1_lua/lua/app/config/attr.lua
2025-07-21 21:05:08 +08:00

456 lines
7.8 KiB
Lua

local attr = {
[1]={
["id"]=1,
["name"]="hp",
["fight"]=100
},
[2]={
["id"]=2,
["name"]="atk_red",
["fight"]=200
},
[3]={
["id"]=3,
["name"]="atk_yellow",
["fight"]=200
},
[4]={
["id"]=4,
["name"]="atk_green",
["fight"]=200
},
[5]={
["id"]=5,
["name"]="atk_blue",
["fight"]=200
},
[6]={
["id"]=6,
["name"]="atk_purple",
["fight"]=200
},
[7]={
["id"]=7,
["name"]="attr_crit_red",
["fight"]=500
},
[8]={
["id"]=8,
["name"]="attr_crit_yellow",
["fight"]=500
},
[9]={
["id"]=9,
["name"]="attr_crit_green",
["fight"]=500
},
[10]={
["id"]=10,
["name"]="attr_crit_blue",
["fight"]=500
},
[11]={
["id"]=11,
["name"]="attr_crit_purple",
["fight"]=500
},
[12]={
["id"]=12,
["name"]="attr_crit_time_red",
["fight"]=500
},
[13]={
["id"]=13,
["name"]="attr_crit_time_yellow",
["fight"]=500
},
[14]={
["id"]=14,
["name"]="attr_crit_time_green",
["fight"]=500
},
[15]={
["id"]=15,
["name"]="attr_crit_time_blue",
["fight"]=500
},
[16]={
["id"]=16,
["name"]="attr_crit_time_purple",
["fight"]=500
},
[17]={
["id"]=17,
["name"]="attr_cured_red",
["fight"]=100
},
[18]={
["id"]=18,
["name"]="attr_cured_yellow",
["fight"]=100
},
[19]={
["id"]=19,
["name"]="attr_cured_green",
["fight"]=100
},
[20]={
["id"]=20,
["name"]="attr_cured_blue",
["fight"]=100
},
[21]={
["id"]=21,
["name"]="attr_cured_purple",
["fight"]=100
},
[22]={
["id"]=22,
["name"]="attr_atkp_red",
["fight"]=100
},
[23]={
["id"]=23,
["name"]="attr_atkp_yellow",
["fight"]=100
},
[24]={
["id"]=24,
["name"]="attr_atkp_green",
["fight"]=100
},
[25]={
["id"]=25,
["name"]="attr_atkp_blue",
["fight"]=100
},
[26]={
["id"]=26,
["name"]="attr_atkp_purple",
["fight"]=100
},
[27]={
["id"]=27,
["name"]="attr_hpp_red",
["fight"]=100
},
[28]={
["id"]=28,
["name"]="attr_hpp_yellow",
["fight"]=100
},
[29]={
["id"]=29,
["name"]="attr_hpp_green",
["fight"]=100
},
[30]={
["id"]=30,
["name"]="attr_hpp_blue",
["fight"]=100
},
[31]={
["id"]=31,
["name"]="attr_hpp_purple",
["fight"]=100
},
[32]={
["id"]=32,
["name"]="attr_normal_hurt_red",
["fight"]=50
},
[33]={
["id"]=33,
["name"]="attr_normal_hurt_yellow",
["fight"]=50
},
[34]={
["id"]=34,
["name"]="attr_normal_hurt_green",
["fight"]=50
},
[35]={
["id"]=35,
["name"]="attr_normal_hurt_blue",
["fight"]=50
},
[36]={
["id"]=36,
["name"]="attr_normal_hurt_purple",
["fight"]=50
},
[37]={
["id"]=37,
["name"]="attr_skill_hurt_red",
["fight"]=50
},
[38]={
["id"]=38,
["name"]="attr_skill_hurt_yellow",
["fight"]=50
},
[39]={
["id"]=39,
["name"]="attr_skill_hurt_green",
["fight"]=50
},
[40]={
["id"]=40,
["name"]="attr_skill_hurt_blue",
["fight"]=50
},
[41]={
["id"]=41,
["name"]="attr_skill_hurt_purple",
["fight"]=50
},
[42]={
["id"]=42,
["name"]="attr_normal_hurtp_red",
["fight"]=50
},
[43]={
["id"]=43,
["name"]="attr_normal_hurtp_yellow",
["fight"]=50
},
[44]={
["id"]=44,
["name"]="attr_normal_hurtp_green",
["fight"]=50
},
[45]={
["id"]=45,
["name"]="attr_normal_hurtp_blue",
["fight"]=50
},
[46]={
["id"]=46,
["name"]="attr_normal_hurtp_purple",
["fight"]=50
},
[47]={
["id"]=47,
["name"]="attr_skill_hurtp_red",
["fight"]=50
},
[48]={
["id"]=48,
["name"]="attr_skill_hurtp_yellow",
["fight"]=50
},
[49]={
["id"]=49,
["name"]="attr_skill_hurtp_green",
["fight"]=50
},
[50]={
["id"]=50,
["name"]="attr_skill_hurtp_blue",
["fight"]=50
},
[51]={
["id"]=51,
["name"]="attr_skill_hurtp_purple",
["fight"]=50
},
[52]={
["id"]=52,
["name"]="attr_hp_red",
["fight"]=50
},
[53]={
["id"]=53,
["name"]="attr_hp_yellow",
["fight"]=50
},
[54]={
["id"]=54,
["name"]="attr_hp_green",
["fight"]=50
},
[55]={
["id"]=55,
["name"]="attr_hp_blue",
["fight"]=50
},
[56]={
["id"]=56,
["name"]="attr_hp_purple",
["fight"]=50
},
[57]={
["id"]=57,
["name"]="attr_all_hurtp_red",
["fight"]=50
},
[58]={
["id"]=58,
["name"]="attr_all_hurtp_yellow",
["fight"]=50
},
[59]={
["id"]=59,
["name"]="attr_all_hurtp_green",
["fight"]=50
},
[60]={
["id"]=60,
["name"]="attr_all_hurtp_blue",
["fight"]=50
},
[61]={
["id"]=61,
["name"]="attr_all_hurtp_purple",
["fight"]=50
},
[62]={
["id"]=62,
["name"]="attr_atkp_red_all",
["fight"]=50
},
[63]={
["id"]=63,
["name"]="attr_atkp_yellow_all",
["fight"]=50
},
[64]={
["id"]=64,
["name"]="attr_atkp_green_all",
["fight"]=50
},
[65]={
["id"]=65,
["name"]="attr_atkp_blue_all",
["fight"]=50
},
[66]={
["id"]=66,
["name"]="attr_atkp_purple_all",
["fight"]=50
},
[67]={
["id"]=67,
["name"]="atk_all",
["fight"]=50
},
[68]={
["id"]=68,
["name"]="attr_hp_all",
["fight"]=50
},
[69]={
["id"]=69,
["name"]="attr_dmgdec_all",
["fight"]=50
},
[70]={
["id"]=70,
["name"]="attr_crit_all",
["fight"]=50
},
[71]={
["id"]=71,
["name"]="attr_crit_time_all",
["fight"]=50
},
[72]={
["id"]=72,
["name"]="attr_normal_hurtp_all",
["fight"]=50
},
[73]={
["id"]=73,
["name"]="attr_skill_hurtp_all",
["fight"]=50
},
[74]={
["id"]=74,
["name"]="attr_atkp_all",
["fight"]=50
}
}
local keys = {
name = {
["hp"]=attr[1],
["atk_red"]=attr[2],
["atk_yellow"]=attr[3],
["atk_green"]=attr[4],
["atk_blue"]=attr[5],
["atk_purple"]=attr[6],
["attr_crit_red"]=attr[7],
["attr_crit_yellow"]=attr[8],
["attr_crit_green"]=attr[9],
["attr_crit_blue"]=attr[10],
["attr_crit_purple"]=attr[11],
["attr_crit_time_red"]=attr[12],
["attr_crit_time_yellow"]=attr[13],
["attr_crit_time_green"]=attr[14],
["attr_crit_time_blue"]=attr[15],
["attr_crit_time_purple"]=attr[16],
["attr_cured_red"]=attr[17],
["attr_cured_yellow"]=attr[18],
["attr_cured_green"]=attr[19],
["attr_cured_blue"]=attr[20],
["attr_cured_purple"]=attr[21],
["attr_atkp_red"]=attr[22],
["attr_atkp_yellow"]=attr[23],
["attr_atkp_green"]=attr[24],
["attr_atkp_blue"]=attr[25],
["attr_atkp_purple"]=attr[26],
["attr_hpp_red"]=attr[27],
["attr_hpp_yellow"]=attr[28],
["attr_hpp_green"]=attr[29],
["attr_hpp_blue"]=attr[30],
["attr_hpp_purple"]=attr[31],
["attr_normal_hurt_red"]=attr[32],
["attr_normal_hurt_yellow"]=attr[33],
["attr_normal_hurt_green"]=attr[34],
["attr_normal_hurt_blue"]=attr[35],
["attr_normal_hurt_purple"]=attr[36],
["attr_skill_hurt_red"]=attr[37],
["attr_skill_hurt_yellow"]=attr[38],
["attr_skill_hurt_green"]=attr[39],
["attr_skill_hurt_blue"]=attr[40],
["attr_skill_hurt_purple"]=attr[41],
["attr_normal_hurtp_red"]=attr[42],
["attr_normal_hurtp_yellow"]=attr[43],
["attr_normal_hurtp_green"]=attr[44],
["attr_normal_hurtp_blue"]=attr[45],
["attr_normal_hurtp_purple"]=attr[46],
["attr_skill_hurtp_red"]=attr[47],
["attr_skill_hurtp_yellow"]=attr[48],
["attr_skill_hurtp_green"]=attr[49],
["attr_skill_hurtp_blue"]=attr[50],
["attr_skill_hurtp_purple"]=attr[51],
["attr_hp_red"]=attr[52],
["attr_hp_yellow"]=attr[53],
["attr_hp_green"]=attr[54],
["attr_hp_blue"]=attr[55],
["attr_hp_purple"]=attr[56],
["attr_all_hurtp_red"]=attr[57],
["attr_all_hurtp_yellow"]=attr[58],
["attr_all_hurtp_green"]=attr[59],
["attr_all_hurtp_blue"]=attr[60],
["attr_all_hurtp_purple"]=attr[61],
["attr_atkp_red_all"]=attr[62],
["attr_atkp_yellow_all"]=attr[63],
["attr_atkp_green_all"]=attr[64],
["attr_atkp_blue_all"]=attr[65],
["attr_atkp_purple_all"]=attr[66],
["atk_all"]=attr[67],
["attr_hp_all"]=attr[68],
["attr_dmgdec_all"]=attr[69],
["attr_crit_all"]=attr[70],
["attr_crit_time_all"]=attr[71],
["attr_normal_hurtp_all"]=attr[72],
["attr_skill_hurtp_all"]=attr[73],
["attr_atkp_all"]=attr[74]
}
}
local config = {
data=attr,
keys=keys,
count=74
}
return config