c1_lua/lua/app/config/buff.lua
2023-04-23 15:55:23 +08:00

300 lines
5.2 KiB
Lua

local buff = {
[1]={
["name"]="hurt",
["buff_type"]=3,
["formula"]=1
},
[2]={
["name"]="hurt_red",
["buff_type"]=3,
["position"]=1,
["formula"]=1
},
[3]={
["name"]="hurt_yellow",
["buff_type"]=3,
["position"]=2,
["formula"]=1
},
[4]={
["name"]="hurt_green",
["buff_type"]=3,
["position"]=3,
["formula"]=1
},
[5]={
["name"]="hurt_blue",
["buff_type"]=3,
["position"]=4,
["formula"]=1
},
[6]={
["name"]="hurt_purple",
["buff_type"]=3,
["position"]=5,
["formula"]=1
},
[7]={
["name"]="dec_dmg_red_add",
["buff_type"]=1,
["position"]=1,
["icon"]="dec_dmg_red_add"
},
[8]={
["name"]="dec_dmg_yellow_add",
["buff_type"]=1,
["position"]=2,
["icon"]="dec_dmg_yellow_add"
},
[9]={
["name"]="dec_dmg_green_add",
["buff_type"]=1,
["position"]=3,
["icon"]="dec_dmg_green_add"
},
[10]={
["name"]="dec_dmg_blue_add",
["buff_type"]=1,
["position"]=4,
["icon"]="dec_dmg_blue_add"
},
[11]={
["name"]="dec_dmg_purple_add",
["buff_type"]=1,
["position"]=5,
["icon"]="dec_dmg_purple_add"
},
[12]={
["name"]="dec_dmg_all_add",
["buff_type"]=1,
["icon"]="dec_dmg_all_add"
},
[13]={
["name"]="weakness_red_add",
["buff_type"]=1,
["position"]=1,
["icon"]="weakness_red_add"
},
[14]={
["name"]="weakness_yellow_add",
["buff_type"]=1,
["position"]=2,
["icon"]="weakness_yellow_add"
},
[15]={
["name"]="weakness_green_add",
["buff_type"]=1,
["position"]=3,
["icon"]="weakness_green_add"
},
[16]={
["name"]="weakness_blue_add",
["buff_type"]=1,
["position"]=4,
["icon"]="weakness_blue_add"
},
[17]={
["name"]="weakness_purple_add",
["buff_type"]=1,
["position"]=5,
["icon"]="weakness_purple_add"
},
[18]={
["name"]="weakness_all_add",
["buff_type"]=1,
["icon"]="weakness_all_add"
},
[19]={
["name"]="dmg_addition_red_add",
["buff_type"]=1,
["position"]=1
},
[20]={
["name"]="dmg_addition_yellow_add",
["buff_type"]=1,
["position"]=2
},
[21]={
["name"]="dmg_addition_green_add",
["buff_type"]=1,
["position"]=3
},
[22]={
["name"]="dmg_addition_blue_add",
["buff_type"]=1,
["position"]=4
},
[23]={
["name"]="dmg_addition_purple_add",
["buff_type"]=1,
["position"]=5
},
[24]={
["name"]="dmg_addition_all_add",
["buff_type"]=1
},
[25]={
["name"]="atkp_color_add",
["buff_type"]=1
},
[26]={
["name"]="atkp_red_add",
["buff_type"]=1,
["position"]=1
},
[27]={
["name"]="atkp_yellow_add",
["buff_type"]=1,
["position"]=2
},
[28]={
["name"]="atkp_green_add",
["buff_type"]=1,
["position"]=3
},
[29]={
["name"]="atkp_blue_add",
["buff_type"]=1,
["position"]=4
},
[30]={
["name"]="atkp_purple_add",
["buff_type"]=1,
["position"]=5
},
[31]={
["name"]="wavehealp",
["buff_type"]=5,
["formula"]=2
},
[32]={
["name"]="heal",
["buff_type"]=5,
["formula"]=3,
["fx_take"]={
4001
}
},
[33]={
["name"]="stun",
["buff_type"]=8,
["icon"]="stun",
["fx_continued"]={
4001
}
},
[34]={
["name"]="shield",
["buff_type"]=2,
["icon"]="shield"
},
[35]={
["name"]="atkp_add",
["buff_type"]=1
},
[36]={
["name"]="normal_attack_dec",
["buff_type"]=1,
["icon"]="normal_attack_dec",
["fx_continued"]={
4001
}
},
[37]={
["name"]="normal_attack_add",
["buff_type"]=1
},
[38]={
["name"]="block",
["buff_type"]=1
},
[39]={
["name"]="hpp_add",
["buff_type"]=1
},
[40]={
["name"]="crit_add",
["buff_type"]=1
},
[41]={
["name"]="crit_time_add",
["buff_type"]=1
},
[42]={
["name"]="exp_time_add",
["buff_type"]=7
},
[43]={
["name"]="cured_add",
["buff_type"]=1
},
[44]={
["name"]="add_skill",
["buff_type"]=7
},
[45]={
["name"]="skill_fire_times",
["buff_type"]=7
},
[34]={
["name"]="shield_rebound_200",
["buff_type"]=2,
["icon"]="shield"
}
}
local keys = {
name = {
["hurt"]=buff[1],
["hurt_red"]=buff[2],
["hurt_yellow"]=buff[3],
["hurt_green"]=buff[4],
["hurt_blue"]=buff[5],
["hurt_purple"]=buff[6],
["dec_dmg_red_add"]=buff[7],
["dec_dmg_yellow_add"]=buff[8],
["dec_dmg_green_add"]=buff[9],
["dec_dmg_blue_add"]=buff[10],
["dec_dmg_purple_add"]=buff[11],
["dec_dmg_all_add"]=buff[12],
["weakness_red_add"]=buff[13],
["weakness_yellow_add"]=buff[14],
["weakness_green_add"]=buff[15],
["weakness_blue_add"]=buff[16],
["weakness_purple_add"]=buff[17],
["weakness_all_add"]=buff[18],
["dmg_addition_red_add"]=buff[19],
["dmg_addition_yellow_add"]=buff[20],
["dmg_addition_green_add"]=buff[21],
["dmg_addition_blue_add"]=buff[22],
["dmg_addition_purple_add"]=buff[23],
["dmg_addition_all_add"]=buff[24],
["atkp_color_add"]=buff[25],
["atkp_red_add"]=buff[26],
["atkp_yellow_add"]=buff[27],
["atkp_green_add"]=buff[28],
["atkp_blue_add"]=buff[29],
["atkp_purple_add"]=buff[30],
["wavehealp"]=buff[31],
["heal"]=buff[32],
["stun"]=buff[33],
["shield"]=buff[34],
["atkp_add"]=buff[35],
["normal_attack_dec"]=buff[36],
["normal_attack_add"]=buff[37],
["block"]=buff[38],
["hpp_add"]=buff[39],
["crit_add"]=buff[40],
["crit_time_add"]=buff[41],
["exp_time_add"]=buff[42],
["cured_add"]=buff[43],
["add_skill"]=buff[44],
["skill_fire_times"]=buff[45],
["shield_rebound_200"]=buff[34]
}
}
local config = {
data=buff,
keys=keys,
count=46
}
return config