1 Star 0 Fork 0

White./最强蜗牛抽奖模拟器框架

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
jackpotConfig.js 27.89 KB
一键复制 编辑 原始数据 按行查看 历史
White. 提交于 2020-09-24 17:09 . 初始化
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058
/**
* 装备宝箱
*/
var equipmentJackpotConfig = [
//白色礼品珠
{
//出现概率
probability: 1,
//奖池
jackpot: [
{
//奖品名称
name: "木戒指",
//出现概率
probability: 0.13,
//数量
num: 1,
//是否只能获取一次
haveOne: false
},
{
name: "铁戒指",
probability: 0.13,
num: 1,
haveOne: false
},
{
name: "花冠",
probability: 0.13,
num: 1,
haveOne: false
},
{
name: "兽牙",
probability: 0.13,
num: 1,
haveOne: false
},
{
name: "术士戒指",
probability: 0.0080,
num: 1,
haveOne: false
},
{
name: "战士指环",
probability: 0.0080,
num: 1,
haveOne: false
},
{
name: "白珍珠",
probability: 0.12,
num: 1,
haveOne: false
},
{
name: "黑珍珠",
probability: 0.12,
num: 1,
haveOne: false
},
{
name: "魔法师戒指",
probability: 0.0080,
num: 1,
haveOne: false
},
{
name: "十字军指环",
probability: 0.0080,
num: 1,
haveOne: false
},
{
name: "红晶胸针",
probability: 0.0080,
num: 1,
haveOne: false
},
{
name: "蓝晶胸针",
probability: 0.0080,
num: 1,
haveOne: false
},
{
name: "炙热手镯",
probability: 0.0080,
num: 1,
haveOne: false
},
{
name: "寒冰手镯",
probability: 0.0080,
num: 1,
haveOne: false
},
{
name: "天堂护符",
probability: 0.0240,
num: 1,
haveOne: false
},
{
name: "深渊护符",
probability: 0.0240,
num: 1,
haveOne: false
},
{
name: "天堂之翼",
probability: 0.0080,
num: 1,
haveOne: false
},
{
name: "深渊之翼",
probability: 0.0080,
num: 1,
haveOne: false
},
{
name: "启示之眼",
probability: 0.0160,
num: 1,
haveOne: false
},
]
}
]
/**
* 抽奖机
*/
var lotteryMachinejackpotConfig = [
//白色礼品珠
{
//出现概率
probability: 0.05,
//奖池
jackpot: [
{
//奖品名称
name: "黑蝌蚪",
//出现概率
probability: 0.5618,
//数量
num: 316,
//是否只能获取一次
haveOne: false
},
{
name: "石材",
probability: 0.0562,
num: 100,
haveOne: false
},
{
name: "木材",
probability: 0.0562,
num: 100,
haveOne: false
},
{
name: "克隆加速",
probability: 0.0702,
num: 10,
haveOne: false
},
{
name: "供奉加速",
probability: 0.0702,
num: 10,
haveOne: false
},
{
name: "研究加速",
probability: 0.0702,
num: 10,
haveOne: false
},
{
name: "提炼加速",
probability: 0.0702,
num: 10,
haveOne: false
},
{
name: "花冠(装备)",
probability: 0.0112,
num: 1,
haveOne: false
},
{
name: "木戒指(装备)",
probability: 0.0112,
num: 1,
haveOne: false
},
{
name: "铁戒指(装备)",
probability: 0.0112,
num: 1,
haveOne: false
},
{
name: "兽牙(装备)",
probability: 0.0112,
num: 1,
haveOne: false
},
]
}
,
//绿色礼品珠
{
//出现概率
probability: 0.4,
//奖池
jackpot: [
{
//奖品名称
name: "绿色炼金试剂",
//出现概率
probability: 0.1529,
//数量
num: 10,
//是否只能获取一次
haveOne: false
},
{
name: "天使细胞",
probability: 0.0255,
num: 500,
haveOne: false
},
{
name: "恶魔细胞",
probability: 0.0255,
num: 500,
haveOne: false
},
{
name: "异种细胞",
probability: 0.0255,
num: 500,
haveOne: false
},
{
name: "机械细胞",
probability: 0.0255,
num: 500,
haveOne: false
},
{
name: "活尸细胞",
probability: 0.0255,
num: 500,
haveOne: false
},
{
name: "粘合剂",
probability: 0.0191,
num: 10,
haveOne: false
},
{
name: "器官黏液",
probability: 0.0127,
num: 5,
haveOne: false
},
{
name: "黑蝌蚪",
probability: 0.3822,
num: 790,
haveOne: false
},
{
name: "石材",
probability: 0.0318,
num: 200,
haveOne: false
},
{
name: "木材",
probability: 0.0318,
num: 200,
haveOne: false
},
{
name: "克隆加速",
probability: 0.0191,
num: 20,
haveOne: false
},
{
name: "供奉加速",
probability: 0.0573,
num: 20,
haveOne: false
},
{
name: "研究加速",
probability: 0.0573,
num: 20,
haveOne: false
},
{
name: "提炼加速",
probability: 0.0573,
num: 20,
haveOne: false
},
{
name: "白珍珠(装备)",
probability: 0.0075,
num: 1,
haveOne: false
},
{
name: "黑珍珠(装备)",
probability: 0.0075,
num: 1,
haveOne: false
},
{
name: "术士戒指(装备)",
probability: 0.0067,
num: 1,
haveOne: false
},
{
name: "战士指环(装备)",
probability: 0.0067,
num: 1,
haveOne: false
},
{
name: "矮人面罩(限定装备)",
probability: 0.0075,
num: 1,
haveOne: true
},
{
name: "岩石(限定装备)",
probability: 0.0075,
num: 1,
haveOne: true
},
{
name: "救生圈(限定装备)",
probability: 0.0075,
num: 1,
haveOne: true
},
]
},
//蓝色礼品珠
{
//出现概率
probability: 0.35,
//奖池
jackpot: [
{
//奖品名称
name: "学徒手礼",
//出现概率
probability: 0.2857,
//数量
num: 4,
//是否只能获取一次
haveOne: false
},
{
name: "蓝色炼金试剂",
probability: 0.0952,
num: 10,
haveOne: false
},
{
name: "天使细胞",
probability: 0.0159,
num: 1000,
haveOne: false
},
{
name: "恶魔细胞",
probability: 0.0159,
num: 1000,
haveOne: false
},
{
name: "异种细胞",
probability: 0.0159,
num: 1000,
haveOne: false
},
{
name: "机械细胞",
probability: 0.0159,
num: 1000,
haveOne: false
},
{
name: "活尸细胞",
probability: 0.0159,
num: 1000,
haveOne: false
},
{
name: "粘合剂",
probability: 0.0119,
num: 20,
haveOne: false
},
{
name: "器官黏液",
probability: 0.0079,
num: 10,
haveOne: false
},
{
name: "黑蝌蚪",
probability: 0.1984,
num: 1580,
haveOne: false
},
{
name: "石材",
probability: 0.0198,
num: 500,
haveOne: false
},
{
name: "木材",
probability: 0.0198,
num: 500,
haveOne: false
},
{
name: "探索加速",
probability: 0.0317,
num: 20,
haveOne: false
},
{
name: "克隆加速",
probability: 0.0099,
num: 40,
haveOne: false
},
{
name: "供奉加速",
probability: 0.0298,
num: 40,
haveOne: false
},
{
name: "研究加速",
probability: 0.0298,
num: 40,
haveOne: false
},
{
name: "提炼加速",
probability: 0.0298,
num: 40,
haveOne: false
},
{
name: "魔法师戒指(装备)",
probability: 0.0057,
num: 1,
haveOne: false
},
{
name: "十字军戒指(装备)",
probability: 0.0057,
num: 1,
haveOne: false
},
{
name: "红晶胸针(装备)",
probability: 0.0071,
num: 1,
haveOne: false
},
{
name: "蓝晶胸针(装备)",
probability: 0.0071,
num: 1,
haveOne: false
},
{
name: "Mark 2(限定装备)",
probability: 0.0071,
num: 1,
haveOne: true
},
{
name: "运动背心(限定装备)",
probability: 0.0071,
num: 1,
haveOne: true
},
{
name: "火蛞蝓之眼(器官)",
probability: 0.0119,
num: 1,
haveOne: false
},
{
name: "火蜥蜴之尾(器官)",
probability: 0.0119,
num: 1,
haveOne: false
},
{
name: "蓝贵B级别碎片",
probability: 0.0540,
num: 10,
haveOne: false
},
{
name: "蓝贵BB级别碎片",
probability: 0.0175,
num: 10,
haveOne: false
},
{
name: "蓝贵BBB级别碎片",
probability: 0.0156,
num: 10,
haveOne: false
},
]
},
//紫色礼品珠
{
//出现概率
probability: 0.17,
//奖池
jackpot: [
{
//奖品名称
name: "专家手札",
//出现概率
probability: 0.3422,
//数量
num: 9,
//是否只能获取一次
haveOne: false
},
{
name: "紫色炼金试剂",
probability: 0.0684,
num: 20,
haveOne: false
},
{
name: "天使细胞",
probability: 0.0152,
num: 4000,
haveOne: false
},
{
name: "恶魔细胞",
probability: 0.0152,
num: 4000,
haveOne: false
},
{
name: "异种细胞",
probability: 0.0152,
num: 4000,
haveOne: false
},
{
name: "机械细胞",
probability: 0.0152,
num: 4000,
haveOne: false
},
{
name: "活尸细胞",
probability: 0.0152,
num: 4000,
haveOne: false
},
{
name: "粘合剂",
probability: 0.0114,
num: 40,
haveOne: false
},
{
name: "器官粘液",
probability: 0.0076,
num: 30,
haveOne: false
},
{
name: "黑蝌蚪",
probability: 0.1901,
num: 6320,
haveOne: false
},
{
name: "石材",
probability: 0.0190,
num: 2000,
haveOne: false
},
{
name: "木材",
probability: 0.0190,
num: 4000,
haveOne: false
},
{
name: "探索加速",
probability: 0.0304,
num: 60,
haveOne: false
},
{
name: "克隆加速",
probability: 0.0095,
num: 120,
haveOne: false
},
{
name: "供奉加速",
probability: 0.0285,
num: 120,
haveOne: false
},
{
name: "研究加速",
probability: 0.0285,
num: 120,
haveOne: false
},
{
name: "提炼加速",
probability: 0.0285,
num: 120,
haveOne: false
},
{
name: "炙热手镯(装备)",
probability: 0.0010,
num: 1,
haveOne: false
},
{
name: "寒冰手镯(装备)",
probability: 0.0010,
num: 1,
haveOne: false
},
{
name: "天堂护符(装备)",
probability: 0.0052,
num: 1,
haveOne: false
},
{
name: "深渊护符(装备)",
probability: 0.0052,
num: 1,
haveOne: false
},
{
name: "发条长剑(限定装备)",
probability: 0.0052,
num: 1,
haveOne: true
},
{
name: "特斯拉(限定装备)",
probability: 0.0052,
num: 1,
haveOne: true
},
{
name: "虹吸式口器(器官))",
probability: 0.0114,
num: 1,
haveOne: false
},
{
name: "紫贵A级别碎片",
probability: 0.0660,
num: 20,
haveOne: false
},
{
name: "紫贵AA级别碎片",
probability: 0.0208,
num: 20,
haveOne: false
},
{
name: "紫贵AAA级别碎片",
probability: 0.0177,
num: 20,
haveOne: false
},
]
},
//橙色礼品珠
{
//出现概率
probability: 0.03,
//奖池
jackpot: [
{
//奖品名称
name: "白蝌蚪",
//出现概率
probability: 0.0085,
//数量
num: 3000,
//是否只能获取一次
haveOne: false
},
{
name: "龙珠",
probability: 0.0424,
num: 1,
haveOne: false
},
{
name: "栴檀",
probability: 0.0297,
num: 1,
haveOne: false
},
{
name: "大师手札",
probability: 0.3390,
num: 14,
haveOne: false
},
{
name: "橙色炼金试剂",
probability: 0.0424,
num: 30,
haveOne: false
},
{
name: "黑蝌蚪",
probability: 0.0720,
num: 37920,
haveOne: false
},
{
name: "探索加速",
probability: 0.0424,
num: 240,
haveOne: false
},
{
name: "克隆加速",
probability: 0.0076,
num: 480,
haveOne: false
},
{
name: "供奉加速",
probability: 0.0229,
num: 480,
haveOne: false
},
{
name: "研究加速",
probability: 0.0229,
num: 480,
haveOne: false
},
{
name: "提炼加速",
probability: 0.0229,
num: 480,
haveOne: false
},
{
name: "天堂之翼(装备)",
probability: 0.0062,
num: 1,
haveOne: false
},
{
name: "深渊之翼(装备)",
probability: 0.0062,
num: 1,
haveOne: false
},
{
name: "启示之眼(装备)",
probability: 0.0156,
num: 1,
haveOne: false
},
{
name: "阿撒兹勒诅咒(限定装备)",
probability: 0.0156,
num: 1,
haveOne: true
},
{
name: "电气锤(限定装备)",
probability: 0.0156,
num: 1,
haveOne: true
},
{
name: "太阳神心脏(器官)",
probability: 0.0127,
num: 1,
haveOne: false
},
{
name: "橙贵S级别碎片",
probability: 0.1620,
num: 40,
haveOne: false
},
{
name: "橙贵SS级别碎片",
probability: 0.0804,
num: 40,
haveOne: false
},
{
name: "橙贵SSS 天方夜谭 碎片",
probability: 0.0009,
num: 40,
haveOne: false
},
{
name: "橙贵SSS 不列颠百科全书 碎片",
probability: 0.0009,
num: 40,
haveOne: false
},
{
name: "橙贵SSS 物种起源 碎片",
probability: 0.0009,
num: 40,
haveOne: false
},
{
name: "橙贵SSS 司母戊鼎 碎片",
probability: 0.0009,
num: 40,
haveOne: false
},
{
name: "橙贵SSS 麦哲伦的望远镜 碎片",
probability: 0.0009,
num: 40,
haveOne: false
},
{
name: "橙贵SSS 盖亚之手 碎片",
probability: 0.0009,
num: 40,
haveOne: false
},
{
name: "橙贵SSS 海姆达尔 碎片",
probability: 0.0009,
num: 40,
haveOne: false
},
{
name: "橙贵SSS 阿基米德的杠杆 碎片",
probability: 0.0009,
num: 40,
haveOne: false
},
{
name: "橙贵SSS 诸神的黄昏 碎片",
probability: 0.0009,
num: 40,
haveOne: false
},
{
name: "橙贵SSS 奥斯帕克能量魔方 碎片",
probability: 0.0009,
num: 40,
haveOne: false
},
{
name: "橙贵SSS 旅行者1号 碎片",
probability: 0.0009,
num: 40,
haveOne: false
},
{
name: "橙贵SSS 愿望杯 碎片",
probability: 0.0009,
num: 40,
haveOne: false
},
{
name: "橙贵SSS 非洲之星 碎片",
probability: 0.0009,
num: 40,
haveOne: false
},
{
name: "橙贵SSS 粒子对撞机 碎片",
probability: 0.0009,
num: 40,
haveOne: false
},
{
name: "橙贵SSS 达芬奇手稿 碎片",
probability: 0.0009,
num: 40,
haveOne: false
},
{
name: "橙贵SSS 浮士德 碎片",
probability: 0.0009,
num: 40,
haveOne: false
},
{
name: "橙贵SSS 神曲 碎片",
probability: 0.0009,
num: 40,
haveOne: false
},
{
name: "橙贵SSS 赫尔墨斯里拉琴 碎片",
probability: 0.0009,
num: 40,
haveOne: false
},
{
name: "橙贵SSS 玛雅预言石板 碎片",
probability: 0.0009,
num: 40,
haveOne: false
},
{
name: "橙贵SSS 人造黑洞 碎片",
probability: 0.0009,
num: 40,
haveOne: false
},
{
name: "橙贵SSS 超级双螺旋模型 碎片",
probability: 0.0009,
num: 40,
haveOne: false
},
{
name: "橙贵SSS 相对论手稿 碎片",
probability: 0.0009,
num: 40,
haveOne: false
},
{
name: "橙贵SSS 战争论 碎片",
probability: 0.0009,
num: 40,
haveOne: false
},
{
name: "橙贵SSS 黄金麦穗 碎片",
probability: 0.0009,
num: 40,
haveOne: false
},
{
name: "橙贵SSS 凤凰的羽毛 碎片",
probability: 0.0009,
num: 40,
haveOne: false
},
{
name: "橙贵SSS 小男孩 碎片",
probability: 0.0009,
num: 40,
haveOne: false
},
{
name: "橙贵SSS 孙子兵法 碎片",
probability: 0.0009,
num: 40,
haveOne: false
},
{
name: "橙贵SSS 灵魂容器 碎片",
probability: 0.0009,
num: 40,
haveOne: false
},
{
name: "橙贵SSS 赫拉的孔雀羽扇 碎片",
probability: 0.0009,
num: 40,
haveOne: false
},
{
name: "橙贵SSS 国会荣誉勋章 碎片",
probability: 0.0009,
num: 40,
haveOne: false
},
{
name: "橙贵SSS 西斯廷圣母 碎片",
probability: 0.0009,
num: 40,
haveOne: false
},
{
name: "橙贵SSS 雅典娜女神像 碎片",
probability: 0.0009,
num: 40,
haveOne: false
},
{
name: "橙贵SSS 筋斗云 碎片",
probability: 0.0009,
num: 40,
haveOne: false
},
{
name: "橙贵SSS 论语 碎片",
probability: 0.0009,
num: 40,
haveOne: false
},
{
name: "橙贵SSS 普罗米修斯火炬 碎片",
probability: 0.0009,
num: 40,
haveOne: false
},
{
name: "橙贵SSS 素三彩达摩坐像 碎片",
probability: 0.0009,
num: 40,
haveOne: false
},
]
}
];
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/Beansp/Jackpot.git
git@gitee.com:Beansp/Jackpot.git
Beansp
Jackpot
最强蜗牛抽奖模拟器框架
master

搜索帮助