c1_lua/lua/app/config/buff.lua
2023-04-13 22:30:08 +08:00

233 lines
3.6 KiB
Lua

local buff = {
[1]={
["name"]="stun",
["buff_type"]=8,
["decr"]=2,
["icon"]="stun",
["fx_continued"]={
4001
}
},
[2]={
["name"]="hit_stun",
["buff_type"]=9,
["decr"]=2
},
[3]={
["name"]="hurt",
["buff_type"]=3,
["decr"]=3,
["formula"]=1
},
[4]={
["name"]="shield",
["buff_type"]=2,
["decr"]=1,
["fx_continued"]={
4001
}
},
[5]={
["name"]="atkp_add",
["buff_type"]=1,
["decr"]=1
},
[6]={
["name"]="atkp_add_defenderhp",
["buff_type"]=1,
["decr"]=1
},
[7]={
["name"]="wavehealp",
["buff_type"]=5,
["decr"]=3,
["formula"]=7
},
[8]={
["name"]="atkp_add_connect",
["buff_type"]=1,
["decr"]=3
},
[9]={
["name"]="spd_dec",
["buff_type"]=8,
["decr"]=2,
["fx_continued"]={
4001
}
},
[10]={
["name"]="block",
["buff_type"]=1,
["decr"]=1
},
[11]={
["name"]="hit_block",
["buff_type"]=1,
["decr"]=1
},
[12]={
["name"]="heal",
["buff_type"]=5,
["decr"]=3,
["formula"]=8,
["fx_take"]={
4001
}
},
[13]={
["name"]="hit_heal",
["buff_type"]=5,
["decr"]=3,
["formula"]=9,
["fx_take"]={
4001
}
},
[14]={
["name"]="hurt_red",
["buff_type"]=3,
["decr"]=3,
["formula"]=2
},
[15]={
["name"]="hurt_yellow",
["buff_type"]=3,
["decr"]=3,
["formula"]=3
},
[16]={
["name"]="hurt_green",
["buff_type"]=3,
["decr"]=3,
["formula"]=4
},
[17]={
["name"]="hurt_blue",
["buff_type"]=3,
["decr"]=3,
["formula"]=5
},
[18]={
["name"]="hurt_purple",
["buff_type"]=3,
["decr"]=3,
["formula"]=6
},
[19]={
["name"]="red_atkp_dec",
["buff_type"]=1,
["decr"]=1,
["icon"]="red_atkp_dec"
},
[20]={
["name"]="yellow_atkp_dec",
["buff_type"]=1,
["decr"]=1,
["icon"]="yellow_atkp_dec"
},
[21]={
["name"]="green_atkp_dec",
["buff_type"]=1,
["decr"]=1,
["icon"]="green_atkp_dec"
},
[22]={
["name"]="blue_atkp_dec",
["buff_type"]=1,
["decr"]=1,
["icon"]="blue_atkp_dec"
},
[23]={
["name"]="purple_atkp_dec",
["buff_type"]=1,
["decr"]=1,
["icon"]="purple_atkp_dec"
},
[24]={
["name"]="random_atkp_dec",
["buff_type"]=7,
["decr"]=1
},
[25]={
["name"]="board_make",
["buff_type"]=7,
["decr"]=3
},
[26]={
["name"]="red_atkp_add",
["buff_type"]=1,
["decr"]=2,
["icon"]="red_atkp_dec"
},
[27]={
["name"]="yellow_atkp_add",
["buff_type"]=1,
["decr"]=2,
["icon"]="yellow_atkp_dec"
},
[28]={
["name"]="green_atkp_add",
["buff_type"]=1,
["decr"]=2,
["icon"]="green_atkp_dec"
},
[29]={
["name"]="blue_atkp_add",
["buff_type"]=1,
["decr"]=2,
["icon"]="blue_atkp_dec"
},
[30]={
["name"]="purple_atkp_add",
["buff_type"]=1,
["decr"]=2,
["icon"]="purple_atkp_dec"
},
[31]={
["name"]="atk_times_add",
["buff_type"]=7,
["decr"]=1
}
}
local keys = {
name = {
["stun"]=buff[1],
["hit_stun"]=buff[2],
["hurt"]=buff[3],
["shield"]=buff[4],
["atkp_add"]=buff[5],
["atkp_add_defenderhp"]=buff[6],
["wavehealp"]=buff[7],
["atkp_add_connect"]=buff[8],
["spd_dec"]=buff[9],
["block"]=buff[10],
["hit_block"]=buff[11],
["heal"]=buff[12],
["hit_heal"]=buff[13],
["hurt_red"]=buff[14],
["hurt_yellow"]=buff[15],
["hurt_green"]=buff[16],
["hurt_blue"]=buff[17],
["hurt_purple"]=buff[18],
["red_atkp_dec"]=buff[19],
["yellow_atkp_dec"]=buff[20],
["green_atkp_dec"]=buff[21],
["blue_atkp_dec"]=buff[22],
["purple_atkp_dec"]=buff[23],
["random_atkp_dec"]=buff[24],
["board_make"]=buff[25],
["red_atkp_add"]=buff[26],
["yellow_atkp_add"]=buff[27],
["green_atkp_add"]=buff[28],
["blue_atkp_add"]=buff[29],
["purple_atkp_add"]=buff[30],
["atk_times_add"]=buff[31]
}
}
local config = {
data=buff,
keys=keys,
count=31
}
return config