71 lines
5.1 KiB
Lua
71 lines
5.1 KiB
Lua
----------------------------------------------------
|
|
-- 此文件由数据工具生成
|
|
-- 录像馆配置数据--video_data.xml
|
|
--------------------------------------
|
|
|
|
Config = Config or {}
|
|
Config.VideoData = Config.VideoData or {}
|
|
|
|
-- -------------------const_start-------------------
|
|
Config.VideoData.data_const_length = 27
|
|
Config.VideoData.data_const = {
|
|
["likes_limit"] = {key="likes_limit", val=3, desc="每天点赞上限"},
|
|
["likes_reward"] = {key="likes_reward", val={{1,30000}}, desc="点赞奖励"},
|
|
["self_video_limit"] = {key="self_video_limit", val=30, desc="个人录像上限"},
|
|
["self_collection_limit"] = {key="self_collection_limit", val=30, desc="个人收藏上限"},
|
|
["area_video_condition"] = {key="area_video_condition", val=500, desc="竞技场录像录入条件(其中方满足前x名,包含x)"},
|
|
["public_round_condition"] = {key="public_round_condition", val=6, desc="所有录像满足录入的回合数条件"},
|
|
["lev_interval_uplimit"] = {key="lev_interval_uplimit", val=5, desc="竞技场录像筛选中区间的浮动值(上)"},
|
|
["lev_interval_lowlimit"] = {key="lev_interval_lowlimit", val=5, desc="竞技场录像筛选中区间的浮动值(下)"},
|
|
["hot_round_condition"] = {key="hot_round_condition", val=8, desc="所有录像满足录入的回合数条件"},
|
|
["video_base_weight"] = {key="video_base_weight", val=100, desc="录像基础权重——热门录像"},
|
|
["play_weight_condition"] = {key="play_weight_condition", val=100, desc="播放数加成权重条件(需要播放超过x次)——热门录像"},
|
|
["play_weight_increase"] = {key="play_weight_increase", val=80, desc="播放数加成权重值——热门录像"},
|
|
["battlenum_weight_condition"] = {key="battlenum_weight_condition", val=10, desc="战力相差范围在x%内——热门录像"},
|
|
["battlenum_weight_increase"] = {key="battlenum_weight_increase", val=80, desc="战力相近加成权重值——热门录像"},
|
|
["elite_lev_float_section"] = {key="elite_lev_float_section", val={10,10}, desc="精英段位赛录像筛选的玩家等级上下浮动区间"},
|
|
["elite_battlenum_conditon"] = {key="elite_battlenum_conditon", val=70, desc="段位精英赛战力差条件(单位:千分比)"},
|
|
["elitelev_conditon"] = {key="elitelev_conditon", val=1, desc="段位精英赛录像筛选段位等级条件,达到该等级则满足"},
|
|
["fresh_hero_id"] = {key="fresh_hero_id", val=20512, desc="新英雄ID"},
|
|
["nh_video_base_weight"] = {key="nh_video_base_weight", val=100, desc="录像基础权重——新英雄集锦"},
|
|
["nh_play_weight_condition"] = {key="nh_play_weight_condition", val=100, desc="播放数加成权重条件(需要播放超过x次)——新英雄集锦"},
|
|
["nh_play_weight_increase"] = {key="nh_play_weight_increase", val=80, desc="播放数加成权重值——新英雄集锦"},
|
|
["nh_battlenum_weight_condition"] = {key="nh_battlenum_weight_condition", val=100, desc="战力相差范围在x%内——新英雄集锦"},
|
|
["nh_battlenum_weight_increase"] = {key="nh_battlenum_weight_increase", val=0, desc="战力相近加成权重值——新英雄集锦"},
|
|
["nh_hot_round_condition"] = {key="nh_hot_round_condition", val=1, desc="所有录像满足录入的回合数条件——新英雄集锦"},
|
|
["hero_add_weight"] = {key="hero_add_weight", val=200, desc="胜利方拥有英雄ID则加成权重——热门录像"},
|
|
["hero_add_weight_condition"] = {key="hero_add_weight_condition", val={10510,10512,30508}, desc="满足加成的英雄ID——热门录像"},
|
|
["open_time"] = {key="open_time", val=7, desc="只在开服7天内走该权重加成规则——热门录像"}
|
|
}
|
|
Config.VideoData.data_const_fun = function(key)
|
|
local data=Config.VideoData.data_const[key]
|
|
if DATA_DEBUG and data == nil then
|
|
print('(Config.VideoData.data_const['..key..'])not found') return
|
|
end
|
|
return data
|
|
end
|
|
-- -------------------const_end---------------------
|
|
|
|
|
|
-- -------------------vedio_start-------------------
|
|
Config.VideoData.data_vedio_length = 9
|
|
Config.VideoData.data_vedio = {
|
|
[1] = {id=1, name="竞技场", evt={{'all'},{'rank',1,10},{'rank',11,50},{'rank',51,100},{'rank',101}}, sort_id=3, is_show=1},
|
|
[2] = {id=2, name="冠军赛", evt={{'all'},{'cham',2},{'cham',4},{'cham',8},{'cham',16},{'cham',32},{'cham',128}}, sort_id=4, is_show=1},
|
|
[3] = {id=3, name="切磋", evt={{'all'},{'lev',151},{'lev',101,150},{'lev',51,100},{'lev',1,50}}, sort_id=5, is_show=1},
|
|
[4] = {id=4, name="公会战", evt={{'all'}}, sort_id=6, is_show=1},
|
|
[5] = {id=5, name="跨服天梯", evt={{'all'}}, sort_id=7, is_show=1},
|
|
[6] = {id=6, name="超凡段位", evt={{'all'}}, sort_id=8, is_show=1},
|
|
[7] = {id=7, name="周冠军赛", evt={{'all'},{'cham',2},{'cham',4},{'cham',8},{'cham',16},{'cham',32},{'cham',64},{'cham',256}}, sort_id=9, is_show=1},
|
|
[97] = {id=97, name="新英雄集锦", evt={{'all'}}, sort_id=1, is_show=1},
|
|
[98] = {id=98, name="本周热门", evt={{'all'}}, sort_id=2, is_show=1}
|
|
}
|
|
Config.VideoData.data_vedio_fun = function(key)
|
|
local data=Config.VideoData.data_vedio[key]
|
|
if DATA_DEBUG and data == nil then
|
|
print('(Config.VideoData.data_vedio['..key..'])not found') return
|
|
end
|
|
return data
|
|
end
|
|
-- -------------------vedio_end---------------------
|