请登录
玩家共建非官方战双WIKI,做最还原游戏内UI体验的WIKI!    
战双WIKI反馈留言板 · WIKI编辑教程 · BWIKI收藏到桌面的方法说明

全站通知:

Widget:抽卡模拟

来自战双帕弥什WIKI_BWIKI_哔哩哔哩
跳到导航 跳到搜索

<script> /**

* 标注:
* B: B级泛用机体
* A: A级泛用机体
* S: S级泛用机体
* T: S级独域机体(授格者)
* weaponX: X星武器(X范围为3,4,5,6)
* memories4: 卡池中能抽出的4星意识
* expPods:经验仓
* overClock: 突破材料
* cogs: 螺母包
* suS: supportUnitS, S级支援单位(S辅助机)
* suA: supportUnitA, A级支援单位(A辅助机)
* suoverClock: 辅助机突破材料
* suExp: 辅助机经验材料
* suSkillPoint: 辅助机技能点
* 
* 字段解析(对象无序性排列)
*  {
*      name: '名字',
*      mainIcon: '主要icon的url地址(角色头像,武器,辅助机头像,道具)',
*      shardsIcon: '碎片icon的url地址(角色碎片,辅助机碎片)',
*      image: '角色立绘url地址'
*  }
*/

let B = [ { name: '露西亚·红莲', shardsIcon: 'https://patchwiki.biligame.com/images/zspms/1/11/hotp0c0hvyocu39mccwnf84mfm3di77.png', mainIcon: 'https://patchwiki.biligame.com/images/zspms/9/9f/lh9i4ekp7ez5ltubp7bxyhwaqumlpke.png', }, { name: '丽芙·蚀暗', shardsIcon: 'https://patchwiki.biligame.com/images/zspms/e/ed/2mcsu1ui45x2drmkffm2lhpn6srdpvp.png', mainIcon: 'https://patchwiki.biligame.com/images/zspms/c/ca/heyo5t18wfq1jytggg0ql4qiavlyv3f.png', }, { name: '七实·风暴', shardsIcon: 'https://patchwiki.biligame.com/images/zspms/7/7c/g6q91zotf2xf8x2qhsdnaat6mshs5kv.png', mainIcon: 'https://patchwiki.biligame.com/images/zspms/b/ba/kx77p90sirpum5om1hak6dyy3rqpj8q.png', }, ];

let A = [ { name: '布丽姬特·耀炎', shardsIcon: 'https://patchwiki.biligame.com/images/zspms/d/db/bq6d1e8u8gkhn657zipcdlfhvwxky0c.png', image: 'https://patchwiki.biligame.com/images/zspms/d/dd/enhovhfa5qaayk1s23avfp76cejybof.png', mainIcon: 'https://patchwiki.biligame.com/images/zspms/5/51/50mb87dl31kmr9iv1in7w7hlfomu8vu.png', }, { name: '布偶熊·觅语', shardsIcon: 'https://patchwiki.biligame.com/images/zspms/6/60/70il11dc17mc76u9ve6s0avf376zuee.png', image: 'https://patchwiki.biligame.com/images/zspms/b/b8/edcwkmoctg2xwnoqps6b2c1y8pkiwmb.png', mainIcon: 'https://patchwiki.biligame.com/images/zspms/8/84/1z3chlqzfdbqfeflejcq7asaoltod7w.png', }, { name: '诺克提·擎驱', shardsIcon: 'https://patchwiki.biligame.com/images/zspms/0/01/k5r0b99a3j5h6h24kv5jotw7zsmmq8z.png', image: 'https://patchwiki.biligame.com/images/zspms/f/ff/tri9iearf3wf5qr1hew70rxfbkienvm.png', mainIcon: 'https://patchwiki.biligame.com/images/zspms/0/09/28axsoret6waqugnygee8vswdc3lzg0.png', }, { name: '含英·清商', shardsIcon: 'https://patchwiki.biligame.com/images/zspms/e/e9/51zj0e41j1jhtzkogektk4y77xlviu3.png', image: 'https://patchwiki.biligame.com/images/zspms/8/8b/njaqnac9jvyuxdu198vdm9ljis2ytun.png', mainIcon: 'https://patchwiki.biligame.com/images/zspms/b/bb/j3id8wg6pldu1zx3exyvxv8x32pfpvn.png', }, { name: '邦比娜塔·琉璃', shardsIcon: 'https://patchwiki.biligame.com/images/zspms/0/01/m20pagdr03nhf233gvl7akeej1o3csc.png', image: 'https://patchwiki.biligame.com/images/zspms/4/4c/fs6m7pqrt1kkn92qlr42jvxn67c6gv2.png', mainIcon: 'https://patchwiki.biligame.com/images/zspms/e/e4/bqquztx00ymo2cfpabazq7uyneuajd7.png', }, { name: '21号·XXI', shardsIcon: 'https://patchwiki.biligame.com/images/zspms/b/b1/7tzf70dcjh4q79d8xxncapa8q8z58q4.png', image: , mainIcon: 'https://patchwiki.biligame.com/images/zspms/b/b0/r1ljjlg16vo2ad72fvad1u8iu37ogro.png', }, { name: '万事·明觉', shardsIcon: 'https://patchwiki.biligame.com/images/zspms/9/96/ov488tyf2i7ts7ttalk91rpinjr4qrp.png', image: , mainIcon: 'https://patchwiki.biligame.com/images/zspms/c/c5/9h59awuf1culvrcub6yfu0x48qbr53b.png', }, { name: '常羽·游麟', shardsIcon: 'https://patchwiki.biligame.com/images/zspms/b/bb/q0hyubwzjbkt5jgsdt8yjit06zi8mj8.png', image: , mainIcon: 'https://patchwiki.biligame.com/images/zspms/c/c6/orw12kssk65enusnylsh7nbnjcm5wsc.png', }, { name: '薇拉·瑰丽', shardsIcon: 'https://patchwiki.biligame.com/images/zspms/5/53/rfb3ge8r4w0uerez2mwh2d9qhwu6tow.png', image: , mainIcon: 'https://patchwiki.biligame.com/images/zspms/2/24/dokpgapkybcvew3u18o9y2dvgndupd9.png', }, { name: '库洛姆·弧光', shardsIcon: 'https://patchwiki.biligame.com/images/zspms/2/22/e4b7juwxmhe7l9aqahstmuf6ktbfdrb.png', image: , mainIcon: 'https://patchwiki.biligame.com/images/zspms/d/d1/exa1z29unvutb8enmp3tsv4bsfnr9wu.png', }, { name: '苏菲亚·银牙', shardsIcon: 'https://patchwiki.biligame.com/images/zspms/8/85/ab2bzhwnh4wnoymehoigfrbi4vubqdn.png', image: , mainIcon: 'https://patchwiki.biligame.com/images/zspms/e/ee/b68wvf3yb20sip9bks2iryg2ss302sv.png', }, { name: '艾拉·溢彩', shardsIcon: 'https://patchwiki.biligame.com/images/zspms/3/30/5o6cnnagt52q3t2s4bmfnbp6ok29x42.png', image: , mainIcon: 'https://patchwiki.biligame.com/images/zspms/7/7e/fp3uc5uer0quuecg48jv81kpzqcdt8e.png', }, { name: '渡边·夙星', shardsIcon: 'https://patchwiki.biligame.com/images/zspms/f/f0/09j1at0kvvqd14z9fx89ppe58h6f1tq.png', image: , mainIcon: 'https://patchwiki.biligame.com/images/zspms/c/c2/570ho1ydg4nf7542at0refdrnila2bc.png', }, { name: '渡边·夜刃', shardsIcon: 'https://patchwiki.biligame.com/images/zspms/a/a7/tgbqy4vrabj7p0c4hzhy13yzjcsi0z5.png', image: , mainIcon: 'https://patchwiki.biligame.com/images/zspms/c/cd/h50g3wl18bqc0uz7ym9vlfnohorbu6t.png', }, { name: '卡列尼娜·爆裂', shardsIcon: 'https://patchwiki.biligame.com/images/zspms/f/f1/5e86laasinofdrabkkabgbkb43qfst2.png', image: , mainIcon: 'https://patchwiki.biligame.com/images/zspms/a/a2/8aemk3ff6eh05a72nri5tjgapt3k6he.png', }, { name: '神威·重能', shardsIcon: 'https://patchwiki.biligame.com/images/zspms/1/16/0zgnj52e3dwhwadn8gt1ntb10yehkxp.png', image: , mainIcon: 'https://patchwiki.biligame.com/images/zspms/1/16/d6jwcnhi8u40tr70y0mchdns33y0axm.png', }, { name: '比安卡·零度', shardsIcon: 'https://patchwiki.biligame.com/images/zspms/9/9f/ji9zcg4ut2l6hsopdfv9gm9iifk0p2r.png', image: , mainIcon: 'https://patchwiki.biligame.com/images/zspms/1/18/34td58e7qx5sx1z2davs9eldic3rrv6.png', }, { name: '丽芙·流光', shardsIcon: 'https://patchwiki.biligame.com/images/zspms/9/91/aedexd86dvh15xue7dlvz3rksnww7w0.png', image: , mainIcon: 'https://patchwiki.biligame.com/images/zspms/c/c3/hy5poscq2v8zy5lj2pqcbg959o06g5r.png', }, { name: '露西亚·黎明', shardsIcon: 'https://patchwiki.biligame.com/images/zspms/1/1b/qznqjhi5vpmdujfbmghpzu1e1wqx7vr.png', image: , mainIcon: 'https://patchwiki.biligame.com/images/zspms/2/23/8dcgya69mhdokpw98jmed25sptfqw6a.png', }, { name: '里·异火', shardsIcon: 'https://patchwiki.biligame.com/images/zspms/4/43/bg8wp6p5bvza5slnrjtep3xyc8yypfo.png', image: , mainIcon: 'https://patchwiki.biligame.com/images/zspms/9/9d/8bz0fhzo89thf6xmn2klb8orqxthnm8.png', }, ];

let S = [ { name: '含英·檀心', shardsIcon: 'https://patchwiki.biligame.com/images/zspms/0/0f/bzte85h5yov9n3gi74eughcvii9swh4.png', mainIcon: 'https://patchwiki.biligame.com/images/zspms/a/ac/d1p8y00cuwohew6sjph22nby84rvpt8.png', image: 'https://patchwiki.biligame.com/images/zspms/d/d0/9e9fpg3ttxzulzzith3ap9bc39h4zxj.png', }, { name: '露娜·终焉', shardsIcon: 'https://patchwiki.biligame.com/images/zspms/e/e4/nttu6n2uwsgwgjwxwhbc9re5utbf0ya.png', mainIcon: 'https://patchwiki.biligame.com/images/zspms/a/a8/95jmsi0pxv0ripahvnpj6mghdtvmlio.png', image: 'https://patchwiki.biligame.com/images/zspms/9/9a/35xgurnnsqg4pqsywqb3hspdwghkbbn.png', }, { name: '曲·启明', shardsIcon: 'https://patchwiki.biligame.com/images/zspms/9/95/0bo28dmmtarsh2l27gru5h7sq1mn086.png', mainIcon: 'https://patchwiki.biligame.com/images/zspms/6/6a/lvm7oxatolt1hlo1bmm861c2erwfhke.png', image: 'https://patchwiki.biligame.com/images/zspms/3/3f/3ku0o2fevgc17tk9m1yay57iylbmvz3.png', }, { name: '渡边·尘铭', shardsIcon: 'https://patchwiki.biligame.com/images/zspms/e/ed/80hqzeb3c0p6569hdzrcz5xwfcmxdnj.png', mainIcon: 'https://patchwiki.biligame.com/images/zspms/9/9b/1qyfjofj616r6qox3mtax34c5c1ljc5.png', image: 'https://patchwiki.biligame.com/images/zspms/d/d5/1o7svbm52imlh1salij2xop9gng746f.png', }, { name: '拉弥亚·深谣', shardsIcon: 'https://patchwiki.biligame.com/images/zspms/a/a0/8aael5iytq1hx97hcsk9kekfojuhdmv.png', mainIcon: 'https://patchwiki.biligame.com/images/zspms/d/dd/s2aktdfgidvzicrtz3ney4sq1tcjqfd.png', image: 'https://patchwiki.biligame.com/images/zspms/d/d8/fxgz5yb786089zw1zwlij0bmp6j5ubf.png', }, { name: '亚里莎·回音', shardsIcon: 'https://patchwiki.biligame.com/images/zspms/8/8a/3t3xgvmh7s7d688aods46gvafygfr10.png', mainIcon: 'https://patchwiki.biligame.com/images/zspms/8/83/rvjv6hup9r4hagl8eu40vvn8c5xz2sb.png', image: 'https://patchwiki.biligame.com/images/zspms/b/be/qh4rocldepyacqewwdd8nftqp60x0iu.png', }, { name: '21号·森息', shardsIcon: 'https://patchwiki.biligame.com/images/zspms/f/fd/14xuwmo9utcqggmm0sc6o3gwbkdd5wj.png', mainIcon: 'https://patchwiki.biligame.com/images/zspms/7/7e/5p7ccr6eweoit1gdbbgw7kvc1zoxulm.png', image: 'https://patchwiki.biligame.com/images/zspms/2/24/6zg3wfptjchxqxcolqzmxl6lf9t2tfh.png', }, { name: '露西亚·深红囚影', shardsIcon: 'https://patchwiki.biligame.com/images/zspms/d/d3/38ep366i2qb8qg43z555ocvoa4udaq8.png', mainIcon: 'https://patchwiki.biligame.com/images/zspms/a/ae/li5jxeg51dwevdx27fgtryaouoqum11.png', image: 'https://patchwiki.biligame.com/images/zspms/2/24/tdeu0c385chzz8cbk1sk65yfcyjyg2j.png', }, { name: '艾拉·万华', shardsIcon: 'https://patchwiki.biligame.com/images/zspms/7/71/hm2r2tjrp84mo7g8a31ol8n5zlxo3ll.png', mainIcon: 'https://patchwiki.biligame.com/images/zspms/7/71/hsdfy8ndd01t1kmxvvem65hd5buwcwm.png', image: 'https://patchwiki.biligame.com/images/zspms/9/96/i98clfq43j1mqeqfam9ym69ynihtavz.png', }, { name: '里·超刻', shardsIcon: 'https://patchwiki.biligame.com/images/zspms/0/0c/9zwge4w64lgawpl0h8p4gx2omq1v371.png', mainIcon: 'https://patchwiki.biligame.com/images/zspms/d/dc/hfzo99sfs0t3gakdru2kc572gomikwz.png', image: 'https://patchwiki.biligame.com/images/zspms/5/5c/9tylsils04vqtfoir4g6z9job5i2jrn.png', }, { name: '比安卡·深痕', shardsIcon: 'https://patchwiki.biligame.com/images/zspms/5/52/qh0evbuqamwpubot6bi3j9zqvdlanhe.png', mainIcon: 'https://patchwiki.biligame.com/images/zspms/4/48/97crn7ktsbu36qr31lpgn3pjr7zquar.png', }, { name: '卡列琳娜·辉晓', shardsIcon: 'https://patchwiki.biligame.com/images/zspms/a/ae/pvv0w6v3ph1gumaoc3a734oxuejpsh1.png', mainIcon: 'https://patchwiki.biligame.com/images/zspms/1/15/drkt0a43gq4wa6dqnfpdr7bs4qty5k9.png', }, { name: '七实·遥星之座', shardsIcon: 'https://patchwiki.biligame.com/images/zspms/3/3f/bpk7f68ybq3is8m3wc8ip91fobktsek.png', mainIcon: 'https://patchwiki.biligame.com/images/zspms/c/cb/j8pg7fpd203wd85ip85elzz1o0h681a.png', }, { name: '赛琳娜·幻奏', shardsIcon: 'https://patchwiki.biligame.com/images/zspms/4/44/gavr4amwtgz4ycwyqa1zwsakyvxavpp.png', mainIcon: 'https://patchwiki.biligame.com/images/zspms/8/83/k41gl0lpxoezn4kitlwqwg8u0iuc53v.png', }, { name: '丽芙·极昼', shardsIcon: 'https://patchwiki.biligame.com/images/zspms/8/88/ldfhem3ww1n2gm3nezmag4m9lrn2dyc.png', mainIcon: 'https://patchwiki.biligame.com/images/zspms/7/72/4z49ed8i89urch52j4ss6fyr9sx9h5w.png', }, { name: '薇拉·绯耀', shardsIcon: 'https://patchwiki.biligame.com/images/zspms/a/a5/rtemypzpshradz90i8akuwu4wad2ra4.png', mainIcon: 'https://patchwiki.biligame.com/images/zspms/7/7a/bxl0rn337txo0aymmrgav68id2p9g9e.png', }, { name: '库洛姆·荣光', shardsIcon: 'https://patchwiki.biligame.com/images/zspms/b/b4/q5d0n0ms7sr74mame9f9sm7gyase5jc.png', mainIcon: 'https://patchwiki.biligame.com/images/zspms/c/ca/34tyficw2qzgivgk2vivbsf1wnz4ttj.png', }, { name: '露娜·银冕', shardsIcon: 'https://patchwiki.biligame.com/images/zspms/3/3e/i24k27luvgrve23x2rgt0krut57rtxx.png', mainIcon: 'https://patchwiki.biligame.com/images/zspms/9/95/h8pr0zialv4uri4sk0q9spt1kjq0feh.png', }, { name: '罗塞塔·凛冽', shardsIcon: 'https://patchwiki.biligame.com/images/zspms/3/3f/bhcpqlv9lu9j0xnt77kk61rz0lqokrn.png', mainIcon: 'https://patchwiki.biligame.com/images/zspms/f/f9/axfp4oqoe0um33q79x4ghkcoaalyv5c.png', }, { name: '露西亚·鸦羽', shardsIcon: 'https://patchwiki.biligame.com/images/zspms/d/db/rtlof61cc572egruh3leq2ot7bnbkq1.png', mainIcon: 'https://patchwiki.biligame.com/images/zspms/e/e3/o9vtwyg19jcc91wkm1i26dfhyuvclir.png', }, { name: '比安卡·真理', shardsIcon: 'https://patchwiki.biligame.com/images/zspms/6/65/1xvq9i7bsakehq6ki1cz7twzycly7ze.png', mainIcon: 'https://patchwiki.biligame.com/images/zspms/1/11/3r75vuwwd5fnymp0lolkuuwy7k7jtt8.png', }, { name: '露西亚·深红之渊', shardsIcon: 'https://patchwiki.biligame.com/images/zspms/7/77/2ec9t05p82lw2ivcidx3rmw0d55dk5b.png', mainIcon: 'https://patchwiki.biligame.com/images/zspms/2/2b/rjkxp5wjn58oflup8j7ds3kclazll2w.png', }, { name: '七实·脉冲', shardsIcon: 'https://patchwiki.biligame.com/images/zspms/3/34/gb60xem4684d4q2897lh06dhfobwrn6.png', mainIcon: 'https://patchwiki.biligame.com/images/zspms/f/fe/kddo16zsync2220ynhvtfdx19mvkegj.png', }, { name: '卡列尼娜·烬燃', shardsIcon: 'https://patchwiki.biligame.com/images/zspms/d/df/dbv5eq313845g1qcnm06w1v6r462mae.png', mainIcon: 'https://patchwiki.biligame.com/images/zspms/1/1c/deeol4o9fm4h8m9tmb1d4hrlgf7fb6j.png', }, { name: '里·乱数', shardsIcon: 'https://patchwiki.biligame.com/images/zspms/1/1a/sruxwac76hl73r7blyia8v36iotqr43.png', mainIcon: 'https://patchwiki.biligame.com/images/zspms/6/64/g1id87lj900s0uabx7s2gr9b5oqlz0g.png', }, { name: '丽芙·仰光', shardsIcon: 'https://patchwiki.biligame.com/images/zspms/1/1e/san30dyyg9485ftp3irr1xsfmlh3co4.png', mainIcon: 'https://patchwiki.biligame.com/images/zspms/a/ac/a57y03yojvlpgcvqcczr6vbyx2zou52.png', }, { name: '神威·暗能', shardsIcon: 'https://patchwiki.biligame.com/images/zspms/f/f3/mf2vdj05yiywtz5hjp54o4wahbyzk8n.png', mainIcon: 'https://patchwiki.biligame.com/images/zspms/4/4a/1mpoub77464vn40p151lci9yg1dcvsa.png', }, ];

let T = [ { name: '诺安·逆旅', shardsIcon: 'https://patchwiki.biligame.com/images/zspms/9/93/0pcvgh26mbf6c9c0add7lpnp9f8u02k.png', mainIcon: 'https://patchwiki.biligame.com/images/zspms/7/7f/ab4ghw0arcgm1xzwm75skmr58vj4649.png', image: 'https://patchwiki.biligame.com/images/zspms/4/49/3ejldsk95yhcez9zg665djwpxeugjgs.png', }, { name: '哈卡玛·隐星', shardsIcon: 'https://patchwiki.biligame.com/images/zspms/f/f7/kb4r7mh2pmso9sgkwv0vr2jkwt6fntl.png', mainIcon: 'https://patchwiki.biligame.com/images/zspms/0/08/rhe7bp3o3gitakho3ydpchqw81ijgt3.png', image: 'https://patchwiki.biligame.com/images/zspms/d/d6/onpwl6ju24fivptp4kejy4cdn5ui372.png', }, { name: '蒲牢·华钟', shardsIcon: 'https://patchwiki.biligame.com/images/zspms/4/41/pm1rfs6hd6yhvcg43gmfh9t1wgxrhta.png', mainIcon: 'https://patchwiki.biligame.com/images/zspms/8/8a/17g17n5tz272nvy3wnjz3bjsx5o2j2u.png', image: 'https://patchwiki.biligame.com/images/zspms/4/48/ak2mkcr7laiurnlciycwi94c6kxunu9.png', }, { name: '罗兰·戏炎', shardsIcon: 'https://patchwiki.biligame.com/images/zspms/0/08/2euzwehxh139wn8kd5eqpyvkqtur004.png', mainIcon: 'https://patchwiki.biligame.com/images/zspms/4/49/tugi4px1dz1dsq49zi7w56dk8oea1jy.png', image: 'https://patchwiki.biligame.com/images/zspms/3/31/2olu0h5m25q105ujtl4a754wvlu5uxk.png', }, { name: '赛琳娜·岚音', shardsIcon: 'https://patchwiki.biligame.com/images/zspms/4/48/pxc0drdeo6q36aiifrox7s6dyrx4fqh.png', mainIcon: 'https://patchwiki.biligame.com/images/zspms/8/89/gxjybro5m7g7zw25vfh5aorwj4knlo4.png', image: 'https://patchwiki.biligame.com/images/zspms/f/ff/lrldm426d4yd5pr32hbys2d5id2p1q1.png', }, { name: '曲·雀翎', shardsIcon: 'https://patchwiki.biligame.com/images/zspms/5/50/o5n2xq49byvgi1vdoz39krjwi3jhsmv.png', mainIcon: 'https://patchwiki.biligame.com/images/zspms/d/df/97k4yt5rnyeyjsmc8ul4svepqoj5bxl.png', image: 'https://patchwiki.biligame.com/images/zspms/8/89/1tiemuc99erc4wxjwtkqywt7s4yhdg5.png', }, { name: '卡穆·狂犬', shardsIcon: 'https://patchwiki.biligame.com/images/zspms/4/48/itd1sv5350dsiguwylievw03n5jgaf2.png', mainIcon: 'https://patchwiki.biligame.com/images/zspms/e/ee/adpuv3u9rvdj3wuzl5a6oy3t5qhx4rs.png', image: 'https://patchwiki.biligame.com/images/zspms/a/a6/er2te1hjf62xofb1k0b8ooepra52ctl.png', }, ];

let weapon6 = [ // { name: '天狼星' }, { name: '鹏游蝶梦', mainIcon: 'https://patchwiki.biligame.com/images/zspms/0/00/mrujrh4oxi3h3vb846ylqk9613xvyex.png',}, { name: '铭钥阙影', mainIcon: 'https://patchwiki.biligame.com/images/zspms/8/88/t1viztiag6fv7sze312y0zaf8g08za4.png',}, { name: '暗夜猎隼', mainIcon: 'https://patchwiki.biligame.com/images/zspms/4/47/qlk6b5nbp4dc3kt1ciuu2d92602h83h.png', image:'https://patchwiki.biligame.com/images/zspms/6/68/fnzxlud6opvdxf6wz90cues49zssm75.png',}, { name: '异刃戟', mainIcon: 'https://patchwiki.biligame.com/images/zspms/c/cd/s5y16x1ywj245lkczgzikwkl251i86t.png', image:'https://patchwiki.biligame.com/images/zspms/4/4b/0ellb0rwonbpibh03g1meq39trl8nco.png',}, { name: '阿斯特莉亚', mainIcon: 'https://patchwiki.biligame.com/images/zspms/4/44/nhejioi29rpg73a2nzs6r9x7c43k0g8.png',}, { name: '赤红咆哮', mainIcon: 'https://patchwiki.biligame.com/images/zspms/7/75/or1i6zgzyaqo7ecx3t3tp8xasr32jiw.png',}, { name: '玛纳加尔姆', mainIcon: 'https://patchwiki.biligame.com/images/zspms/2/25/oo0qt13gq9cl2ez7ofyku6tcg3ctrk2.png',}, { name: '今古', mainIcon: 'https://patchwiki.biligame.com/images/zspms/4/46/chbxie60q41bp95zmwjg2h8c88mwz0j.png',}, { name: '夜煌', mainIcon: 'https://patchwiki.biligame.com/images/zspms/b/b0/2f7ouvpmporci9zk9i2i5k93zm2lj7y.png',}, { name: '星海漫游者', mainIcon: 'https://patchwiki.biligame.com/images/zspms/4/45/dbxqup9ky90mqsk35k02vv3anuwd0y4.png' }, { name: '时隧之钥-斯托克斯', mainIcon: 'https://patchwiki.biligame.com/images/zspms/a/a3/bfcbgcut29o0ntn4chvgam7mq42n6um.png' }, { name: '静谧人形之声', mainIcon: 'https://patchwiki.biligame.com/images/zspms/6/6b/04rui95buxqj2sfviuzh79i4eciw5v7.png' }, { name: '赫卡忒', mainIcon: 'https://patchwiki.biligame.com/images/zspms/d/d8/i6i6q8w7jxffqp100wntkl8hon20isw.png' }, { name: '普罗米修斯', mainIcon: 'https://patchwiki.biligame.com/images/zspms/e/e7/fa8swl8uo561u1oevh9horccbw3sjqm.png' }, { name: '暗寂闪光', mainIcon: 'https://patchwiki.biligame.com/images/zspms/8/87/n3gr08yy6zo52zo1x2f5q9sa8h5hx1m.png' }, { name: '伽拉忒亚', mainIcon: 'https://patchwiki.biligame.com/images/zspms/4/47/sgrpmocqczxf8u9gozf4ltlzkxq0dvd.png' }, { name: '聚爆', mainIcon: 'https://patchwiki.biligame.com/images/zspms/a/af/7dv74y1uizheprcp2txgwtbu3f956l1.png'}, { name: '无隅', mainIcon: 'https://patchwiki.biligame.com/images/zspms/1/1b/juytu617k2obuepilhitwyc3ekc7ddy.png' }, { name: '萨拉斯特罗', mainIcon: 'https://patchwiki.biligame.com/images/zspms/f/fc/cmzvnlu3a66nbnrpkgh3c5zartqxhkr.png' }, { name: '赫斯提亚', mainIcon: 'https://patchwiki.biligame.com/images/zspms/d/d1/j98v7cqjkwnqchefeqbn3l2uvp0jfl0.png' }, { name: '杜兰德尔', mainIcon: 'https://patchwiki.biligame.com/images/zspms/a/a1/a9hue4x14j6mfycns998wpgfqljnh0p.png' }, { name: '不死鸟', mainIcon: 'https://patchwiki.biligame.com/images/zspms/6/6c/l78bkuorx3iqyaxbm20tjvzdebo4znu.png' }, { name: '呼噜', mainIcon: 'https://patchwiki.biligame.com/images/zspms/6/6c/i4nfpbo7xtfrbdj5kiou4ck3behe1uc.png' }, { name: '阿波罗', mainIcon: 'https://patchwiki.biligame.com/images/zspms/d/d7/laggquipg0366e13ql6tbdkctjkmari.png' }, { name: '天平', mainIcon: 'https://patchwiki.biligame.com/images/zspms/c/c6/398zgmbjy1vs28glo1j6ve0ruc3bnf9.png' }, { name: '林中主人', mainIcon: 'https://patchwiki.biligame.com/images/zspms/9/92/ml9i8g2bla56b118yg5ryljwhj4xy0a.png' }, { name: '奥兹玛', mainIcon: 'https://patchwiki.biligame.com/images/zspms/f/fe/ncx1lzn9ftpi3o8m3ohjf4ekjj8ml61.png' }, { name: '八极', mainIcon: 'https://patchwiki.biligame.com/images/zspms/3/37/fb2qs33me7gss0u3xj45nbnqoky424x.png' }, { name: '青赫', mainIcon: 'https://patchwiki.biligame.com/images/zspms/f/fe/200lnmhfbbc7tgwi76hzur0mx67lat3.png' }, { name: '冈格尼尔', mainIcon: 'https://patchwiki.biligame.com/images/zspms/3/35/r5g1bh4ozygmg9asbyf0nh46ca3dqt1.png' }, { name: '沙利叶', mainIcon: 'https://patchwiki.biligame.com/images/zspms/1/18/02n788jpa86alffc8e3i6zq45tr9ync.png' }, { name: '塔纳托斯', mainIcon: 'https://patchwiki.biligame.com/images/zspms/a/aa/b2comrjmw1yob5incd3whbzvzig2bvr.png' }, { name: '朱桦', mainIcon: 'https://patchwiki.biligame.com/images/zspms/4/46/gzzwln1pzgohbehbfwlbdc1g8sh2svf.png' }, { name: '噬狼枪', mainIcon: 'https://patchwiki.biligame.com/images/zspms/2/20/jx5okwciraxo5us5v5qsdn7cslc5uqg.png' }, { name: '红莲狂士', mainIcon: 'https://patchwiki.biligame.com/images/zspms/c/ce/6g5ibxvb3g5ah3feyiqg7moulwwrui9.png' }, { name: '影打-逆断', mainIcon: 'https://patchwiki.biligame.com/images/zspms/5/5d/233npwx5oczwnbg23wh7ohv55cxtb03.png' }, { name: '零式', mainIcon: 'https://patchwiki.biligame.com/images/zspms/d/d2/qco7yftgireali40d1r5bq8uimh5jjo.png' }, { name: '神赐者', mainIcon: 'https://patchwiki.biligame.com/images/zspms/3/3a/ptm5cjqypmrotsvnlgsszg5bh7mldpf.png' }, { name: '天龙之风', mainIcon: 'https://patchwiki.biligame.com/images/zspms/b/b4/k9wm3k8vzyn65w5dpked0dlx6lq48xs.png' }, { name: '雷米尔', mainIcon: 'https://patchwiki.biligame.com/images/zspms/4/4b/pyvc71fduw3lyzfgsiy9kiwh5r5ygbl.png' }, { name: '奇美拉-逆断', mainIcon: 'https://patchwiki.biligame.com/images/zspms/a/aa/qzz4v7rpy6ldmfaes20elfgxshb8j53.png' }, { name: '大神威', mainIcon: 'https://patchwiki.biligame.com/images/zspms/7/70/11dna6817gggvirr8f1v3eyvj952whs.png' }, { name: '漆黑', mainIcon: 'https://patchwiki.biligame.com/images/zspms/a/ab/5o4g103zi43xkf3brjoru2djsr6odep.png' }, { name: '狂乱融合炮', mainIcon: 'https://patchwiki.biligame.com/images/zspms/e/e6/5115m2slyvntor5ykw8e6iehx01anbx.png' }, { name: '斩魂者', mainIcon: 'https://patchwiki.biligame.com/images/zspms/9/94/106lcnrbh4znypm12hvijg2qdu3h50c.png' }, { name: '零度定标', mainIcon: 'https://patchwiki.biligame.com/images/zspms/6/68/nmhi9o794aqfn3i28mxutrk13ajqw4u.png' }, { name: '核基红龙', mainIcon: 'https://patchwiki.biligame.com/images/zspms/7/7e/g6d8j63y683ssa3vxfe2i4rqqkjance.png' }, { name: '机韵', mainIcon: 'https://patchwiki.biligame.com/images/zspms/6/6a/89466a5uklumajcv5oku08n7ajtg8ou.png' }, { name: '红樱', mainIcon: 'https://patchwiki.biligame.com/images/zspms/d/d9/o0ai4fwj2ievi21akolozeoecb6wowd.png' }, { name: '镇命者', mainIcon: 'https://patchwiki.biligame.com/images/zspms/d/df/sid6xwv6u4737wuzzjoqunbjhy2mxwo.png' }, { name: '魏紫', mainIcon: 'https://patchwiki.biligame.com/images/zspms/e/ea/d1fkfvjd2sqs4882drhg64w1p99oh28.png' }, { name: '莱特宁', mainIcon: 'https://patchwiki.biligame.com/images/zspms/8/86/456hwzosozzdudlxq2e6lood3hqqzfw.png' }, { name: '赛因', mainIcon: 'https://patchwiki.biligame.com/images/zspms/f/f8/3htk9j88b3vnnj2n0qdtzw7dg54ikrx.png' }, { name: '圣艾尔摩', mainIcon: 'https://patchwiki.biligame.com/images/zspms/7/7e/r3lxz2xgsvkd8o7im1t9tp2grqftpkp.png' }, ];

let weapon5 = [ { name: '月上海棠', mainIcon: 'https://patchwiki.biligame.com/images/zspms/2/2b/ck1k8wypykia6ap2mz2m8iv10y7jpsh.png',}, { name: '鸿浩锋羽', mainIcon: 'https://patchwiki.biligame.com/images/zspms/3/3d/js8ax9cbr5wuesk4km0kpj8wg6zr9wt.png',}, { name: '苍白羽赫', mainIcon: 'https://patchwiki.biligame.com/images/zspms/d/d0/ajxrjkp27vcob5z8l8z3is0cqbh3qu9.png' }, { name: '逆行交点', mainIcon: 'https://patchwiki.biligame.com/images/zspms/b/b2/1pbbshumqiez4dito7ib2ax7aqidpx5.png' }, { name: 'FPT-II改', mainIcon: 'https://patchwiki.biligame.com/images/zspms/a/a2/cfsyado65dzzw6fbvtbdpbpat5mbzpo.png' }, { name: '三重奏', mainIcon: 'https://patchwiki.biligame.com/images/zspms/7/78/qsq55zixosgtj0t3yade7o1g1ciu286.png' }, { name: '风回', mainIcon: 'https://patchwiki.biligame.com/images/zspms/a/a8/a0shs95gpe5zy1r91ulki2hidjzj4ou.png' }, { name: '绯霆', mainIcon: 'https://patchwiki.biligame.com/images/zspms/f/f7/j6d0uedpwuoi4vs2z90m4hjcikhpsx5.png' }, { name: '二重虹光', mainIcon: 'https://patchwiki.biligame.com/images/zspms/1/11/cy1189uvmoczjb6wicwg2tuiltm3ytv.png' }, { name: '核子熔断·δ', mainIcon: 'https://patchwiki.biligame.com/images/zspms/9/9e/fuutrekhifqov7oyh2jtuqkrgkr46kq.png' }, { name: '彗星之锋', mainIcon: 'https://patchwiki.biligame.com/images/zspms/9/9c/njpl88nqyfwuh2fgafzm4ojjjdw1ysk.png' }, { name: '极夜', mainIcon: 'https://patchwiki.biligame.com/images/zspms/c/c1/5ni82gdugnct8a9anpjqd5mo7e2udrc.png' }, { name: '高频粒子刀', mainIcon: 'https://patchwiki.biligame.com/images/zspms/a/ad/pjwtx1z91j51o0k8tenaul952hgjvtl.png' }, { name: '绝境破碎者', mainIcon: 'https://patchwiki.biligame.com/images/zspms/6/6a/lysi80j0nrfrob39cvtxs4w7vjq4jql.png' }, { name: '红移', mainIcon: 'https://patchwiki.biligame.com/images/zspms/e/e7/4ogifx0wnhb0yd4uz3redd8tlllosr1.png' }, { name: '霜尺', mainIcon: 'https://patchwiki.biligame.com/images/zspms/f/fb/d4qldmfo6ihbzpt1bwzv8cb7hubyhb3.png' }, { name: '那不勒斯的独奏', mainIcon: 'https://patchwiki.biligame.com/images/zspms/f/f3/87t8l4m5fcszh681n5kc9c3np9g8gp6.png' }, { name: '双极星间', mainIcon: 'https://patchwiki.biligame.com/images/zspms/8/8b/3l2pfo8wh8nw9pqj17sd5706lvp186k.png' }, { name: '纷繁玫瑰', mainIcon: 'https://patchwiki.biligame.com/images/zspms/2/2d/6ww5gi3w9qt6mdre2ogulezujrryboe.png' }, { name: '绯煌骑士', mainIcon: 'https://patchwiki.biligame.com/images/zspms/3/33/bktsyofkctzt8ralk0fe0mu1e136l1o.png' }, { name: '阿尼姆斯', mainIcon: 'https://patchwiki.biligame.com/images/zspms/e/ee/fingu92upw4evn2qq4mcs7rqbinimp6.png' }, { name: '卡拉一型铳刃', mainIcon: 'https://patchwiki.biligame.com/images/zspms/f/f1/kl6t9s04qyour5h2s702x6a6m781bag.png' }, { name: 'FA2D-AP', mainIcon: 'https://patchwiki.biligame.com/images/zspms/1/14/ip0cxg5d74dpgaumbsx0y8cftmdj1zf.png' }, { name: '奥黛特', mainIcon: 'https://patchwiki.biligame.com/images/zspms/3/3f/gfyt4tw0x4ekcqflxtul1ulg0iu2xv4.png' }, { name: '冕饵', mainIcon: 'https://patchwiki.biligame.com/images/zspms/f/fd/j9yt4b5add9cav2xw3veuqoi5pbcpkg.png' }, { name: '白鳞出涧', mainIcon: 'https://patchwiki.biligame.com/images/zspms/6/69/7r9vsa5q70h8crlp3zegyk96kcdb6al.png' }, { name: '归云', mainIcon: 'https://patchwiki.biligame.com/images/zspms/9/95/hmeuxallc3fdxfad9v4vdzgkv5v6cx4.png' }, { name: 'RL·03C黑刺', mainIcon: 'https://patchwiki.biligame.com/images/zspms/c/ca/kaonk14wjvbn4xctj4oxnhad6wu8dc3.png' }, { name: '掠影', mainIcon: 'https://patchwiki.biligame.com/images/zspms/a/a9/34yp2s39ao8taf3vvcfa53000qmvtyl.png' }, { name: '卫士挂载', mainIcon: 'https://patchwiki.biligame.com/images/zspms/2/25/2h06q30ccfkxmm6rwvdlu4x9v10c7d5.png' }, { name: '动轮大剑', mainIcon: 'https://patchwiki.biligame.com/images/zspms/b/b6/bt4f316ppo8dw11zdrokw0twxlwol1z.png' }, { name: '熔岩之柱', mainIcon: 'https://patchwiki.biligame.com/images/zspms/c/c0/adtra34e2qustkxmp0n10u0rv4o7pr8.png' }, { name: '电光石火', mainIcon: 'https://patchwiki.biligame.com/images/zspms/d/d4/7peh7iv1xozfc7cm6qfxpr51dxdbzlg.png' }, { name: '九字之定', mainIcon: 'https://patchwiki.biligame.com/images/zspms/4/46/j0fnb3k02z6vy8xihhdv7rizlvvhec5.png' }, { name: '石之心', mainIcon: 'https://patchwiki.biligame.com/images/zspms/8/88/olip5vfi3xbqecxen9cm1r9mbzratua.png' }, { name: '猎隼E·3320', mainIcon: 'https://patchwiki.biligame.com/images/zspms/b/bd/m0z7rdh3u9lf2t1ufp6ioyv2wd6hdjh.png' }, { name: '暗影紫光', mainIcon: 'https://patchwiki.biligame.com/images/zspms/8/8c/bx1d6lqwpjagzb535hor7gzkytui5h0.png' }, { name: '褪色', mainIcon: 'https://patchwiki.biligame.com/images/zspms/6/67/fazbrelg3c2r76e494j9vki8q7feo6c.png' }, ]; let weapon4 = [ { name: '塞上秋', mainIcon: 'https://patchwiki.biligame.com/images/zspms/9/9c/eehimao6ftwc0lamtvbqdonpatxnxaz.png' }, { name: '翠墨雀凌', mainIcon: 'https://patchwiki.biligame.com/images/zspms/7/7c/4ulhhqj8cf0z93lyzfqthwib01t2hke.png' }, { name: '漆色渡鸦', mainIcon: 'https://patchwiki.biligame.com/images/zspms/7/78/1xm6b3e49n52d7x0tkgtl5aefftkq6j.png' }, { name: '环礁', mainIcon: 'https://patchwiki.biligame.com/images/zspms/7/77/8atkddu4ti5vvrmhfgtb52mek5hy7u3.png' }, { name: '黄金之心', mainIcon: 'https://patchwiki.biligame.com/images/zspms/9/94/sjzaqarwvxq3r1z9lg7jaggs98k6kur.png' }, { name: '噬雷', mainIcon: 'https://patchwiki.biligame.com/images/zspms/8/8e/6xuhpozrxex5v5tmr14zcwkkztpwa3m.png' }, { name: '雨断', mainIcon: 'https://patchwiki.biligame.com/images/zspms/0/00/1elylpnteig1t5gg0zcg6krfyn18k6s.png' }, { name: '迅羽', mainIcon: 'https://patchwiki.biligame.com/images/zspms/1/1c/dadur0tgnvepnpuqlpsgyzulae1jgbw.png' }, { name: '试作型“画笔”', mainIcon: 'https://patchwiki.biligame.com/images/zspms/e/e0/l69wqcduv2m3zuiuvq1sqqbh58trpvu.png' }, { name: '试作型复合兵装', mainIcon: 'https://patchwiki.biligame.com/images/zspms/e/e0/k0glvvlphvhzhvzgynwtj3st9aw042g.png' }, { name: '无心利刃', mainIcon: 'https://patchwiki.biligame.com/images/zspms/e/eb/kro491rz2d2uhszhfb9ykl7anrqt397.png' }, { name: '薄暮幻象', mainIcon: 'https://patchwiki.biligame.com/images/zspms/8/83/981txe53kb8tuvj7aytx6ulguoy9eu8.png' }, { name: '全村的希望', mainIcon: 'https://patchwiki.biligame.com/images/zspms/d/da/2ansyzqeujjlse6c7y6z1jhcacfbct2.png' }, { name: '试作型重破锤', mainIcon: 'https://patchwiki.biligame.com/images/zspms/8/81/p67utrgz0cb75dar3opnqgn4623lwr0.png' }, { name: '怒飙', mainIcon: 'https://patchwiki.biligame.com/images/zspms/f/f2/pyrqc4qam5630a0qo3osc32vr534twg.png' }, { name: '灰钢', mainIcon: 'https://patchwiki.biligame.com/images/zspms/b/b1/k98cdqjcu6nzrifo3cd08we0ruu75or.png' }, { name: '基准调式', mainIcon: 'https://patchwiki.biligame.com/images/zspms/d/d0/808vnsfruad0oefszpeuskpm6w833bf.png' }, { name: '天启', mainIcon: 'https://patchwiki.biligame.com/images/zspms/9/9d/bo6a8pbs17sp7ovp3fhq6ic7rrzf5dr.png' }, { name: '长旒旗枪', mainIcon: 'https://patchwiki.biligame.com/images/zspms/8/8a/dd29bl7lm0s7k9w8l7lp5de59de3iff.png' }, { name: '拓荒', mainIcon: 'https://patchwiki.biligame.com/images/zspms/7/72/ow1gh3hbvobaoz7r7g32q1x94yxipnp.png' }, { name: '协作者', mainIcon: 'https://patchwiki.biligame.com/images/zspms/d/d5/bk28rfd25qc3hzhmd1r5s8qkfi23q8a.png' }, { name: '制式铳刃', mainIcon: 'https://patchwiki.biligame.com/images/zspms/1/15/3ge1r5iygnuipq7fdmvlnl8kfd096lz.png' }, { name: '序曲', mainIcon: 'https://patchwiki.biligame.com/images/zspms/a/ab/eetnkk6v9yh9ixoeikk87y0r7p8g0qd.png' }, { name: '子弹蚁', mainIcon: 'https://patchwiki.biligame.com/images/zspms/2/20/521vlw60jfoh9w4nnrfh8a70f4fr0s8.png' }, { name: '始', mainIcon: 'https://patchwiki.biligame.com/images/zspms/5/5d/82820jytwo13a18f7s43e8f8zvsxu7y.png' }, { name: '崩甲玖式', mainIcon: 'https://patchwiki.biligame.com/images/zspms/b/b2/l09ec6zuuxmmq0qzzhsxcuma5g9e6cv.png' }, { name: '黑铁寒星 陆式', mainIcon: 'https://patchwiki.biligame.com/images/zspms/5/54/jku755lsp5il7vebntzyo4elaa0tyta.png' }, { name: '异端开拓者', mainIcon: 'https://patchwiki.biligame.com/images/zspms/c/c9/13601ymtxi6ekayjyshyl2u4fw3rb4r.png' }, { name: '噬光', mainIcon: 'https://patchwiki.biligame.com/images/zspms/b/be/khxghl99cfark5wuuz592j69gwg41kz.png' }, { name: '黯淡', mainIcon: 'https://patchwiki.biligame.com/images/zspms/5/51/ek6uoqj9z88b795iwiwsl69j38jbb3o.png' }, { name: '切割猎手', mainIcon: 'https://patchwiki.biligame.com/images/zspms/9/9b/9di2klqdmuft9ja3lvu1mc0h2whc5ec.png' }, { name: '螺旋炮', mainIcon: 'https://patchwiki.biligame.com/images/zspms/8/84/ltgb7iq2mdj8oop351ctr56qdfz7y04.png' }, { name: '压乱者', mainIcon: 'https://patchwiki.biligame.com/images/zspms/8/88/40ekdy4sgad51vyqlia7y0vbn7rqt4q.png' }, { name: '噪音', mainIcon: 'https://patchwiki.biligame.com/images/zspms/4/4d/eeonn8vcbzhpj0vu2xbgd4f2utlnjz1.png' }, { name: '滑轮复合弓', mainIcon: 'https://patchwiki.biligame.com/images/zspms/0/0e/nnvizeidhio18s4l0wssyi5cs16kdx3.png' }, { name: '型鱼挂载', mainIcon: 'https://patchwiki.biligame.com/images/zspms/5/5a/k2x0jp1cpw39vfkie58sst3ftbzuttj.png' }, { name: '无铭', mainIcon: 'https://patchwiki.biligame.com/images/zspms/0/0a/5nswj6g4bgjav81v5guwkcmc6nuxlcj.png' }, { name: '黑星', mainIcon: 'https://patchwiki.biligame.com/images/zspms/6/6d/hwh9m8dynzf2e1lvfk13fr25gb7f9dn.png' }, { name: '武器强化素材IV', mainIcon: 'https://patchwiki.biligame.com/images/zspms/7/78/mirb88p9np7o4nphzprj9ksjm6itzo2.png' }, ]; let weapon3 = [ { name: '制式镰刀', mainIcon: 'https://patchwiki.biligame.com/images/zspms/1/1b/63lkcmwcrxkj1eoxa3h7s5ejxzdlg3h.png' }, { name: '双手刀', mainIcon: 'https://patchwiki.biligame.com/images/zspms/2/21/pusq7jt5c1gnyl78xdc1no343pwz0rz.png' }, { name: '火箭筒', mainIcon: 'https://patchwiki.biligame.com/images/zspms/4/4f/modcnaa5t68yp48lyaltclvvf4p2lri.png' }, { name: '大剑', mainIcon: 'https://patchwiki.biligame.com/images/zspms/1/12/h5t3eqlttsie2jze84lulsjg68js1n9.png' }, { name: '作业用链锯', mainIcon: 'https://patchwiki.biligame.com/images/zspms/1/13/oci4ou0f3m6iw1xc0tyci0reqthn14y.png' }, { name: '练习用复合弓', mainIcon: 'https://patchwiki.biligame.com/images/zspms/0/0c/dyzzw4ru18w8n2re9sgyylbgjgg4yzs.png' }, { name: '半自律攻击炮', mainIcon: 'https://patchwiki.biligame.com/images/zspms/c/cc/7kwgye100s6czbclphmqoqaeriw8t9k.png' }, { name: '护身刀', mainIcon: 'https://patchwiki.biligame.com/images/zspms/7/71/9d9n1ip45mr7e4dgt293sbtfcys8pab.png' }, { name: '制式枪', mainIcon: 'https://patchwiki.biligame.com/images/zspms/7/79/avbzfo70n142wb3ysp4dgjudpzfcpym.png' }, ];

let memories4 = [ { name: '阿基米德', mainIcon: 'https://patchwiki.biligame.com/images/zspms/4/49/4epmrjbkjnyvmzcod8m1a6qjgccf28m.png' }, { name: '爱迪生', mainIcon: 'https://patchwiki.biligame.com/images/zspms/1/17/oekf2fgbglgfb5wa8zvqtptvopivqwk.png' }, { name: '爱丽丝', mainIcon: 'https://patchwiki.biligame.com/images/zspms/f/fd/ka40cpcendl30cxy1pm8nkplrhu42ia.png' }, { name: '坎宁安', mainIcon: 'https://patchwiki.biligame.com/images/zspms/e/e9/s3si6djhpvp3kz331fjy83z3ng54zdn.png' }, { name: '意识强化素材IV', mainIcon: 'https://patchwiki.biligame.com/images/zspms/9/94/cez8mkqnec9b7gn9ynlwdm7e6bcdiul.png' }, ]; let expPods = [ { name: '经验仓·大', mainIcon: 'https://patchwiki.biligame.com/images/zspms/a/ad/3hvdbvz59ai3nwznpxp5edemptyz4dy.png' }, { name: '经验仓·特大', mainIcon: 'https://patchwiki.biligame.com/images/zspms/9/93/6rpbeawv8s14dlanntyq947l1r03731.png' }, ]; let overClock = [ { name: '武器突破核心·高', mainIcon: 'https://patchwiki.biligame.com/images/zspms/4/49/5lhxfv22f65n6xj48vzm2o96crpahkf.png' }, { name: '意识突破回路·高', mainIcon: 'https://patchwiki.biligame.com/images/zspms/1/12/pudm5iz3oeeta9egwectnxothunioef.png' }, { name: '突破合金·高', mainIcon: 'https://patchwiki.biligame.com/images/zspms/7/74/p8rvs1ea92oeuclipi5xnwnq3d46mci.png' }, { name: '武器突破核心·初', mainIcon: 'https://patchwiki.biligame.com/images/zspms/3/35/iwpx7onm9s2z0d3z94kdpqrc70q2v7t.png' }, { name: '意识突破回路·初', mainIcon: 'https://patchwiki.biligame.com/images/zspms/6/6c/dv2mn1tgk9f4s5g3iupypkokiykk4wt.png' }, { name: '突破合金·初', mainIcon: 'https://patchwiki.biligame.com/images/zspms/b/bb/6z2yrg3sgn0t3t41j7m4236kqsduxq1.png' }, ]; let cogs = [ { name: '特大型螺母包', mainIcon: 'https://patchwiki.biligame.com/images/zspms/b/b7/tot3z76d1lq2ug0r0j5gyy0byevuylu.png' }, { name: '超大型螺母包', mainIcon: 'https://patchwiki.biligame.com/images/zspms/3/3a/h97ctq971twwgtc6h0mcmq5jlrowh5y.png' }, ];

let suS = [ { name: '寐寤', mainIcon: 'https://patchwiki.biligame.com/images/zspms/8/82/n7cuju7rlba79kantqedaiphac4pz6x.png', image: 'https://patchwiki.biligame.com/images/zspms/d/d9/atsut43e9crrnhsmbrb9hbl0di06nw0.png', shardsIcon: 'https://patchwiki.biligame.com/images/zspms/c/ce/4ope8hc876wqktpnt7gnpzhz0hichs6.png' }, { name: '肃噩', mainIcon: 'https://patchwiki.biligame.com/images/zspms/7/7b/30k4woj5tae50l3knivx7cu0qaoz94c.png', image: 'https://patchwiki.biligame.com/images/zspms/3/3d/kwggdxoeasj3bphpfmkqlw5lbpozild.png', shardsIcon: 'https://patchwiki.biligame.com/images/zspms/4/48/lqde92fqsnm71ynpahmo2h3r4dme9z3.png' }, { name: '徽羽', mainIcon: 'https://patchwiki.biligame.com/images/zspms/0/01/6ds0168pudnsskcf5ea142dslic9ykz.png', image: 'https://patchwiki.biligame.com/images/zspms/b/bf/7kn2dpmx39klo2297cfl5vhixkq1qkv.png', shardsIcon: 'https://patchwiki.biligame.com/images/zspms/b/be/6hwvmix673tjm30z4rj0vie3972vazg.png' }, { name: '夜蝠', mainIcon: 'https://patchwiki.biligame.com/images/zspms/3/3a/jk8eq9p4p3ogiho6pvizwsxjxjjn053.png', image: 'https://patchwiki.biligame.com/images/zspms/7/7c/s46mea9lm3qiy18oy0gus1fhbhxy3ui.png', shardsIcon: 'https://patchwiki.biligame.com/images/zspms/6/6d/dxawm8dq0hf7oqgzfzna35a7mwzw1it.png' }, { name: '潜泽', mainIcon: 'https://patchwiki.biligame.com/images/zspms/d/d8/6bivxbsjy9u7yjua608w3wriwx4o4vk.png', image: 'https://patchwiki.biligame.com/images/zspms/5/54/gp3j1yhrhnfhdvdry63grpvsfzcw9u8.png', shardsIcon: 'https://patchwiki.biligame.com/images/zspms/4/43/q2ou33tvmhw8oiv8lxoj8w1xbfb5m53.png' }, { name: '昼翼', mainIcon: 'https://patchwiki.biligame.com/images/zspms/8/8d/mj6h63loz132xumdz32y1s714uwx9t9.png', image: 'https://patchwiki.biligame.com/images/zspms/e/ee/85tl1kq6j3ugi3vl3fspehafl762kg0.png', shardsIcon: 'https://patchwiki.biligame.com/images/zspms/0/02/bsiuwxqtk4s52wxjc44qznr839xm9mw.png' }, { name: '冥牙', mainIcon: 'https://patchwiki.biligame.com/images/zspms/3/3c/c8u0x0aqpxwtlwrwrgx6sgec47mzzir.png', image: 'https://patchwiki.biligame.com/images/zspms/9/91/obhu8kgibjhmqqqukfccfhqc1fdmerg.png', shardsIcon: 'https://patchwiki.biligame.com/images/zspms/f/f1/26drlhccglkomn4qsa5s5r075zd8wwb.png' }, { name: '坼霆', mainIcon: 'https://patchwiki.biligame.com/images/zspms/2/2c/88um4ikkoif3st1bmhdymqa076llact.png', image: 'https://patchwiki.biligame.com/images/zspms/a/a3/hvok04jg8enlq4zi0hepmnlc1nuxcft.png', shardsIcon: 'https://patchwiki.biligame.com/images/zspms/2/22/9svtejc2e6q9xgamfltawxmbi28466w.png' }, { name: '虹霁', mainIcon: 'https://patchwiki.biligame.com/images/zspms/9/98/cokooqk6lay8s05p2qvje3pjfmkf43q.png', image: 'https://patchwiki.biligame.com/images/zspms/0/08/cke04i47b5ohdtezydtkfv5wkcx1zhd.png', shardsIcon: 'https://patchwiki.biligame.com/images/zspms/d/dc/t8t0u4b5c2svnmzqcvxrn3hf43u6dip.png' }, { name: '掣矩', mainIcon: 'https://patchwiki.biligame.com/images/zspms/1/1f/ldqc7f15fr5j1bumaazahi1eyu6ng0o.png', image: 'https://patchwiki.biligame.com/images/zspms/5/5e/c70fqrhswn1p3dphl9tc5iizyoxlsfc.png', shardsIcon: 'https://patchwiki.biligame.com/images/zspms/9/9e/1zwpbzjv233zszeiuzcoldzsp1ebs5p.png' }, { name: '霏粼', mainIcon: 'https://patchwiki.biligame.com/images/zspms/7/7f/28l54r54mrfgoqec02xbujfrf4lah29.png', image: 'https://patchwiki.biligame.com/images/zspms/a/a0/0ddhey6vkf2c61gsetsllaw3m4mi6qn.png', shardsIcon: 'https://patchwiki.biligame.com/images/zspms/c/c2/szlier1csr956s6nedc9t34p1l1rxy6.png' }, { name: '暝月', mainIcon: 'https://patchwiki.biligame.com/images/zspms/8/88/aw1rz6v2ws4j4m4eumribi06jcn9xec.png', image: 'https://patchwiki.biligame.com/images/zspms/e/e0/66104sdq3h0d2ctbnmcm1tzbxwdu6be.png', shardsIcon: 'https://patchwiki.biligame.com/images/zspms/6/6b/b02dlw76x2x3futvnbc1int3s61u07q.png' }, { name: '啸钺', mainIcon: 'https://patchwiki.biligame.com/images/zspms/a/ac/m53pzot58m48trdf9thfnw2vq5rewto.png', image: 'https://patchwiki.biligame.com/images/zspms/5/5b/1ly4iuzgqg18jngneby4p8x7ndqrc80.png', shardsIcon: 'https://patchwiki.biligame.com/images/zspms/e/ee/nel0y0iqns25hw6h6ci3en60xfa3doo.png' }, { name: '沧翊', mainIcon: 'https://patchwiki.biligame.com/images/zspms/3/35/iy0tiypkn262e1yeypltmhjigr0je4u.png', image: 'https://patchwiki.biligame.com/images/zspms/4/47/myg2bs5lhxq63znlxfpnyudqn1k0vx1.png', shardsIcon: 'https://patchwiki.biligame.com/images/zspms/e/e5/lz4w1c6n4ouf196kxg0v6l23fyazjxk.png' }, { name: '宵煌', mainIcon: 'https://patchwiki.biligame.com/images/zspms/3/32/rh6ul74qsystfj25wuqdtm14d2gqq22.png', image: 'https://patchwiki.biligame.com/images/zspms/7/7d/lwwr2t5rtcfx4and5mjxsiu6z5obu1e.png', shardsIcon: 'https://patchwiki.biligame.com/images/zspms/6/6a/8xh48v80dpeql62nm6f8lgeicpamwig.png' }, { name: '霜誓', mainIcon: 'https://patchwiki.biligame.com/images/zspms/a/a7/cf6d0h1gj8acwym385powiwfx79mcyk.png', image: 'https://patchwiki.biligame.com/images/zspms/c/c0/c508n3220rini2iibbx96z72pgm0a4x.png', shardsIcon: 'https://patchwiki.biligame.com/images/zspms/e/ed/mabz5u497jv1ml6cknrzcdk6xgz4ejv.png' }, { name: '庭霓', mainIcon: 'https://patchwiki.biligame.com/images/zspms/3/3f/1sjnk2bpzaf46883weszpg3z6z6yn4d.png', image: 'https://patchwiki.biligame.com/images/zspms/e/e2/1w2xq2nom50nn5sztib11hjlnxxtr9j.png', shardsIcon: 'https://patchwiki.biligame.com/images/zspms/8/8e/6msbh14mfslt4f8g48ld7vdkoyrjbze.png' }, ]; let suA = [ { name: '棘钧', mainIcon: 'https://patchwiki.biligame.com/images/zspms/6/64/5quyyhdclzyb2x3sf1mqz4mcucg6bhu.png', image: 'https://patchwiki.biligame.com/images/zspms/f/f8/guhznc89junvxdip1botki8dc162vt3.png', shardsIcon: 'https://patchwiki.biligame.com/images/zspms/d/de/tj2ckmvqwq87f5mvaud6pkmt3k2nuh7.png' }, { name: '伶崖', mainIcon: 'https://patchwiki.biligame.com/images/zspms/1/16/o9nhdklklfo8xyuie5xokecu9e41i4w.png', image: 'https://patchwiki.biligame.com/images/zspms/5/59/rquihvxu5dd1vps558ealv5ixgi97ps.png', shardsIcon: 'https://patchwiki.biligame.com/images/zspms/7/77/q7n3lwa6jq3gm8ltjz6xqb9nga9sf37.png' }, { name: '冷观', mainIcon: 'https://patchwiki.biligame.com/images/zspms/7/72/lcan8vwsclw2m1u2zimcrtcin1yehdj.png', image: 'https://patchwiki.biligame.com/images/zspms/c/ca/rd6xzscl64yemxeiy385icy2on1kohm.png', shardsIcon: 'https://patchwiki.biligame.com/images/zspms/f/f1/haop2vk9y6vzxq7iuw7ti1n79rz7zpn.png' }, { name: '沃托', mainIcon: 'https://patchwiki.biligame.com/images/zspms/b/b6/h00b8cxu0c05yoj9hyhh5nyicnpffg2.png', image: 'https://patchwiki.biligame.com/images/zspms/1/14/djdj9cvb11r5b1snmmk5p8zh2ajrqkv.png', shardsIcon: 'https://patchwiki.biligame.com/images/zspms/b/bf/scjwuys8xa7zv6wzoa66ourfm2igze5.png' }, { name: '元谒', mainIcon: 'https://patchwiki.biligame.com/images/zspms/0/03/n8sz47xy1yed2yxkzoc4t368qt55tku.png', image: 'https://patchwiki.biligame.com/images/zspms/f/fd/s6sq72qw6ed4nck3p4j4b8t7lfzzkke.png', shardsIcon: 'https://patchwiki.biligame.com/images/zspms/6/67/plr29fd4h1jif8vreirq541gdeudxej.png' }, ];

let suOverClock = [ { name: '支援突破套组·小', mainIcon: 'https://patchwiki.biligame.com/images/zspms/1/10/oxzhncx1ba80sgci9fwpza7nojsv9ey.png' }, { name: '支援突破套组·大', mainIcon: 'https://patchwiki.biligame.com/images/zspms/6/6e/qvmm2gsuoxgig9mqtsze3rfjjlqtu5t.png' }, ];

let suExp = [ { name: '支援经验集成·小', mainIcon: 'https://patchwiki.biligame.com/images/zspms/9/98/qvtjphb93vsgj7xhw3nzr3zndpmjnub.png' }, { name: '支援经验集成·大', mainIcon: 'https://patchwiki.biligame.com/images/zspms/2/21/mi93t964mzyuiu89k0y2mz0xhv8s50c.png' }, ];

let suSkillPoint = [{ name: '支援技能元件', mainIcon: 'https://patchwiki.biligame.com/images/zspms/3/34/qek91bnd7aql36jwoow9fvjyrw2giwr.png' }];

let BRSA = [ { name: 'BRS', mainIcon: 'https://patchwiki.biligame.com/images/zspms/7/7b/k169dkifaia236ksco8zw24iz1vz1a7.png', shardsIcon: 'https://patchwiki.biligame.com/images/zspms/9/9f/nwac760n4x71wda5dp8rxudgdoyynal.png', image: 'https://patchwiki.biligame.com/images/zspms/4/46/awjqvnngn9yg5i4q8ub75y0zc3lmerx.png', }, ];

let BRSWeapon6 = [ { name: '黑岩巨炮', mainIcon: 'https://patchwiki.biligame.com/images/zspms/8/8a/rait6f8d1lcnkx9rybad5s2clvucs4s.png', shardsIcon: , image: 'https://patchwiki.biligame.com/images/zspms/f/f0/dxi7p6q4o3m7r6158ra7cuxhgg0h4w4.png', }, ]; let BRSWeapon5 = [ { name: '黑岩巨炮', mainIcon: 'https://patchwiki.biligame.com/images/zspms/7/71/rait6f8d1lcnkx9rybad5s2clvucs4s.png', shardsIcon: , image: 'https://patchwiki.biligame.com/images/zspms/f/f0/dxi7p6q4o3m7r6158ra7cuxhgg0h4w4.png', }, ];

let randomNoneA = { name: '随机泛用机体', mainIcon: 'https://patchwiki.biligame.com/images/zspms/0/08/cz5slsrdkor96fu41zsk3kha2eetmbk.png' }

let poolData = { standardA: { target: 'S级角色', present: 0, total: 60, percentage: '占A级出率80%', intro: `10回必出A级或以上角色`, showList: A, }, arrivalS: { target: 'S级角色', present: 0, total: 60, percentage: '占S级出率70%', intro: `10回必出A级或以上角色`, showList: S, jiaozhun: false, }, fateArrivalS: { target: 'S级角色', present: 0, total: '80~100', percentage: '占S级出率70%', intro: `10回必出A级或以上角色`, showList: S, jiaozhun: false, }, transcendantS: { target: 'S级角色', present: 0, total: 10, percentage: '占S级出率80%', intro: `10回必出S级独域机体`, showList: T, }, weapon: { target: '6星武器', present: 0, total: 30, percentage: '占6星出率80%', intro: `10回必出5星或以上武器`, showList: weapon6, }, supportUnit: { target: 'S级辅助机', present: 0, total: 20, percentage: '占S级出率80%', intro: `10回必出A级或以上辅助机`, showList: suS, }, BRSA: { target: 'S级角色', present: 0, total: 60, percentage: '占A级出率100%', intro: `10回必出A级或以上角色`, showList: BRSA, }, BRSWeapon: { target: '6星武器', present: 0, total: 30, percentage: '占6星出率80%', intro: `10回必出5星或以上武器`, showList: BRSWeapon6, }, };


</script>

<script defer>

(window.RLQ = window.RLQ || []).push(['jquery', () => {

let $ = el => document.querySelector(el); let $$ = els => document.querySelectorAll(els);

let current = { pool: poolData['standardA'], character: A[0], count: 0, promiseA: 0, promiseS: 0, promiseT: 0, promiseW6: 0, promiseW5: 0, promiseSUS: 0, promiseSUA: 0, result: [], jiaozhun: false, }; // 彩蛋函数,自执行 (async function _createEasterEggs() { // 获取网络时间 await jQuery.ajax({ type: 'OPTIONS', url: '/', async: false, complete: function (x) { if (new Date(x.getResponseHeader('Date')).getDay() == 0) { console.log('彩蛋时间'); // 生成联动池PC const nodePC = document.createElement('div'); nodePC.className = 'menu-item';

nodePC.innerHTML = `

`;

document.querySelector('.simulator .bottom .menu').appendChild(nodePC); const nodeMobileParent = document.querySelector('.simulator-mb .simulator-item .submenu'); // 生成联动池(移动) // 角色(联动) const nodeMobileBRA = document.createElement('div'); nodeMobileBRA.className = 'submenu-item'; nodeMobileBRA.id = 'BRSA';

nodeMobileBRA.innerHTML = `

◀◀辅助

基准联动

联动▶▶

`;

nodeMobileParent.appendChild(nodeMobileBRA); // 武器(联动) const nodeMobileBRAWeapon = document.createElement('div'); nodeMobileBRAWeapon.className = 'submenu-item'; nodeMobileBRAWeapon.id = 'BRSWeapon';

nodeMobileBRAWeapon.innerHTML = `

◀◀联动

武器联动

没有▶▶

`;

nodeMobileParent.appendChild(nodeMobileBRAWeapon); // 列表修正

nodeMobileParent.querySelector('#supportUnit').innerHTML = `

◀◀独域

辅助机

联动▶▶

`;

// 宽度修正 nodeMobileParent.style.width = nodeMobileParent.children.length * 100 + '%'; } }, }); })(); // 桌面端菜单栏切换 $$('.menu-item').forEach(item => { item.addEventListener('click', () => { if (item.classList.contains('menu-item--active')) return;

$$('.menu-item').forEach(item => (item.classList = ['menu-item'])); item.classList.toggle('menu-item--active'); $$('.submenu-item').forEach(item => (item.classList = ['submenu-item'])); $('.menu-item--active .submenu').children.item(0).classList.toggle('submenu-item--active');

let pid = $('.menu-item--active .submenu').children.item(0).id; updatePool(pid); }); }); $$('.simulator .submenu-item').forEach(item => { item.addEventListener('click', () => { $$('.simulator .submenu-item').forEach(item => (item.classList = ['submenu-item'])); item.classList.toggle('submenu-item--active'); updatePool(item.id); }); }); // 移动端菜单栏切换 $$('.move-left').forEach((item, index, arr) => { item.addEventListener('click', () => { let left = $('.simulator-mb .submenu').style.left; $('.simulator-mb .submenu').style.left = `${parseInt(left) + 100}%`; $$('.simulator-mb .submenu-item').forEach(item => (item.classList = ['submenu-item'])); $$('.simulator-mb .submenu-item')[index].classList.toggle('submenu-item--active'); updatePool($$('.simulator-mb .submenu-item')[index].id); }); }); $$('.move-right').forEach((item, index) => { item.addEventListener('click', () => { let left = $('.simulator-mb .submenu').style.left; $('.simulator-mb .submenu').style.left = `${parseInt(left) - 100}%`; $$('.simulator-mb .submenu-item').forEach(item => (item.classList = ['submenu-item'])); $$('.simulator-mb .submenu-item')[index + 1].classList.toggle('submenu-item--active'); updatePool($$('.simulator-mb .submenu-item')[index + 1].id); }); }); function debounceButton() { if ($('#pull1').disabled) { $('#pull1').disabled = false; $('#pull10').disabled = false; } else { $('#pull1').disabled = true; $('#pull10').disabled = true; } } function func1(e) { research(1); } function func10(e) { research(10); } function init() { if (window.innerWidth < 1100) { $('.inner .simulator').innerHTML = ; } else { $('.inner .simulator-mb').innerHTML = ; }

if ($$('.menu-item').length != 0) { $$('.menu-item')[0].classList.add('menu-item--active'); } $$('.submenu-item')[0].classList.add('submenu-item--active');

if ($('.character-box-choose')) { const button = document.createElement('button'); button.id = 'toggleDrawer'; button.innerText = '切换组合'; $('.character-box-choose').appendChild(button); }

if ($('#current-headIcon')) { $('#current-headIcon').innerHTML = `<img src="" />`; }

$('.research-start').innerHTML = `

<button id="pull1">

1回研发

250

</button> <button id="pull10">

10回研发

2500

</button>`

$('#pull1').addEventListener('click', func1); $('#pull10').addEventListener('click', func10); $('#toggleDrawer').addEventListener('click', toggleDrawer); $('.mask').addEventListener('click', toggleDrawer, { passive: false });

if (current.pid === 'standardA') { $('#target2').innerText = 'S级角色🔄'; }

$('#target2').addEventListener('click', () => { if (current.pid === 'standardA' || current.pid === 'BRSA') { checkA = !checkA; checkA ? ($('#target2').innerText = 'S级和A级角色🔄') : ($('#target2').innerText = 'S级角色🔄'); } });

updatePool('standardA'); }

let checkA = false;

init(); // 更新池子信息 function updatePool(pid) { current.pid = pid; current.pool = poolData[pid];

checkA = false $('#target2').innerText = 'S级角色🔄'

$('#percentage').innerText = current.pool.percentage; $('#target').innerText = current.pool.target;

if (current.pid === 'standardA' || current.pid === 'BRSA') { checkA ? ($('#target2').innerText = 'S级和A级角色🔄') : ($('#target2').innerText = 'S级角色🔄'); } else { $('#target2').innerText = current.pool.target; }

$('#present').innerText = current.pool.present; $('#total').innerText = current.pool.total; $('#intro').innerHTML = current.pool.intro; $('#current-headIcon img').src = current.pool.showList[0].mainIcon; if ($('.character')) { $('.character').innerHTML = `<img src="${current.pool.showList[0].image}"/>`; }

$$('.research-item .img-border').forEach(item => { item.innerHTML = `<img src="" width="80%" height="80%" /><img src="" />`; });

clearUpList(); createUpList(current.pool); updateUpInfo(current.pool.showList[0].name);

if (current.pid === 'standardA') { $$('button .cost .card').forEach(item => { item.style.backgroundImage = "url('https://patchwiki.biligame.com/images/zspms/b/b4/df5ck2j0lh0iolrd435rcm7lvjtx9gj.png')"; }); } else if (current.pid === 'weapon') { $$('button .cost .card').forEach(item => { item.style.backgroundImage = "url('https://patchwiki.biligame.com/images/zspms/1/16/ryckj786yns73yt2mgbcwxix6qva5bm.png')"; }); } else if (current.pid === 'supportUnit') { $$('button .cost .card').forEach(item => { item.style.backgroundImage = "url('https://patchwiki.biligame.com/images/zspms/c/c1/6gqufpw36ngjz1n446bt5eraq2j7lg6.png')"; }); } else if (current.pid === 'BRSA') { $$('button .cost .card').forEach((item) => { item.style.backgroundImage = "url('https://patchwiki.biligame.com/images/zspms/d/d5/ayrav1a7imoeqq2cx8cxxij7eu1slp2.png')"; }); } else if (current.pid === 'BRSWeapon') { $$('button .cost .card').forEach((item) => { item.style.backgroundImage = "url('https://patchwiki.biligame.com/images/zspms/c/c9/ryn07e68o1pyv7tnneesz2vvvs28ktg.png')"; }); } else { $$('button .cost .card').forEach(item => { item.style.backgroundImage = "url('https://patchwiki.biligame.com/images/zspms/f/f9/lugviaxeve9lsqlv3a95mbhqkxwsi7i.png')"; }); }

current.count = 0; current.promiseA = 0; current.promiseS = 0; current.promiseT = 0; current.promiseW6 = 0; current.promiseW5 = 0; current.promiseSUS = 0; current.promiseSUA = 0;

current.jiaozhun = poolData[current.pid].jiaozhun; current.jiaozhun ? ($('.jiaozhun').style.opacity = 1) : ($('.jiaozhun').style.opacity = 0);

clearResult();

clearHistory(); } window.chooseUpInfo = function(name) { let e = window.event; $$('.up-item').forEach(item => (item.classList = ['up-item'])); e.target.parentNode.classList.toggle('up-item--select'); $('.mask').classList.remove('mask--active'); $('body').style.height = ; $('body').style.overflow = ;

clearUpInfo(); updateUpInfo(name); } // 创建池子的up角色列表 function createUpList(dom) { if (dom.showList) { if (current.pid === 'standardA') { const div = document.createElement('div'); div.className = 'up-item';

div.innerHTML = `

<img src="${randomNoneA.mainIcon}" />

${randomNoneA.name}

${current.pool.percentage}

<button onclick="chooseUpInfo()">选择</button>`;

$('.up-list').appendChild(div); }

dom.showList.forEach((item, index) => { const div = document.createElement('div'); div.className = 'up-item'; if (index == 0) div.classList.toggle('up-item--select');

div.innerHTML = `

<img src="${item.mainIcon}" />

${item.name}

${current.pool.percentage}

<button onclick="chooseUpInfo('${item.name}')">选择</button>`;

$('.up-list').appendChild(div); }); } else { console.log('更新up角色列表失败,检查弹出的pool对象是否存在showList\n', current); } } // 清除池子的up角色列表 function clearUpList() { $('.up-list').innerHTML = ; } // up角色列表的抽屉开关 function toggleDrawer(e) { let position = e.target.compareDocumentPosition($('.mask')); if (position == 4 || position == 0 || position == 2) { $('.mask').classList.toggle('mask--active');

if (position != 0) { $('body').style.height = '100vh'; $('body').style.overflow = 'hidden'; } else { $('body').style.height = ; $('body').style.overflow = ; } } }

function clearUpInfo() { $('#character-name').innerText = ; } function updateUpInfo(name) { if (name) { current.character = current.pool.showList.find(item => item.name == name); if (current.character.name != -1) { $('#character-name').innerText = current.character.name; $('#current-headIcon img').src = current.character.mainIcon;

if (!$('.character img')) { return; }

if (current.character.image && current.character.image != ) { $('.character img').src = current.character.image; } else { $('.character img').src = ; } } else { console.log( '更新当前up角色信息失败,检查弹出的character信息是否完整(包含id, name, type, mode, icon, image)\n', current ); } } else { current.character = {}; $('#character-name').innerText = randomNoneA.name; $('#current-headIcon img').src = randomNoneA.mainIcon $('.character img').src = ;

console.log('传入name为空,没有任何up提升'); } }

function research(n) { debounceButton();

let types = collectPrizeType(); clearResult();

for (let i = 1; i <= n; i++) { let type = pullPrizeType(types);

current.count += 1; current.promiseA += 1; current.promiseS += 1; current.promiseT += 1; current.promiseW6 += 1; current.promiseW5 += 1; current.promiseSUS += 1; current.promiseSUA += 1;

if (current.promiseT >= 10 && current.pid == 'transcendantS') { let prize = pullPrize({ name: 'S独域机体' }); collectResult({ name: 'S独域机体' }, prize); continue; }

if (['arrivalS', 'fateArrivalS', 'standardA', 'BRSA'].includes(current.pid)) { if (current.promiseS >= 60 && current.pid != 'fateArrivalS') { let prize = pullPrize({ name: 'S构造体' }); collectResult({ name: 'S构造体' }, prize); continue; }

if (current.promiseS >= 100 && current.pid == 'fateArrivalS') { let prize = pullPrize({ name: 'S构造体' }); collectResult({ name: 'S构造体' }, prize); types[0].weight = 1.5; continue; }

if (current.promiseS >= 80 && current.pid == 'fateArrivalS') { types[0].weight = 1.9; }

if (current.promiseA >= 10) { let prize = pullPrize({ name: 'A构造体' }); collectResult({ name: 'A构造体' }, prize); continue; } }

if (current.promiseW6 >= 30 && (current.pid == 'weapon' || current.pid == 'BRSWeapon') ) { let prize = pullPrize({ name: '红色武器' }); collectResult({ name: '红色武器' }, prize); continue; }

if (current.promiseW5 >= 10 && (current.pid == 'weapon' || current.pid == 'BRSWeapon') ) { let prize = pullPrize({ name: '橙色武器' }); collectResult({ name: '橙色武器' }, prize); continue; }

if (current.promiseSUS >= 20 && current.pid == 'supportUnit') { let prize = pullPrize({ name: 'S级支援单位' }); collectResult({ name: 'S级支援单位' }, prize); continue; }

if (current.promiseSUA >= 10 && current.pid == 'supportUnit') { let prize = pullPrize({ name: 'A级支援单位' }); collectResult({ name: 'A级支援单位' }, prize); continue; }

let prize = pullPrize(type); collectResult(type, prize); } renderResult(); debounceButton(); }

function collectPrizeType() { let prizes = [];

let weightA = floatDiv(floatMul(13.95, A.length), floatAdd(A.length, B.length)); let weightB = floatDiv(floatMul(13.95, B.length), floatAdd(A.length, B.length));

if (current.pid === 'arrivalS' || current.pid === 'standardA') { prizes = [ { name: 'S构造体', weight: 0.5 }, { name: 'A构造体', weight: weightA }, { name: 'B构造体', weight: weightB }, { name: '角色碎片', weight: 22.11 }, { name: '紫色意识', weight: 28.39 }, { name: '突破材料', weight: 14.42 }, { name: '经验材料', weight: 4.81 }, { name: '螺母箱', weight: 14.42 }, ]; } else if (current.pid === 'fateArrivalS') { prizes = [ { name: 'S构造体', weight: 1.5 }, { name: 'A构造体', weight: weightA }, { name: 'B构造体', weight: weightB }, { name: '角色碎片', weight: 22.11 }, { name: '紫色意识', weight: 28.39 }, { name: '突破材料', weight: 14.42 }, { name: '经验材料', weight: 4.81 }, { name: '螺母箱', weight: 14.42 }, ]; } else if (current.pid == 'transcendantS') { prizes = [ { name: 'S独域机体', weight: 5 }, { name: '紫色意识', weight: 28.21 }, { name: '突破材料', weight: 26.45 }, { name: '经验材料', weight: 6.44 }, { name: '螺母箱', weight: 26.45 }, ]; } else if (current.pid == 'weapon') { prizes = [ { name: '红色武器', weight: 2.5 }, { name: '橙色武器', weight: 15 }, { name: '紫色武器', weight: 33.4 }, { name: '蓝色武器', weight: 27.9 }, { name: '突破材料', weight: 9.35 }, { name: '螺母箱', weight: 9.35 }, ]; } else if (current.pid == 'supportUnit') { prizes = [ { name: 'S级支援单位', weight: 5.82 }, { name: 'A级支援单位', weight: 14.14 }, { name: '支援单位经验材料', weight: 20.72 }, { name: '支援单位突破材料', weight: 11.02 }, { name: '支援技能元件', weight: 16.31 }, { name: '支援单位碎片', weight: 13.42 }, { name: '螺母箱', weight: 16.06 }, ]; } else if (current.pid == 'BRSA') { prizes = [ { name: 'S构造体', weight: 0.5 }, { name: 'A构造体', weight: 13.95 }, { name: '角色碎片', weight: 22.11 }, { name: '紫色意识', weight: 28.39 }, { name: '突破材料', weight: 14.42 }, { name: '经验材料', weight: 4.81 }, { name: '螺母箱', weight: 14.42 }, ]; } else if (current.pid == 'BRSWeapon') { prizes = [ { name: '红色武器', weight: 1.2 }, { name: '橙色武器', weight: 15.0 }, { name: '紫色武器', weight: 33.4 }, { name: '蓝色武器', weight: 27.9 }, { name: '突破材料', weight: 9.35 }, { name: '螺母箱', weight: 9.35 }, ]; }

return prizes; } //按照指定概率抽出奖品种类 function pullPrizeType(prizes) { let type = { name: , weight: 0 }, weightSum = 0; let prizeWeight = prizes.map(({ weight }) => weight); weightSum = prizeWeight.reduce(function (prev, currVal) { return floatAdd(prev, currVal); }, 0);

let randomNumber = Math.random() * weightSum, pri = 0;

for (let i = 0; i < prizes.length; i++) { pri += prizes[i].weight; if (pri >= randomNumber) { type = prizes[i]; break; } } return type; }

function pullPrize(type) { if (type.name === 'S构造体') { let index = S.findIndex(({ name }) => current.character.name == name); let upWeight = poolData[current.pid].percentage.replace(/[^\d]/g, ' '); current.promiseS = 0; current.promiseA = 0;

// 100%up // if (index === 0) { // return S[0]; // } // 校准系统启动 if (current.jiaozhun === true && index !== -1) { current.jiaozhun = false; poolData[current.pid].jiaozhun = false; return S[index]; } if (index === -1) { // 没有选取任何S构造体up (注:刚好作为基准池判断) let i = selectFrom(2, S.length); return S[i - 1]; } // 选取了S构造体up let weightS = floatMul(Math.random(), 100); if (weightS <= upWeight) { // 没歪,直接返回index return S[index]; } else { let i; do { i = selectFrom(1, S.length); } while (i - 1 === index);

current.jiaozhun = true; poolData[current.pid].jiaozhun = true; // 歪出一个不是up的i return S[i - 1]; } } if (type.name === 'A构造体') { let index = A.findIndex(({ name }) => current.character.name == name); let upWeight = poolData['standardA'].percentage.replace(/[^\d]/g, ' ');

current.promiseA = 0;

if (current.pid === 'BRSA') { return BRSA[0]; }

if (index === -1) { // 没有选取任何A构造体up let i = selectFrom(1, A.length); return A[i - 1]; }

// 选取了A构造体up let weightA = floatMul(Math.random(), 100); if (weightA <= upWeight) { // 没歪,直接返回index return A[index]; } else { let i; do { i = selectFrom(1, A.length); } while (i - 1 === index); // 歪出一个不是up的i

return A[i - 1]; } } if (type.name === 'B构造体') { let index = selectFrom(1, B.length); current.promiseA = 0; return B[index - 1]; } if (type.name === 'S独域机体') { let index = T.findIndex(({ name }) => current.character.name == name); let upWeight = poolData[current.pid].percentage.replace(/[^\d]/g, ' '); // let index = selectFrom(1, T.length); current.promiseT = 0;

if (index === -1) { // 没有选取任何up let i = selectFrom(1, T.length); return T[i - 1]; } // 选取了up let weightT = floatMul(Math.random(), 100); if (weightT <= upWeight) { // 没歪,直接返回index return T[index]; } else { let i; do { i = selectFrom(1, T.length); } while (i - 1 === index);

// 歪出一个不是up的i return T[i - 1]; } } if (type.name === '角色碎片') { let index = selectFrom(1, S.length + A.length + B.length), arr = [...S, ...A, ...B];

let obj = JSON.parse(JSON.stringify(arr[index - 1])); obj.name = `${obj.name}碎片×2`;

return obj; } if (type.name === '紫色意识') { let index = selectFrom(1, memories4.length); return memories4[index - 1]; } if (type.name === '经验材料') { let index = selectFrom(1, expPods.length); return expPods[index - 1]; } if (type.name === '突破材料') { let index = selectFrom(1, overClock.length); return overClock[index - 1]; } if (type.name === '螺母箱') { let index = selectFrom(1, cogs.length); return cogs[index - 1]; } if (type.name === '红色武器') { let index = weapon6.findIndex(({ name }) => current.character.name == name); let upWeight = parseInt( poolData[current.pid].percentage .substring(poolData[current.pid].percentage.length - 3, poolData[current.pid].percentage.length - 1) .replace(/[^0-9]/g, ' ') );

current.promiseW6 = 0; current.promiseW5 = 0;

if (current.pid === 'BRSWeapon') { return BRSWeapon6[0]; }

if (index === -1) { let i = selectFrom(1, weapon6.length); return weapon6[i - 1]; } else { let weight6 = floatMul(Math.random(), 100); console.log(weight6, upWeight); if (weight6 <= upWeight) { return weapon6[index]; } else { let i; do { i = selectFrom(1, weapon6.length); } while (i - 1 === index); // 歪出一个不是up的i return weapon6[i - 1]; } } } if (type.name === '橙色武器') { let index = selectFrom(1, weapon5.length); current.promiseW5 = 0;

if (current.pid === 'BRSWeapon') { return BRSWeapon5[0]; }

return weapon5[index - 1]; } if (type.name === '紫色武器') { let index = selectFrom(1, weapon4.length); return weapon4[index - 1]; } if (type.name === '蓝色武器') { let index = selectFrom(1, weapon3.length); return weapon3[index - 1]; } if (type.name === 'S级支援单位') { let index = suS.findIndex(({ name }) => current.character.name == name); let upWeight = poolData[current.pid].percentage.replace(/[^\d]/g, ' ');

current.promiseSUS = 0; current.promiseSUA = 0;

if (index === -1) { let i = selectFrom(1, suS.length); return suS[i - 1]; } // 选取了S构造体up let weightSUS = floatMul(Math.random(), 100); if (weightSUS <= upWeight) { // 没歪,直接返回index return suS[index]; } else { let i; do { i = selectFrom(1, suS.length); } while (i - 1 === index);

// 歪出一个不是up的i return suS[i - 1]; } } if (type.name === 'A级支援单位') { current.promiseSUA = 0; let index = selectFrom(1, suA.length); return suA[index - 1]; } if (type.name === '支援单位经验材料') { let index = selectFrom(1, suExp.length); return suExp[index - 1]; } if (type.name === '支援单位突破材料') { let index = selectFrom(1, suOverClock.length); return suOverClock[index - 1]; } if (type.name === '支援技能元件') { let index = selectFrom(1, suSkillPoint.length); return suSkillPoint[index - 1]; } if (type.name === '支援单位碎片') { let index = selectFrom(1, suS.length + suA.length), arr = [...suS, ...suA];

let obj = JSON.parse(JSON.stringify(arr[index - 1])); obj.name = `支援架构零件-${obj.name}`; return obj; } }

function collectResult(type, prize) { if (type.name == 'S构造体' || type.name == 'S独域机体' || type.name === '红色武器' || type.name === 'S级支援单位') { prize = { ...prize, level: 6 }; current.result.push(prize); updateHistory(prize); } if (type.name == 'A构造体' || type.name == 'B构造体' || type.name === '橙色武器' || type.name === 'A级支援单位') { prize = { ...prize, level: 5 }; current.result.push(prize);

if (checkA && type.name == 'A构造体') { updateHistory(prize); } } if (type.name == '角色碎片' || type.name === '支援单位碎片') { prize = { ...prize, level: 4 }; prize.mainIcon = prize.shardsIcon; current.result.push(prize); } if ( type.name === '紫色意识' || type.name === '紫色武器' || type.name === '经验材料' || type.name === '支援技能元件' || type.name === '螺母箱' ) { prize = { ...prize, level: 4 }; current.result.push(prize); } if (type.name === '蓝色武器') { prize = { ...prize, level: 3 } current.result.push(prize); } if (type.name === '突破材料') { if (prize.name.includes('初')) { prize = { ...prize, level: 3 } } else { prize = { ...prize, level: 4 } } current.result.push(prize); } if (type.name === '支援单位经验材料' || type.name === '支援单位突破材料') { if (prize.name.includes('小')) { prize = { ...prize, level: 3 } } else { prize = { ...prize, level: 4 } } current.result.push(prize); } } function renderResult() { current.result.forEach((item, index) => { $$('.research-item')[index].children.item(0).children.item(0).src = item.mainIcon || ;

if (item.level == 1) { $$('.research-item')[index].children.item(0).children.item(1).src = 'https://patchwiki.biligame.com/images/zspms/0/07/1kwvd6t3wj5tace1humo5xdyyu16s0m.png' } else if (item.level == 2) { $$('.research-item')[index].children.item(0).children.item(1).src = 'https://patchwiki.biligame.com/images/zspms/b/b2/sojg1c1kyyl566h1y1m4bp4byfp3grn.png' } else if (item.level == 3) { $$('.research-item')[index].children.item(0).children.item(1).src = 'https://patchwiki.biligame.com/images/zspms/7/7b/icf52pmud72q3uioui1bqkzc2tbgikv.png' } else if (item.level == 4) { $$('.research-item')[index].children.item(0).children.item(1).src = 'https://patchwiki.biligame.com/images/zspms/8/81/1869rgd9roqf8vzqs03hiacgt1lhvrd.png' } else if (item.level == 5) { $$('.research-item')[index].children.item(0).children.item(1).src = 'https://patchwiki.biligame.com/images/zspms/a/a0/oeojcqaefhdl1ivce9islsznzfo6i4q.png' } else { $$('.research-item')[index].children.item(0).children.item(1).src = 'https://patchwiki.biligame.com/images/zspms/6/60/9v5omr0pr3f6e7uw9dvkt55wb8eayda.png' }

let colors = ['#808080', '#71b771', '#3e70ba', '#cb68c2', '#ff8d1c', '#fb5824']; $$('.research-item')[index].children.item(1).style.display = 'inline-block'; $$('.research-item')[index].children.item(1).style.color = colors[item.level - 1]; $$('.research-item')[index].children.item(1).innerText = item.name; });

if (current.pid == 'transcendantS') { $('#present').innerText = current.promiseT; } if (['arrivalS', 'fateArrivalS', 'standardA'].includes(current.pid)) { $('#present').innerText = current.promiseS; } if (current.pid == 'weapon' || current.pid == 'BRSWeapon') { $('#present').innerText = current.promiseW6; } if (current.pid == 'supportUnit') { $('#present').innerText = current.promiseSUS; }

if (current.pid == 'BRSA') { $('#present').innerText = current.promiseS; }

current.jiaozhun ? ($('.jiaozhun').style.opacity = 1) : ($('.jiaozhun').style.opacity = 0); } function clearResult() { $$('.research-item').forEach(item => { item.children.item(0).children.item(0).src = ; item.children.item(0).children.item(1).src = ; item.children.item(1).innerText = ; });

current.result = []; } function updateHistory(prize) { const div = document.createElement('div'); div.classList = ['research-history-item'];

div.innerHTML = `

${current.count}

${prize.name}

`;

$('#research-history').insertBefore(div, $('#research-history').children.item(0)); } function clearHistory() { $('#research-history').innerHTML = ; }

//平均随机值计算 function selectFrom(lowerValue, upperValue) { let choies = upperValue - lowerValue + 1; return Math.floor(Math.random() * choies + lowerValue); } //加 function floatAdd(arg1, arg2) { var r1, r2, m; try { r1 = arg1.toString().split('.')[1].length; } catch (e) { r1 = 0; } try { r2 = arg2.toString().split('.')[1].length; } catch (e) { r2 = 0; } m = Math.pow(10, Math.max(r1, r2)); return (arg1 * m + arg2 * m) / m; } //减 function floatSub(arg1, arg2) { var r1, r2, m, n; try { r1 = arg1.toString().split('.')[1].length; } catch (e) { r1 = 0; } try { r2 = arg2.toString().split('.')[1].length; } catch (e) { r2 = 0; } m = Math.pow(10, Math.max(r1, r2)); //动态控制精度长度 n = r1 >= r2 ? r1 : r2; return ((arg1 * m - arg2 * m) / m).toFixed(n); } //乘 function floatMul(arg1, arg2) { var m = 0, s1 = arg1.toString(), s2 = arg2.toString(); try { m += s1.split('.')[1].length; } catch (e) {} try { m += s2.split('.')[1].length; } catch (e) {} return (Number(s1.replace('.', )) * Number(s2.replace('.', ))) / Math.pow(10, m); } //除 function floatDiv(arg1, arg2) { var t1 = 0, t2 = 0, r1, r2; try { t1 = arg1.toString().split('.')[1].length; } catch (e) {} try { t2 = arg2.toString().split('.')[1].length; } catch (e) {}

r1 = Number(arg1.toString().replace('.', ));

r2 = Number(arg2.toString().replace('.', ));

return floatMul(r1 / r2, Math.pow(10, t2 - t1)); }

}]); </script>