Files
fc/server/tools/gen_data/lua_data/break_egg_data.lua
T
2026-05-23 22:10:14 +08:00

54 lines
3.5 KiB
Lua
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
----------------------------------------------------
-- 此文件由数据工具生成
-- 砸蛋--break_egg_data.xml
--------------------------------------
Config = Config or {}
Config.BreakEggData = Config.BreakEggData or {}
-- -------------------const_start-------------------
Config.BreakEggData.data_const_length = 15
Config.BreakEggData.data_const = {
["holiday_rule"] = {val=1, desc="<div fontcolor=#fca000>玩法说明:</div><div fontcolor=#e7d499>\n1.活动期间,消耗</div><div fontcolor=#00ff00>小金锤</div><div fontcolor=#e7d499>砸金蛋,可获得金蛋内的道具奖励</div><div fontcolor=#e7d499>\n2.每次刷新金蛋,都有概率可刷出</div><div fontcolor=#00ff00>极品蛋</div><div fontcolor=#e7d499>,砸开</div><div fontcolor=#00ff00>极品蛋</div><div fontcolor=#e7d499>必定获得极品奖励</div><div fontcolor=#e7d499>\n3.砸开所有蛋后自动免费刷新</div><div fontcolor=#e7d499>\n4.砸金蛋会获得幸运值,幸运值越高刷新出</div><div fontcolor=#00ff00>极品蛋</div><div fontcolor=#e7d499>的概率也越高</div><div fontcolor=#e7d499>\n5.幸运值满后下次刷新必出</div><div fontcolor=#00ff00>极品蛋</div><div fontcolor=#e7d499>,刷出极品蛋后幸运值清零。</div><div fontcolor=#e7d499>\n6.极品蛋中奖概率</div><div fontcolor=#e7d499>\n5星随机碎片*25</div><div fontcolor=#15ee5c>15%</div><div fontcolor=#e7d499>\n先知水晶*1</div><div fontcolor=#15ee5c>15%</div><div fontcolor=#e7d499>\n皮肤碎片*3</div><div fontcolor=#15ee5c>35%</div><div fontcolor=#e7d499>\n高级召唤券*2</div><div fontcolor=#15ee5c>35%</div><div fontcolor=#e7d499>\n7.普通蛋中奖概率</div><div fontcolor=#e7d499>\n皮肤碎片*1</div><div fontcolor=#15ee5c>10%</div><div fontcolor=#e7d499>\n符文精华*100</div><div fontcolor=#15ee5c>10%</div><div fontcolor=#e7d499>\n其他道具:</div><div fontcolor=#15ee5c>80%</div>"},
["lev_limit"] = {val=10, desc="开放等级"},
["item_bid"] = {val=37004, desc="小金锤"},
["item_price"] = {val=200, desc="单个小金锤价格"},
["give_exp"] = {val=5000, desc="单次购买赠送经验"},
["gold_once"] = {val=200, desc="单次砸蛋消耗钻石"},
["free_time"] = {val=1, desc="免费刷新次数"},
["best_egg_max"] = {val=1, desc="极品蛋出现个数上限"},
["lucky_min"] = {val=0, desc="极品蛋出现所需幸运值下限"},
["refresh_gold"] = {val=50, desc="刷新所需钻石"},
["add_lucky"] = {val=1, desc="砸蛋加幸运值"},
["egg_num"] = {val=6, desc="金蛋数量"},
["lucky_max"] = {val=8, desc="幸运值上限"},
["record_len"] = {val=30, desc="全服记录条数"},
["open_lev"] = {val=10, desc="开放等级"}
}
Config.BreakEggData.data_const_fun = function(key)
local data=Config.BreakEggData.data_const[key]
if DATA_DEBUG and data == nil then
print('(Config.BreakEggData.data_const['..key..'])not found') return
end
return data
end
-- -------------------const_end---------------------
-- -------------------award_start-------------------
Config.BreakEggData.data_award_length = 4
Config.BreakEggData.data_award = {
[1] = {bid=14001, num=1, show_effect=1},
[2] = {bid=29905, num=25, show_effect=1},
[3] = {bid=29, num=3, show_effect=1},
[4] = {bid=10403, num=2, show_effect=1}
}
Config.BreakEggData.data_award_fun = function(key)
local data=Config.BreakEggData.data_award[key]
if DATA_DEBUG and data == nil then
print('(Config.BreakEggData.data_award['..key..'])not found') return
end
return data
end
-- -------------------award_end---------------------