c1_lua/lua/app/config/buff.lua
2023-04-11 22:12:52 +08:00

129 lines
2.0 KiB
Lua

local buff = {
[1]={
["name"]="stun",
["buff_type"]=8,
["decr"]=2,
["is_percent"]=2,
["v_buf"]="stun",
["icon"]="stun",
["fx_continued"]={
4001
},
["hit_show"]=1
},
[2]={
["name"]="hit_stun",
["buff_type"]=9,
["decr"]=2,
["is_percent"]=2,
["v_buf"]="stun",
["change_name"]="stun",
["hit_show"]=1
},
[3]={
["name"]="hurt",
["buff_type"]=3,
["decr"]=3,
["is_percent"]=1,
["v_buf"]="hurt"
},
[4]={
["name"]="shield",
["buff_type"]=2,
["decr"]=1,
["is_percent"]=2,
["v_buf"]="shield",
["fx_get"]={
2010
},
["hit_show"]=1
},
[5]={
["name"]="atkp_add",
["buff_type"]=1,
["decr"]=1,
["is_percent"]=2,
["v_buf"]="atkp_add"
},
[6]={
["name"]="atkp_add_defenderhp",
["buff_type"]=1,
["decr"]=1,
["is_percent"]=2,
["v_buf"]="atkp_add"
},
[7]={
["name"]="wavehealp",
["buff_type"]=5,
["decr"]=3,
["is_percent"]=2,
["v_buf"]="healp"
},
[8]={
["name"]="atkp_add_connect",
["buff_type"]=1,
["is_percent"]=2,
["v_buf"]="atkp_add"
},
[9]={
["name"]="spd_dec",
["buff_type"]=8,
["is_percent"]=2,
["v_buf"]="spd_dec"
},
[10]={
["name"]="block",
["buff_type"]=1,
["decr"]=1,
["is_percent"]=2,
["v_buf"]="block"
},
[11]={
["name"]="hit_block",
["buff_type"]=1,
["decr"]=1,
["is_percent"]=2,
["v_buf"]="block"
},
[12]={
["name"]="heal",
["buff_type"]=5,
["decr"]=3,
["is_percent"]=2,
["v_buf"]="heal",
["formula"]=8,
["fx_get"]={
2001
}
},
[13]={
["name"]="hit_heal",
["buff_type"]=5,
["decr"]=3,
["is_percent"]=2,
["v_buf"]="heal"
}
}
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]
}
}
local config = {
data=buff,
keys=keys,
count=13
}
return config