c1_lua/lua/app/config/buff.lua
2023-05-17 14:40:54 +08:00

574 lines
9.4 KiB
Lua

local buff = {
[1]={
["name"]="hurt",
["buff_type"]=3,
["decr"]=3,
["formula"]=1
},
[2]={
["name"]="hurt_red",
["buff_type"]=3,
["position"]=1,
["decr"]=3,
["formula"]=1
},
[3]={
["name"]="hurt_yellow",
["buff_type"]=3,
["position"]=2,
["decr"]=3,
["formula"]=1
},
[4]={
["name"]="hurt_green",
["buff_type"]=3,
["position"]=3,
["decr"]=3,
["formula"]=1
},
[5]={
["name"]="hurt_blue",
["buff_type"]=3,
["position"]=4,
["decr"]=3,
["formula"]=1
},
[6]={
["name"]="hurt_purple",
["buff_type"]=3,
["position"]=5,
["decr"]=3,
["formula"]=1
},
[7]={
["name"]="dec_dmg_red_add",
["buff_type"]=1,
["stack"]=2,
["position"]=1,
["decr"]=1,
["icon"]="dec_dmg_red_add"
},
[8]={
["name"]="dec_dmg_yellow_add",
["buff_type"]=1,
["stack"]=2,
["position"]=2,
["decr"]=1,
["icon"]="dec_dmg_yellow_add"
},
[9]={
["name"]="dec_dmg_green_add",
["buff_type"]=1,
["stack"]=2,
["position"]=3,
["decr"]=1,
["icon"]="dec_dmg_green_add"
},
[10]={
["name"]="dec_dmg_blue_add",
["buff_type"]=1,
["stack"]=2,
["position"]=4,
["decr"]=1,
["icon"]="dec_dmg_blue_add"
},
[11]={
["name"]="dec_dmg_purple_add",
["buff_type"]=1,
["stack"]=2,
["position"]=5,
["decr"]=1,
["icon"]="dec_dmg_purple_add"
},
[12]={
["name"]="dec_dmg_all_add",
["buff_type"]=1,
["stack"]=2,
["decr"]=1,
["icon"]="dec_dmg_all_add"
},
[13]={
["name"]="weakness_red_add",
["buff_type"]=1,
["stack"]=2,
["position"]=1,
["decr"]=2,
["icon"]="weakness_red_add"
},
[14]={
["name"]="weakness_yellow_add",
["buff_type"]=1,
["stack"]=2,
["position"]=2,
["decr"]=2,
["icon"]="weakness_yellow_add"
},
[15]={
["name"]="weakness_green_add",
["buff_type"]=1,
["stack"]=2,
["position"]=3,
["decr"]=2,
["icon"]="weakness_green_add"
},
[16]={
["name"]="weakness_blue_add",
["buff_type"]=1,
["stack"]=2,
["position"]=4,
["decr"]=2,
["icon"]="weakness_blue_add"
},
[17]={
["name"]="weakness_purple_add",
["buff_type"]=1,
["stack"]=2,
["position"]=5,
["decr"]=2,
["icon"]="weakness_purple_add"
},
[18]={
["name"]="weakness_all_add",
["buff_type"]=1,
["stack"]=2,
["decr"]=2,
["icon"]="weakness_all_add"
},
[19]={
["name"]="dmg_addition_red_add",
["buff_type"]=1,
["stack"]=2,
["position"]=1,
["decr"]=1
},
[20]={
["name"]="dmg_addition_yellow_add",
["buff_type"]=1,
["stack"]=2,
["position"]=2,
["decr"]=1
},
[21]={
["name"]="dmg_addition_green_add",
["buff_type"]=1,
["stack"]=2,
["position"]=3,
["decr"]=1
},
[22]={
["name"]="dmg_addition_blue_add",
["buff_type"]=1,
["stack"]=2,
["position"]=4,
["decr"]=1
},
[23]={
["name"]="dmg_addition_purple_add",
["buff_type"]=1,
["stack"]=2,
["position"]=5,
["decr"]=1
},
[24]={
["name"]="dmg_addition_all_add",
["buff_type"]=1,
["stack"]=2,
["decr"]=1
},
[25]={
["name"]="atkp_color_add",
["buff_type"]=1,
["stack"]=2,
["decr"]=1
},
[26]={
["name"]="atkp_red_add",
["buff_type"]=1,
["stack"]=2,
["position"]=1,
["decr"]=1
},
[27]={
["name"]="atkp_yellow_add",
["buff_type"]=1,
["stack"]=2,
["position"]=2,
["decr"]=1
},
[28]={
["name"]="atkp_green_add",
["buff_type"]=1,
["stack"]=2,
["position"]=3,
["decr"]=1
},
[29]={
["name"]="atkp_blue_add",
["buff_type"]=1,
["stack"]=2,
["position"]=4,
["decr"]=1
},
[30]={
["name"]="atkp_purple_add",
["buff_type"]=1,
["stack"]=2,
["position"]=5,
["decr"]=1
},
[31]={
["name"]="wavehealp",
["buff_type"]=5,
["stack"]=2,
["decr"]=1,
["formula"]=2
},
[32]={
["name"]="heal",
["buff_type"]=5,
["stack"]=2,
["decr"]=1,
["formula"]=3,
["fx_get"]={
300025
}
},
[33]={
["name"]="stun",
["buff_type"]=8,
["stack"]=2,
["decr"]=2,
["icon"]="stun",
["control_priority"]=2,
["fx_continued"]={
13
}
},
[34]={
["name"]="shield",
["buff_type"]=2,
["decr"]=3,
["icon"]="shield",
["fx_continued"]={
11
},
["fx_disappear"]={
14
}
},
[35]={
["name"]="atkp_add",
["buff_type"]=1,
["stack"]=2,
["decr"]=1
},
[36]={
["name"]="normal_attack_dec",
["buff_type"]=1,
["decr"]=2,
["icon"]="normal_attack_dec",
["fx_continued"]={
12
}
},
[37]={
["name"]="normal_attack_add",
["buff_type"]=1,
["stack"]=2,
["decr"]=1
},
[38]={
["name"]="block",
["buff_type"]=1,
["stack"]=2,
["decr"]=1
},
[39]={
["name"]="hpp_add",
["buff_type"]=1,
["stack"]=2,
["decr"]=1
},
[40]={
["name"]="crit_add",
["buff_type"]=1,
["stack"]=2,
["decr"]=1
},
[41]={
["name"]="crit_time_add",
["buff_type"]=1,
["stack"]=2,
["decr"]=1
},
[42]={
["name"]="exp_time_add",
["buff_type"]=7,
["stack"]=2,
["decr"]=1
},
[43]={
["name"]="cured_add",
["buff_type"]=1,
["stack"]=2,
["decr"]=1
},
[44]={
["name"]="cured_dec",
["buff_type"]=1,
["stack"]=2,
["decr"]=2
},
[45]={
["name"]="add_skill",
["buff_type"]=7,
["stack"]=2,
["decr"]=3
},
[46]={
["name"]="skill_fire_times",
["buff_type"]=7,
["stack"]=2,
["decr"]=3
},
[47]={
["name"]="shield_rebound_200",
["buff_type"]=2,
["decr"]=3,
["icon"]="shield",
["fx_continued"]={
11
},
["fx_disappear"]={
14
}
},
[48]={
["name"]="burn",
["buff_type"]=4,
["stack"]=1,
["decr"]=2,
["formula"]=4
},
[49]={
["name"]="vulnerable",
["buff_type"]=1,
["decr"]=2
},
[50]={
["name"]="frozen",
["buff_type"]=7,
["decr"]=2,
["control_priority"]=1
},
[51]={
["name"]="poison",
["buff_type"]=4,
["stack"]=2,
["decr"]=2,
["formula"]=4
},
[52]={
["name"]="imprison",
["buff_type"]=7,
["decr"]=2,
["control_priority"]=4
},
[53]={
["name"]="corrupt",
["buff_type"]=1,
["decr"]=2
},
[54]={
["name"]="bleed",
["buff_type"]=7,
["decr"]=2,
["formula"]=4
},
[55]={
["name"]="weaken",
["buff_type"]=1,
["decr"]=2
},
[56]={
["name"]="lethargy",
["buff_type"]=8,
["stack"]=1,
["decr"]=2,
["control_priority"]=3
},
[57]={
["name"]="curse",
["buff_type"]=1,
["decr"]=2
},
[58]={
["name"]="lock",
["buff_type"]=7,
["decr"]=2
},
[59]={
["name"]="first_hand",
["buff_type"]=1,
["decr"]=1
},
[60]={
["name"]="skill_hurt_add",
["buff_type"]=1,
["decr"]=1
},
[61]={
["name"]="undead",
["buff_type"]=7,
["decr"]=1
},
[62]={
["name"]="counterattack",
["buff_type"]=1,
["stack"]=1,
["decr"]=1
},
[63]={
["name"]="thorns",
["buff_type"]=1,
["decr"]=1
},
[64]={
["name"]="dmg_dec_red_add",
["buff_type"]=1,
["stack"]=2,
["position"]=1,
["decr"]=2
},
[65]={
["name"]="dmg_dec_yellow_add",
["buff_type"]=1,
["stack"]=2,
["position"]=2,
["decr"]=2
},
[66]={
["name"]="dmg_dec_green_add",
["buff_type"]=1,
["stack"]=2,
["position"]=3,
["decr"]=2
},
[67]={
["name"]="dmg_dec_blue_add",
["buff_type"]=1,
["stack"]=2,
["position"]=4,
["decr"]=2
},
[68]={
["name"]="dmg_dec_purple_add",
["buff_type"]=1,
["stack"]=2,
["position"]=5,
["decr"]=2
},
[69]={
["name"]="dmg_dec_all_add",
["buff_type"]=1,
["stack"]=2,
["decr"]=2
},
[70]={
["name"]="be_sucked",
["buff_type"]=1,
["decr"]=2
},
[71]={
["name"]="be_dmg_to_heal",
["buff_type"]=1,
["decr"]=2
},
[72]={
["name"]="death_summon",
["buff_type"]=1,
["decr"]=3
}
}
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],
["cured_dec"]=buff[44],
["add_skill"]=buff[45],
["skill_fire_times"]=buff[46],
["shield_rebound_200"]=buff[47],
["burn"]=buff[48],
["vulnerable"]=buff[49],
["frozen"]=buff[50],
["poison"]=buff[51],
["imprison"]=buff[52],
["corrupt"]=buff[53],
["bleed"]=buff[54],
["weaken"]=buff[55],
["lethargy"]=buff[56],
["curse"]=buff[57],
["lock"]=buff[58],
["first_hand"]=buff[59],
["skill_hurt_add"]=buff[60],
["undead"]=buff[61],
["counterattack"]=buff[62],
["thorns"]=buff[63],
["dmg_dec_red_add"]=buff[64],
["dmg_dec_yellow_add"]=buff[65],
["dmg_dec_green_add"]=buff[66],
["dmg_dec_blue_add"]=buff[67],
["dmg_dec_purple_add"]=buff[68],
["dmg_dec_all_add"]=buff[69],
["be_sucked"]=buff[70],
["be_dmg_to_heal"]=buff[71],
["death_summon"]=buff[72]
}
}
local config = {
data=buff,
keys=keys,
count=72
}
return config