c1_lua/lua/app/config/buff.lua
2023-04-03 10:59:13 +08:00

231 lines
3.8 KiB
Lua

local buff = {
[1]={
["name"]="hurt",
["buff_type"]=1,
["formula"]=1
},
[2]={
["name"]="hurt_hpp_t",
["buff_type"]=1,
["formula"]=2
},
[3]={
["name"]="poison",
["buff_type"]=2,
["formula"]=1,
["buff_interval"]=300,
["fx_buff"]=7
},
[4]={
["name"]="treat",
["buff_type"]=3,
["formula"]=2,
["fx_get"]=4
},
[5]={
["name"]="attack_interval_dec",
["buff_type"]=5,
["formula"]=1
},
[6]={
["name"]="treat_shield",
["buff_type"]=5,
["formula"]=2
},
[7]={
["name"]="miss_up",
["buff_type"]=5,
["formula"]=1
},
[8]={
["name"]="atkp_up",
["buff_type"]=5,
["formula"]=1
},
[9]={
["name"]="dmg_addition_up",
["buff_type"]=5,
["formula"]=1
},
[10]={
["name"]="airborne_time",
["buff_type"]=5,
["formula"]=1
},
[11]={
["name"]="lie_time",
["buff_type"]=5,
["formula"]=1
},
[12]={
["name"]="attack_crit_up",
["buff_type"]=5,
["formula"]=1
},
[13]={
["name"]="airborne_damage_up",
["buff_type"]=5,
["formula"]=1
},
[14]={
["name"]="airborne_num_up",
["buff_type"]=5,
["formula"]=1
},
[15]={
["name"]="double_skill",
["buff_type"]=5,
["formula"]=1
},
[16]={
["name"]="skill_all_damage_up",
["buff_type"]=5,
["formula"]=1
},
[17]={
["name"]="skill_1_damage_up",
["buff_type"]=5,
["formula"]=1
},
[18]={
["name"]="skill_2_damage_up",
["buff_type"]=5,
["formula"]=1
},
[19]={
["name"]="skill_3_damage_up",
["buff_type"]=5,
["formula"]=1
},
[20]={
["name"]="attack_damage_up",
["buff_type"]=5,
["formula"]=1
},
[21]={
["name"]="spell_mark",
["buff_type"]=7,
["formula"]=1
},
[22]={
["name"]="spell_mark_explode",
["buff_type"]=7,
["formula"]=1
},
[23]={
["name"]="spell_mark_save",
["buff_type"]=7,
["formula"]=1
},
[24]={
["name"]="spell_mark_damage",
["buff_type"]=5,
["formula"]=1
},
[25]={
["name"]="crit_up",
["buff_type"]=5,
["formula"]=1
},
[26]={
["name"]="poison_double",
["buff_type"]=5,
["formula"]=1
},
[27]={
["name"]="poison_superposition",
["buff_type"]=5,
["formula"]=1
},
[28]={
["name"]="skill_1",
["buff_type"]=7,
["formula"]=1
},
[29]={
["name"]="skill_2",
["buff_type"]=7,
["formula"]=1
},
[30]={
["name"]="skill_3",
["buff_type"]=7,
["formula"]=1
},
[31]={
["name"]="poison_time",
["buff_type"]=7,
["formula"]=1
},
[32]={
["name"]="crit_time_up",
["buff_type"]=5,
["formula"]=1
},
[33]={
["name"]="stun",
["buff_type"]=6,
["formula"]=1,
["fx_buff"]=6
},
[34]={
["name"]="airborne",
["buff_type"]=7,
["formula"]=1
},
[35]={
["name"]="skill_damage_double",
["buff_type"]=5,
["formula"]=1
},
[36]={
["name"]="none",
["buff_type"]=0
}
}
local keys = {
name = {
["hurt"]=buff[1],
["hurt_hpp_t"]=buff[2],
["poison"]=buff[3],
["treat"]=buff[4],
["attack_interval_dec"]=buff[5],
["treat_shield"]=buff[6],
["miss_up"]=buff[7],
["atkp_up"]=buff[8],
["dmg_addition_up"]=buff[9],
["airborne_time"]=buff[10],
["lie_time"]=buff[11],
["attack_crit_up"]=buff[12],
["airborne_damage_up"]=buff[13],
["airborne_num_up"]=buff[14],
["double_skill"]=buff[15],
["skill_all_damage_up"]=buff[16],
["skill_1_damage_up"]=buff[17],
["skill_2_damage_up"]=buff[18],
["skill_3_damage_up"]=buff[19],
["attack_damage_up"]=buff[20],
["spell_mark"]=buff[21],
["spell_mark_explode"]=buff[22],
["spell_mark_save"]=buff[23],
["spell_mark_damage"]=buff[24],
["crit_up"]=buff[25],
["poison_double"]=buff[26],
["poison_superposition"]=buff[27],
["skill_1"]=buff[28],
["skill_2"]=buff[29],
["skill_3"]=buff[30],
["poison_time"]=buff[31],
["crit_time_up"]=buff[32],
["stun"]=buff[33],
["airborne"]=buff[34],
["skill_damage_double"]=buff[35],
["none"]=buff[36]
}
}
local config = {
data=buff,
keys=keys,
count=36
}
return config