---------------------------------------------------- -- 此文件由数据工具生成 -- 阵法配置数据--formation_data.xml -------------------------------------- Config = Config or {} Config.FormationData = Config.FormationData or {} -- -------------------form_cost_start------------------- Config.FormationData.data_form_cost_length = 8 Config.FormationData.data_form_cost = { ["lineup"] = {code="lineup", val=3, desc=""}, ["lineup_max"] = {code="lineup_max", val=5, desc=""}, ["lineup_unit"] = {code="lineup_unit", val=5, desc=""}, ["exp_a"] = {code="exp_a", val=200, desc=""}, ["exp_b"] = {code="exp_b", val=100, desc=""}, ["item_zf"] = {code="item_zf", val=10130, desc=""}, ["restrain_effect"] = {code="restrain_effect", val={{'dam',0},{'res',0}}, desc="克制方全体
伤害+0%,免伤+0%
"}, ["restrain_des"] = {code="restrain_des", val=0, desc="1、不同的阵法,英雄
站位
不同,前、中、后排加成效果不同\n2、阵法
等级
越高,属性加成越高\n3、阵法之间存在克制效果,克制将
对敌方造成的伤害提高5%
,同时
受到敌方的伤害降低5%
"} } Config.FormationData.data_form_cost_fun = function(key) local data=Config.FormationData.data_form_cost[key] if DATA_DEBUG and data == nil then print('(Config.FormationData.data_form_cost['..key..'])not found') return end return data end -- -------------------form_cost_end--------------------- -- -------------------form_data_start------------------- Config.FormationData.data_form_data_length = 6 Config.FormationData.data_form_data = { [1] = {type=1, order=1, name="尖峰", pos={{1,2},{2,4},{3,6},{4,7},{5,9}}, need_lev=1, desc="尖峰", pos_list={{1,424,284},{2,306,381},{3,225,183},{4,150,381},{5,67,183}}}, [2] = {type=2, order=2, name="分兵", pos={{1,1},{2,3},{3,4},{4,6},{5,8}}, need_lev=20, desc="分兵", pos_list={{1,464,381},{2,374,183},{3,306,381},{4,225,183},{5,113,284}}}, [3] = {type=3, order=3, name="推进", pos={{1,1},{2,2},{3,3},{4,5},{5,8}}, need_lev=30, desc="推进", pos_list={{1,464,381},{2,424,284},{3,374,183},{4,264,284},{5,113,284}}}, [5] = {type=5, order=4, name="掠阵", pos={{1,2},{2,5},{3,7},{4,8},{5,9}}, need_lev=40, desc="掠阵", pos_list={{1,424,284},{2,264,284},{3,150,381},{4,113,284},{5,67,183}}}, [6] = {type=6, order=5, name="守护", pos={{1,1},{2,3},{3,5},{4,7},{5,9}}, need_lev=50, desc="守护", pos_list={{1,464,381},{2,374,183},{3,264,284},{4,150,381},{5,67,183}}}, [4] = {type=4, order=6, name="压阵", pos={{1,2},{2,4},{3,5},{4,6},{5,8}}, need_lev=60, desc="压阵", pos_list={{1,424,284},{2,306,381},{3,264,284},{4,225,183},{5,113,284}}} } Config.FormationData.data_form_data_fun = function(key) local data=Config.FormationData.data_form_data[key] if DATA_DEBUG and data == nil then print('(Config.FormationData.data_form_data['..key..'])not found') return end return data end -- -------------------form_data_end---------------------