%%---------------------------------------------------- %% 数据配置文件 %% @author linguohui %%---------------------------------------------------- -module(planes_robot_data). -export([ cfg/0 ]). -include("data_config.hrl"). -include("common.hrl"). cfg() -> #data_cfg{ name = planes_robot_data ,lua_name = planes_robot_data ,js_name = planes_robot_data ,desc = "配置数据" ,source = "planes_robot_data.xml" ,target = "planes_robot_data.erl" ,splitv = 1 ,head_rows = 1 ,inc = ["planes.hrl"] ,callback = [ {get_all_loan_partner, cb_fun, handle, {tuple_type, ["租借机器人"], bid, [id, power, bid]}} ,{get_all_robot_id_power, cb_fun, handle, {tuple_list, ["租借机器人"], [id, power]}} ,{get_loan_partner, cb_fun, handle, {get_record, ["租借机器人"], id, new_map, all}} ] ,callback_cli = [] ,sheet = [ {["租借机器人"], [ #f_column{type = int, name = id, desc = "id", mod = all} ,#f_column{type = int, name = power, desc = "战力", mod = all} ,#f_column{type = int, name = bid, desc = "英雄基础id", mod = all} ,#f_column{type = int, name = lev, desc = "等级", mod = all} ,#f_column{type = int, name = star, desc = "星级", mod = all} ,#f_column{type = int, name = break_lev, desc = "突破等级", mod = all} ,#f_column{type = term, name = skills, add_list_sign=false, desc = "技能", mod = all} ,#f_column{type = term, name = attr, add_list_sign=false, desc = "总属性", mod = all, val = "[]"} ,#f_column{type = term, name = eqm, add_list_sign =false, desc = "装备", mod = all, val = "[]"} ,#f_column{type = term, name = holy_eqm, add_list_sign=false, desc = "神装", mod = all, val = "[]"} ,#f_column{type = term, name = artifacts, add_list_sign=false, desc = "符文", mod = all, val = "[]"} ]} ] }.