267 Commits

Author SHA1 Message Date
Jiang 066f1fd060 support build docker images (#358)
* add docker build file

* add host to avoid host check error

* Revert "add host to avoid host check error"

This reverts commit a0b8507895.
2021-12-10 17:38:45 +08:00
Vick Scarlet 162eaffd1d update specialthanks 2021-12-04 19:55:48 +08:00
Vick Scarlet b5a4db5224 new bundle 2021-11-24 11:24:01 +08:00
zhowiny 09b3aeb8c5 fix condition bug 2021-11-24 11:14:58 +08:00
Vick Scarlet c83ceef3c4 update data 2021-11-24 11:13:05 +08:00
Vick Scarlet 221e5219f0 update specialthanks 2021-11-16 23:50:47 +08:00
Vick Scarlet 145dfe964d update specialthanks 2021-11-10 16:11:26 +08:00
Vick Scarlet bf9702e3a1 update specialthanks 2021-11-05 02:04:48 +08:00
Vick Scarlet b3f1e6c9c5 update specialthanks 2021-10-31 22:20:17 +08:00
Vick Scarlet 960f3137c6 add halloween theme 2021-10-31 02:09:55 +08:00
Vick Scarlet e38daf3ebb update specialthanks 2021-10-28 23:21:20 +08:00
Vick Scarlet e72d16f811 update specialthanks 2021-10-25 01:44:34 +08:00
Vick Scarlet dea6001234 update specialthanks 2021-10-21 19:35:34 +08:00
Vick Scarlet 67d7584a6e update specialthanks 2021-10-15 22:05:31 +08:00
Vick Scarlet 417e386412 update specialthanks 2021-10-12 22:31:31 +08:00
Vick Scarlet c3d556ed80 update specialthanks 2021-10-11 11:45:41 +08:00
Vick Scarlet af24e69848 update specialthanks 2021-10-10 00:06:53 +08:00
Vick Scarlet 6d2f1df0da update specialthanks 2021-10-06 20:30:27 +08:00
Vick Scarlet 037db837b2 update specialthanks 2021-10-06 03:06:41 +08:00
Vick Scarlet e91fab8a94 add space to next 2021-10-06 02:21:18 +08:00
Vick Scarlet b65ef06acd update specialthanks 2021-10-04 10:21:26 +08:00
Vick Scarlet 10527e4480 update specialthanks 2021-10-02 18:09:56 +08:00
Nathan Du 25d1d4f4bc amend documentation 2021-10-02 16:34:50 +08:00
Nathan Du b8fcb7203d rename viewProperty to showProperty 2021-10-02 16:34:50 +08:00
Nathan Du 79e21a1156 allow viewing current attributes during trajectory[sic]
补上了查看当前属性的功能。
命令行端的功能现在应该和 web 端差不多了。
||为什么要给查看当前属性的功能取 getLastRecord 这样奇怪的名字||
2021-10-02 16:34:50 +08:00
Nathan Du 70d0b4460a use reverse video in place of background color
这个修改之前,稀有天赋之类的在某些终端配色方案下根本看不清写了什么。
改用反色后一般就没问题了。
2021-10-02 16:34:50 +08:00
Nathan Du 40b1ba3542 change aliases for /alloc
移除 allocation 指令,增加效果相同的 allocate,attrib 和 attribute 指令
使用动词替换名词作为指令的称呼我认为理所当然
把 attrib 和 attribute 定义为 alloc 的同义词是因为我想要添加在人生当中
知道自己现在属性的功能(web 版有的功能居然没有在命令行版中)
2021-10-02 16:34:50 +08:00
Nathan Du 274290cc5b default to next when no command is given
当你学会命令行版如何操作以后,n 就绝对会是你用到最多的指令(除非开 at)
为了减少不必要的操作,把 n 设成了默认操作
不过不知道会不会让本来开 at 的玩家选择按住回车呢(笑
2021-10-02 16:34:50 +08:00
Nathan Du fa6aa9bc7d tweak interface text and add command hint
指明在天赋抽卡、属性分配和继承天赋需要用的指令。
在英文单词和阿拉伯数字周围加了空格(因为好看!)
2021-10-02 16:34:50 +08:00
Nathan Du b18c41349d add help note
不打指令默认 help 对于目前可怕的交互而言还好,但……
2021-10-02 16:34:50 +08:00
Vick Scarlet b36f20c0d7 update specialthanks 2021-10-01 17:19:37 +08:00
Vick Scarlet 75a1d3c5aa update specialthanks 2021-09-29 20:40:15 +08:00
神戸小鳥 78ab0fee06 add other version 2021-09-28 22:35:11 +08:00
神戸小鳥 1b8fe068f7 add other version 2021-09-28 22:33:43 +08:00
qizhongchun 204635a84b 调整初始属性界面,PC或平板小屏颜值属性展示不完整 2021-09-28 22:25:33 +08:00
Vick Scarlet 21d6df56a4 update specialthanks 2021-09-27 22:09:06 +08:00
Vick Scarlet 514adffb9c update specialthanks 2021-09-26 21:37:48 +08:00
Vick Scarlet 0006634e5d update specialthanks 2021-09-25 22:03:13 +08:00
Vick Scarlet fe79670273 update specialthanks 2021-09-23 20:11:12 +08:00
Vick Scarlet f11af0da02 update specialthanks 2021-09-22 22:28:43 +08:00
Vick Scarlet fbd56604c0 update specialthanks 2021-09-21 22:30:08 +08:00
Vick Scarlet 296e2665b5 update specialthanks 2021-09-20 23:19:03 +08:00
Vick Scarlet 70b6129c6e change input number style 2021-09-20 23:14:03 +08:00
Vick Scarlet aa84c5f8a2 update specialthanks 2021-09-19 22:43:20 +08:00
Yurun 8b0a237ce4 属性输入框增加 type="number" 2021-09-19 13:48:30 +08:00
Vick Scarlet 6f89bc68fe update specialthanks 2021-09-18 22:13:01 +08:00
Vick Scarlet 48f7941e64 update specialthanks 2021-09-17 23:36:58 +08:00
Vick Scarlet 2557e76761 update data 2021-09-17 00:16:09 +08:00
Vick Scarlet b2d556a9f4 update specialthanks 2021-09-15 23:28:27 +08:00
Vick Scarlet b1faf87dc0 add S/L 2021-09-15 20:36:22 +08:00
Vick Scarlet 12b5d2d042 update xlsxTransform to vTransform 2021-09-15 13:56:55 +08:00
REN 64dc0a5b1d 修改了test文件的一处错误 2021-09-15 11:39:39 +08:00
Vick Scarlet 4e63afbfc6 update data 2021-09-14 22:01:20 +08:00
Vick Scarlet f8f863cada update data 2021-09-14 17:32:53 +08:00
qizhongchun 441e67a462 age 500 几率问题 2021-09-14 17:30:50 +08:00
Vick Scarlet c01cdfd4e6 update data 2021-09-14 13:06:21 +08:00
Vick Scarlet a4e609f927 update data 2021-09-13 22:29:37 +08:00
Vick Scarlet ccb8be24d5 update data 2021-09-13 20:59:01 +08:00
Vick Scarlet 8d4cd08e2e update data 2021-09-13 14:14:19 +08:00
Vick Scarlet a40c5e3951 update data 2021-09-13 10:55:32 +08:00
Vick Scarlet 06de7417a8 update data 2021-09-12 23:35:28 +08:00
Vick Scarlet b4d1d757e1 update data 2021-09-12 23:03:04 +08:00
Vick Scarlet 574df2b670 update data 2021-09-12 22:44:27 +08:00
Vick Scarlet a5c26a8d68 fix replacement data 2021-09-12 22:23:46 +08:00
Vick Scarlet 866acdb8b2 update data
add replacemant talent
add random property
2021-09-12 22:04:45 +08:00
RomEYer-AwELF b833713afe 为什么布局又乱了呢? 2021-09-12 19:29:35 +08:00
Vick Scarlet 7db04c03d7 update data 2021-09-12 17:49:14 +08:00
Vick Scarlet b13c6aa488 update data 2021-09-12 11:03:09 +08:00
Vick Scarlet 1c1a2315a0 update data 2021-09-12 10:47:39 +08:00
Vick Scarlet 38ac352795 update data 2021-09-11 22:21:18 +08:00
Vick Scarlet 2c9392de8d update data 2021-09-11 18:11:38 +08:00
Vick Scarlet 71507e0164 update data 2021-09-11 18:01:34 +08:00
Vick Scarlet 74e8a7b34f update data 2021-09-11 17:07:31 +08:00
Vick Scarlet 5031b089ff update data 2021-09-11 16:39:36 +08:00
Vick Scarlet 8a265a2e84 update data 2021-09-11 16:29:59 +08:00
Vick Scarlet fb7d78ef83 update data 2021-09-11 16:06:52 +08:00
Vick Scarlet 65be1b4f40 fix lifeProperty 2021-09-11 12:46:39 +08:00
Vick Scarlet 77f483bd18 update data 2021-09-11 11:24:36 +08:00
Vick Scarlet a52178b5f8 update data 2021-09-11 11:01:07 +08:00
Vick Scarlet 1e4670c112 update csv 2021-09-11 10:49:30 +08:00
Vick Scarlet ed0a5de025 update data 2021-09-11 10:22:58 +08:00
Vick Scarlet c73d2ebae6 update data 2021-09-11 10:21:07 +08:00
Vick Scarlet f048e0bbc2 update data 2021-09-11 10:05:52 +08:00
Vick Scarlet 7654b2a212 update data 2021-09-11 09:45:44 +08:00
Dafrok cf1acb64bf refine: button selection style 2021-09-11 01:41:01 +08:00
Vick Scarlet 6433c737d7 add rank btn 2021-09-10 21:45:55 +08:00
Zhuobin Zhang 1e816faf00 more conspicuous button selection state 2021-09-10 18:28:38 +08:00
Zhuobin Zhang e876fc7768 fix: missing public path '/lib' in webpack config 2021-09-10 18:28:38 +08:00
Vick Scarlet a59bce865f update data 2021-09-10 15:42:42 +08:00
Vick Scarlet 1003a78a2a add autoplay auto selece extend 2021-09-10 15:00:59 +08:00
Bryan Lee 92d739ce24 docs: update README and fix typo 2021-09-10 13:30:42 +08:00
Vick Scarlet 5754749af2 update data 2021-09-10 13:27:03 +08:00
Vick Scarlet 398be68058 update data 2021-09-10 13:24:02 +08:00
Vick Scarlet efcae96a5a change achievement grade 2021-09-10 13:18:42 +08:00
Vick Scarlet 55caf12417 add talent achievement rate 2021-09-10 13:16:44 +08:00
Vick Scarlet 166f3b8a58 change achievement sort 2021-09-10 12:22:04 +08:00
Vick Scarlet 7330c24635 update data 2021-09-10 11:58:38 +08:00
Vick Scarlet d2f3392722 add achievement 2021-09-10 11:24:24 +08:00
Vick Scarlet e06139d5c0 add achievement 2021-09-09 23:05:56 +08:00
Vick Scarlet d72b6c553f change property 2021-09-09 23:05:56 +08:00
Vick Scarlet 3727c5077b update data 2021-09-09 23:05:34 +08:00
Vick Scarlet 6234612bef update data 2021-09-09 23:03:31 +08:00
Vick Scarlet 85ea1c9149 update data 2021-09-09 17:21:32 +08:00
Vick Scarlet 44e05a166e update xlsxTransform 2021-09-09 13:24:40 +08:00
Vick Scarlet 3a9149e9a4 update data 2021-09-09 10:24:46 +08:00
Vick Scarlet 20288a686b update data 2021-09-08 22:24:27 +08:00
Vick Scarlet 8d280345ed new bundle 2021-09-08 21:38:36 +08:00
神戸小鳥 0e22119a38 Merge pull request #230 from wwhyes/master
style:优化页面布局
2021-09-08 21:37:52 +08:00
神戸小鳥 0ba0286d9c Merge branch 'master' into master 2021-09-08 21:37:36 +08:00
wuweihui bbb49741cf style:优化页面布局 2021-09-08 21:24:41 +08:00
Vick Scarlet 538bd7caee update sponsor 2021-09-08 21:17:55 +08:00
菜狗 f63bcad8eb fixbug (STR<3)&((MNY<3)&(EVT?[10009]) > (STR<3)&(MNY<3)&(EVT?[10009]) 2021-09-08 20:08:59 +08:00
Vick Scarlet e420fdf8fd update data & special thanks 2021-09-08 13:14:50 +08:00
Vick Scarlet 418734cfce change package.json 2021-09-08 12:58:11 +08:00
Vick Scarlet d08efd4d3c update data 2021-09-08 12:54:25 +08:00
Vick Scarlet 0e919dcb8a update build 2021-09-08 12:35:13 +08:00
Vick Scarlet 31034b064d fix issue #214 #195 2021-09-08 11:59:47 +08:00
神戸小鳥 a36ef5953b Merge pull request #211 from Icingworld/patch-1
Update app.js
2021-09-08 10:55:21 +08:00
Vick Scarlet 73405837c9 update build 2021-09-08 10:49:45 +08:00
神戸小鳥 aa887b5b08 Merge pull request #213 from raven3005672/feature/enter-press
MOD: 调整回车键逻辑
2021-09-08 10:48:08 +08:00
神戸小鳥 59b8d32232 Merge branch 'master' into feature/enter-press 2021-09-08 10:47:05 +08:00
Vick Scarlet 4c0fc07ff8 update style add TMS property 2021-09-08 10:43:01 +08:00
Vick Scarlet e18c730d1e update data 2021-09-08 08:29:49 +08:00
Vick Scarlet 37196e1924 update specialthanks 2021-09-08 08:22:27 +08:00
yanglinbj01 96178012d4 MOD: 调整回车键逻辑 2021-09-08 00:56:45 +08:00
Vick Scarlet 6e135949fe update build 2021-09-07 21:43:16 +08:00
Vick Scarlet 4964b01eac fix: dom-to-image add: specialthanks 2021-09-07 21:41:12 +08:00
Icingworld 40ad57dd93 Update app.js 2021-09-07 20:32:25 +08:00
Vick Scarlet 3f3d6dda0f update data 2021-09-07 18:23:37 +08:00
wz930206 476cafdc4a 新增"人生回放"按钮保存图片功能,目前支持微信浏览器和普通浏览器 2021-09-07 16:49:32 +08:00
Vick Scarlet 01d6cdbff4 update data 2021-09-07 15:59:39 +08:00
Vick Scarlet df6b130b56 update data 2021-09-07 15:51:52 +08:00
Chaorui Bi 32d7d4b824 fix: 本地调试时html无法访问src下文件,故修复 2021-09-07 12:09:34 +08:00
Arnoldosmium 3b83c7b9e3 change triggered talents to a map + make age related talents multi-triggerable 2021-09-07 12:08:04 +08:00
Hanlin Shi e3f93818d6 Add action to run npm test
Signed-off-by: Hanlin Shi <shihanlin9@gmail.com>
2021-09-07 12:07:51 +08:00
Vick Scarlet 598601cbf2 update data 2021-09-07 12:03:30 +08:00
Vick Scarlet 7766ceb607 update date 2021-09-06 21:32:14 +08:00
Vick Scarlet 3b20e05769 change readme discord badge 2021-09-06 18:15:55 +08:00
Vick Scarlet b6bbdde260 update new date 2021-09-06 15:48:35 +08:00
Vick Scarlet 824a4a229f update readme 2021-09-06 15:29:04 +08:00
Xiaoshu Lin 2a3d811187 <fix>亮色主题下属性不显示 2021-09-06 15:15:01 +08:00
Vick Scarlet 403621be40 fix: style bug 2021-09-06 15:13:35 +08:00
Vick Scarlet 84785f3e40 bug fix 2021-09-06 14:40:05 +08:00
Vick Scarlet 1b7ae5f1ff update new build 2021-09-06 14:12:17 +08:00
shadowdreamer 4a5127fecf feat: 选三个天赋之后按钮文案变化,加点页面显示已选天赋 2021-09-06 14:08:16 +08:00
Vick Scarlet 1c8628bb3d update new build 2021-09-06 10:11:24 +08:00
liuxu 160aab5bc2 fix SPR 2021-09-06 09:33:55 +08:00
Chen Yun eff286199f 在人生活动界面增加实时更新的数值 2021-09-06 03:53:48 +08:00
infinityedge 175f9f869f Update app.js 2021-09-06 03:52:26 +08:00
infinityedge 43d621324a Update app.js 2021-09-06 03:52:26 +08:00
infinityedge d60d8bab51 Update app.js 2021-09-06 03:52:26 +08:00
神戸小鳥 b849b6bf7e Merge pull request #133 from RomEYer-AwELF/master
调整样式(已经合并了先前修改)
2021-09-06 01:27:42 +08:00
zhangenming 1cf073bc51 use Promise.all for concurrency 2021-09-06 01:19:43 +08:00
Vick Scarlet d86f2330d5 fix repl bug 2021-09-05 23:32:17 +08:00
Vick Scarlet ee461384b2 update readme 2021-09-05 22:53:06 +08:00
Vick Scarlet 6928367884 update help 2021-09-05 22:44:04 +08:00
Vick Scarlet caf08695d1 add repl version 2021-09-05 22:03:44 +08:00
Vick Scarlet 2ec9fc5412 update data 2021-09-05 18:39:20 +08:00
RomEYer-AwELF 156ef662f4 合并修改 2021-09-05 12:25:26 +08:00
RomEYer-AwELF 16bda15111 Merge remote-tracking branch 'origin/master' into master
# Conflicts:
#	view/light.css
2021-09-05 12:18:12 +08:00
RomEYer-AwELF 6789db0997 调整样式 2021-09-05 12:17:05 +08:00
Vick Scarlet cea157765e update new build from pr 2021-09-05 11:42:24 +08:00
jingyuexing bcdb452aa3 change encoding to UTF-8 2021-09-05 10:22:06 +08:00
jingyuexing 2346935149 XLS files convert to CSV files 2021-09-05 10:22:06 +08:00
Brayn Lee f730eaa0e6 fix(style): fix the issue mentioned in #127 2021-09-05 10:20:39 +08:00
Brayn Lee 7e808e1bde docs: update README.md 2021-09-05 10:19:06 +08:00
RomEYer-AwELF 22794d3f71 调整样式 2021-09-05 10:16:02 +08:00
Brayn Lee 0195c857d5 fix: fix some issues 2021-09-04 23:48:45 +08:00
RomEYer-AwELF f105be1882 稍微改了下样式(x 2021-09-04 23:46:44 +08:00
lyc 313dc29a9a add pwa support 2021-09-04 23:40:07 +08:00
lyc ac78231a78 add pwa restart 2021-09-04 23:40:07 +08:00
Vick Scarlet b73e547732 Merge branch 'master' of https://github.com/VickScarlet/lifeRestart 2021-09-04 22:26:39 +08:00
Vick Scarlet 94781e78b0 add google ad head 2021-09-04 22:26:32 +08:00
ViavaCos 86126e7444 style: fix style issue 2021-09-04 14:41:51 +08:00
神戸小鳥 c758f13a10 Merge pull request #69 from KKKKKyle/master
fix 出现两次“拿到第一部手机”
2021-09-04 13:15:35 +08:00
Vick Scarlet d866dc6d7b module load src/index.js 2021-09-04 12:58:21 +08:00
Vick Scarlet c358af923a some fix from pr 2021-09-04 12:53:27 +08:00
神戸小鳥 666862a6b2 Merge pull request #73 from Snarna/master
添加简单的黑色主题模式 和 简单的bug修复
2021-09-04 12:43:17 +08:00
神戸小鳥 325146e161 Merge branch 'master' into master 2021-09-04 12:41:30 +08:00
Vick Scarlet 48c1b9a6cc some fix from pr 2021-09-04 12:35:35 +08:00
SukkaW 2c4b276686 fix: hideBanners being undefined 2021-09-04 12:31:23 +08:00
SukkaW dbac251c76 refactor: use fetch api instead of axios 2021-09-04 12:22:27 +08:00
Vick Scarlet 0cee643697 update style 2021-09-04 10:34:38 +08:00
Vick Scarlet d3eddf16d3 change meta 2021-09-04 10:05:53 +08:00
Snarna a90f88049b Fix Discord button SVG size. 2021-09-03 18:40:09 -04:00
Snarna af4fca2e71 Relocate dark theme toggle button. 2021-09-03 18:31:41 -04:00
Snarna e2fe7ef955 Fix incorrect HTML layout. 2021-09-03 18:31:20 -04:00
Benjamin 59678748a8 Merge branch 'VickScarlet:master' into master 2021-09-03 18:10:47 -04:00
Vick Scarlet d719f2fcbf change badge style 2021-09-04 01:51:46 +08:00
Vick Scarlet f1f8172f4e add discord 2021-09-04 01:42:49 +08:00
Vick Scarlet cbe51784ba add discord 2021-09-04 01:36:15 +08:00
Vick Scarlet c27bac4ea1 add discord 2021-09-04 01:35:38 +08:00
Vick Scarlet da874adcad add discord 2021-09-04 01:13:41 +08:00
Snarna 4b1433f22a Add simple dark mode. 2021-09-03 12:28:48 -04:00
Chentao Wang 4d22567ad4 fix 出现两次“拿到第一部手机”
bug出现的原因应该是exclude "(MNY>7)&(EVT?[10412])" 这里写错了,应该是或:"(MNY>7)|(EVT?[10412])"
2021-09-03 23:28:49 +08:00
Vick Scarlet 3c42cfb546 bundle with pr 2021-09-03 21:43:26 +08:00
beautyyuyanli b0ef08c0c2 forbid user-select for .propbtn 2021-09-03 21:41:07 +08:00
beautyyuyanli a839eb18cd use blanks instead of tab 2021-09-03 21:41:07 +08:00
beautyyuyanli dcba35d5ae forbid user-select 2021-09-03 21:41:07 +08:00
神戸小鳥 5778ddc0b9 Merge pull request #31 from jiajiu123/master
修改错别字
2021-09-03 21:38:48 +08:00
神戸小鳥 bc4244c99a Merge branch 'master' into master 2021-09-03 21:32:08 +08:00
sora233 5191569e3e fix point bug 2021-09-03 21:27:24 +08:00
Vick Scarlet bb830fa313 add source version 2021-09-03 21:13:43 +08:00
Vick Scarlet e7427f564c change babel config 2021-09-03 21:04:08 +08:00
Vick Scarlet 0350ec09c4 add webpack 2021-09-03 20:49:04 +08:00
jiajiu123 99d445638f Update app.js 2021-09-03 18:06:57 +08:00
Vick Scarlet 6cb60663b6 remove ad 2021-09-03 15:21:50 +08:00
Vick Scarlet fe761241b3 remve ad 2021-09-03 15:21:16 +08:00
Vick Scarlet 549d9de5ca add github 2021-09-03 15:20:10 +08:00
Vick Scarlet 36d8f30fe2 test ads 2021-09-03 14:35:25 +08:00
Vick Scarlet a0974704c3 test ads 2021-09-03 14:33:52 +08:00
Vick Scarlet 177cd4c34e test ads 2021-09-03 14:31:33 +08:00
Vick Scarlet b3dd499e17 test ads 2021-09-03 14:20:15 +08:00
Vick Scarlet ee5842bb1f add google ad 2021-09-03 14:00:23 +08:00
Vick Scarlet 62acdc845f fix undead bug 2021-09-03 10:52:24 +08:00
Vick Scarlet 1583a631a5 bug fix data 2021-09-03 10:31:20 +08:00
Vick Scarlet d66495a74c fix data bug 2021-09-03 00:13:11 +08:00
Vick Scarlet 754f376a8a update data 2021-09-03 00:03:52 +08:00
Vick Scarlet 9b68b4ae3b update data 2021-09-02 23:43:46 +08:00
Vick Scarlet d7425207f5 mv _layouts 2021-09-02 19:49:47 +08:00
Vick Scarlet 3e1802b7b1 update _layout 2021-09-02 19:46:56 +08:00
Vick Scarlet ede460a17e update data 2021-09-02 17:53:06 +08:00
Vick Scarlet 9fff9d60dc update data 2021-09-02 16:22:45 +08:00
Vick Scarlet 53117ac442 update data 2021-09-01 16:08:24 +08:00
Vick Sacrlet dbbc79ce14 update data 2021-08-31 19:25:07 +08:00
神戸小鳥 09ff6214f0 Create CNAME 2021-08-24 08:36:25 +08:00
Vick Scarlet d95af3dc9c update data 2021-08-22 17:03:58 +08:00
Vick Scarlet 7b14f93417 update data add talent exclusive 2021-08-22 16:46:13 +08:00
Vick Scarlet 34cbefb31a update data 2021-08-20 20:37:35 +08:00
Vick Scarlet 2208c859e3 change style 2021-08-20 12:25:31 +08:00
Vick Scarlet 051f30403c fix bug 2021-08-20 12:20:12 +08:00
Vick Scarlet a3cc5821f7 bug fix 2021-08-20 11:34:54 +08:00
Vick Scarlet f193389455 bug fix 2021-08-20 11:31:32 +08:00
Vick Scarlet 40b23c6288 update data 2021-08-20 11:23:52 +08:00
Vick Scarlet e682156f9a bug fix 2021-08-19 15:16:12 +08:00
Vick Scarlet 803a1a4438 change talent 2021-08-19 13:08:44 +08:00
Vick Scarlet 9aa9e3fe2d talent bug fix 2021-08-19 09:44:37 +08:00
Vick Scarlet 58b5a57721 bug fix 2021-08-19 09:21:28 +08:00
神戸小鳥 df8ec45e90 Update index.md 2021-08-18 18:14:42 +08:00
Vick Scarlet aa8689ad91 change iconfont 2021-08-18 17:33:53 +08:00
Vick Scarlet 2e3a876803 fix prop random 2021-08-18 17:11:57 +08:00
Vick Scarlet a30798917f fix talent extend 2021-08-18 17:04:31 +08:00
Vick Scarlet 3676c92e6c fix talent extend 2021-08-18 17:03:03 +08:00
Vick Scarlet 710dbbf79f bug fix 2021-08-18 16:52:26 +08:00
Vick Scarlet 07eaf5089a bug fix 2021-08-18 16:50:11 +08:00
Vick Scarlet 8369fc5b9e change hint, summary, data 2021-08-18 16:45:37 +08:00
Vick Scarlet ee1ef21efd add summary 2021-08-18 15:41:58 +08:00
Vick Scarlet 3eff53a5aa change data 2021-08-18 10:30:57 +08:00
Vick Scarlet 4b5fad794c bug fix 2021-08-18 10:30:43 +08:00
Linux User 97cf259560 update data 2021-08-17 14:37:32 +00:00
Vick Scarlet 2147afd81d change data 2021-08-17 21:48:02 +08:00
Vick Scarlet 1331e0a2f0 auto scrollEnd 2021-08-17 21:32:09 +08:00
Linux User e4461b6eaf Merge branch 'gh-pages' 2021-08-17 13:15:12 +00:00
Vick Scarlet 495d4a39ec add record 2021-08-17 21:13:51 +08:00
Vick Scarlet b0e9cbdb0a add default SPR 2021-08-17 21:12:20 +08:00
Vick Scarlet ac7dad64b1 add default SPR 2021-08-17 21:08:04 +08:00
Vick Scarlet c2afe02981 add noRandom 2021-08-17 20:56:54 +08:00
Vick Scarlet 0259472f9a add no Random 2021-08-17 20:55:19 +08:00
Vick Scarlet e6df0dab1f gh-pages 2021-08-17 18:17:26 +08:00
Vick Scarlet 34750ae79e change data key 2021-08-17 17:41:02 +08:00
Vick Scarlet dd194c899a add view 2021-08-17 17:07:14 +08:00
Vick Scarlet 776bc33de1 change test 2021-08-17 12:19:18 +08:00
Vick Scarlet 0865df55ee bug fix 2021-08-17 12:12:25 +08:00
Vick Scarlet df85e62138 add talent life 2021-08-16 23:28:54 +08:00
Vick Scarlet dcc9cd2383 add Event 2021-08-15 22:05:43 +08:00
Vick Scarlet 8d0eb0a600 LICENSE 2021-08-15 11:04:05 +08:00
Vick Scarlet cc72b5a6b3 initial 2021-08-15 11:01:01 +08:00
202 changed files with 103824 additions and 160906 deletions
+2
View File
@@ -0,0 +1,2 @@
node_modules
npm-debug.log
+31
View File
@@ -0,0 +1,31 @@
# This workflow will do a clean install of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Node.js CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x, 16.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm install
- run: npm run build --if-present
- run: npm test
+110
View File
@@ -0,0 +1,110 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
# Runtime data
pids
*.pid
*.seed
*.pid.lock
# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov
# Coverage directory used by tools like istanbul
coverage
*.lcov
# nyc test coverage
.nyc_output
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt
# Bower dependency directory (https://bower.io/)
bower_components
# node-waf configuration
.lock-wscript
# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release
# Dependency directories
node_modules/
jspm_packages/
# TypeScript v1 declaration files
typings/
# TypeScript cache
*.tsbuildinfo
# Optional npm cache directory
.npm
# Optional eslint cache
.eslintcache
# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/
# Optional REPL history
.node_repl_history
# Output of 'npm pack'
*.tgz
# Yarn Integrity file
.yarn-integrity
# dotenv environment variables file
.env
.env.test
# parcel-bundler cache (https://parceljs.org/)
.cache
# Next.js build output
.next
# Nuxt.js build / generate output
.nuxt
dist
# Gatsby files
.cache/
# Comment in the public line in if your project uses Gatsby and *not* Next.js
# https://nextjs.org/blog/next-9-1#public-directory-support
# public
# vuepress build output
.vuepress/dist
# Serverless directories
.serverless/
# FuseBox cache
.fusebox/
# DynamoDB Local files
.dynamodb/
# TernJS port file
.tern-port
utils/xlsxTransform-*
/.idea
__localStorage.json
+3
View File
@@ -0,0 +1,3 @@
{
"esversion": 9
}
+36
View File
@@ -0,0 +1,36 @@
{
// 使用 IntelliSense 了解相关属性。
// 悬停以查看现有属性的描述。
// 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "test",
"program": "${workspaceFolder}/test",
"skipFiles": [
"<node_internals>/**"
]
},
{
"type": "node",
"request": "launch",
"name": "xlsxTransform",
"program": "${workspaceFolder}/utils/xlsxTransform.js",
"args": ["data"],
"skipFiles": [
"<node_internals>/**"
]
},
{
"name": "Attach by Process ID",
"processId": "${command:PickProcess}",
"request": "attach",
"skipFiles": [
"<node_internals>/**"
],
"type": "node"
},
]
}
+15
View File
@@ -0,0 +1,15 @@
FROM node:alpine
ENV NPM_CONFIG_LOGLEVEL info
WORKDIR /usr/src/app
COPY package*.json ./
RUN npm install
COPY . .
EXPOSE 8080
CMD ["yarn", "dev"]
+21
View File
@@ -0,0 +1,21 @@
MIT License
Copyright (c) 2021 神戸小鳥
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
+72
View File
@@ -0,0 +1,72 @@
# Life Restart
<a href="https://discord.gg/U3qrf49NMQ"><img src="https://img.shields.io/discord/883382868427014255?color=%23FEE75C&label=Discord&logo=discord&logoColor=white&style=for-the-badge" /></a>
[English](./README.md) | 简体中文
## 简介
- Game Life Restart
## 使用
<details>
<summary><strong>网页版</strong></summary>
<br />
1. 下载项目代码。
```bash
git clone https://github.com/VickScarlet/lifeRestart.git my-project
cd my-project
```
2. 进入目录安装依赖。
```bash
yarn install
```
或者
```bash
npm install
```
3. 启动本地服务器。
```bash
yarn dev
```
或者
```bash
npm run dev
```
4. 启动完成后会自动打开浏览器访问 [http://localhost:8081/view/index.html](http://localhost:8081/view/index.html)。
</details>
<details>
<summary><strong>控制台版本</strong></summary>
<br />
```bash
node repl
```
</details>
## 其他版本
<details>
<summary><strong>版本列表</strong></summary>
<br />
- Cocos版:[gameall3d/LifeRestart_Cocos](https://github.com/gameall3d/LifeRestart_Cocos)
</details>
> 更多信息请参考 [官网文档](https://liferestart.syaro.io/)。
+71
View File
@@ -0,0 +1,71 @@
# Life Restart
<a href="https://discord.gg/U3qrf49NMQ"><img src="https://img.shields.io/discord/883382868427014255?color=%23FEE75C&label=Discord&logo=discord&logoColor=white&style=for-the-badge" /></a>
English | [简体中文](./README-zh_CN.md)
## Introduction
- Game Life Restart
## Usage
<details>
<summary><strong>Web Version</strong></summary>
<br />
1. Clone project code.
```bash
git clone git@github.com:VickScarlet/lifeRestart.git my-project
cd my-project
```
2. Installation dependence.
```bash
yarn install
```
Or
```bash
npm install
```
3. Start local server.
```bash
yarn dev
```
Or
```bash
npm run dev
```
4. After the startup is complete, will automatically open a browser and visit [http://localhost:8081/view/index.html](http://localhost:8081/view/index.html).
</details>
<details>
<summary><strong>Command Line Version</strong></summary>
<br />
```bash
node repl
```
</details>
## Other Version
<details>
<summary><strong>Versions</strong></summary>
<br />
- Cocos Ver: [gameall3d/LifeRestart_Cocos](https://github.com/gameall3d/LifeRestart_Cocos)
</details>
> More instructions at [documentation](https://liferestart.syaro.io/).
+5 -1
View File
@@ -2,7 +2,10 @@
<html lang="{{ site.lang | default: "en-US" }}">
<head>
<meta charset="UTF-8">
<script data-ad-client="ca-pub-9857163863537600" async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
{% seo %}
<link rel="preconnect" href="https://fonts.gstatic.com">
<link rel="preload" href="https://fonts.googleapis.com/css?family=Open+Sans:400,700&display=swap" as="style" type="text/css" crossorigin>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="theme-color" content="#157878">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
@@ -15,7 +18,8 @@
<header class="page-header" role="banner">
<h1 class="project-name">{{ page.title | default: site.title | default: site.github.repository_name }}</h1>
<h2 class="project-tagline">{{ page.description | default: site.description | default: site.github.project_tagline }}</h2>
<a href="/public/" class="btn">RESTART</a>
<a href="/view/" class="btn">RESTART</a>
<a href="/view/test.html" class="btn">Source Version</a>
{% if site.github.is_project_page %}
<a href="{{ site.github.repository_url }}" class="btn">View on GitHub</a>
{% endif %}
File diff suppressed because it is too large Load Diff
Binary file not shown.
+504
View File
File diff suppressed because one or more lines are too long
+71816
View File
File diff suppressed because it is too large Load Diff
BIN
View File
Binary file not shown.
+1750
View File
File diff suppressed because it is too large Load Diff
+12664
View File
File diff suppressed because it is too large Load Diff
BIN
View File
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large Load Diff
+136
View File
@@ -0,0 +1,136 @@
$id,name,description,condition,grade,status,effect:SPR,effect:MNY,effect:CHR,effect:STR,effect:INT,exclusive[],exclusive[],exclusive[],exclusive[],exclusive[],exclusive[]
序号,天赋名,括号中的内容,触发条件,稀有度,初始可用属性点,额外快乐,额外家境,额外颜值,额外体质,额外智力,互斥天赋,互斥天赋,互斥天赋,互斥天赋,互斥天赋,互斥天赋
1001,随身玉佩,或许有护佑作用,,0,,,,,,,,,,,,
1002,红肚兜,小时候死亡率降低,,0,,,,,,,,,,,,
1003,生而为男,性别一定为男,,1,,,,,,,1004,1025,1024,1113,,
1004,生而为女,性别一定为女,,1,,,,,,,1003,1024,1025,,,
1005,动漫高手,入宅的可能性翻6倍,,2,,,,,,,,,,,,
1006,乐观,快乐+1,,0,,1,,,,,,,,,,
1007,天赋异禀,初始可用属性点+2,,1,2,,,,,,,,,,,
1008,天生抑郁,快乐-3,,0,,-3,,,,,,,,,,
1009,网络巨魔,快乐+2,,1,,2,,,,,,,,,,
1010,天龙人,你拥有北京户口,,2,,,,,,,1012,1013,1014,,,
1011,独生子女,你没有兄弟姐妹,,0,,,,,,,,,,,,
1012,乡间微风,你出生在农村,,0,,,,,,,1010,1013,1014,,,
1013,城中高楼,你出生在城市,,0,,,,,,,1010,1012,1014,,,
1014,美籍华人,你有美国国籍,,2,,,3,,,,1010,1012,1013,,,
1015,家中老大,你最受父母宠爱,,1,,,,,,,,,,,,
1016,水性良好,不会被淹死,,0,,,,,,,,,,,,
1017,先天免疫,你不会得艾滋病,,0,,,,,,,,,,,,
1018,人类进化,所有属性+1,,2,,1,1,1,1,1,,,,,,
1019,超凡,初始可用属性点+4,,2,4,,,,,,,,,,,
1020,父母美貌,颜值+2,,1,,,,2,,,,,,,,
1021,红颜薄命,颜值+2,体质-2,,0,,,,2,-2,,,,,,,
1022,属蛇,不会被蛇咬死,,0,,,,,,,,,,,,
1023,半神,所有属性+2,,3,,2,2,2,2,2,,,,,,
1024,人中龙凤,天生双重性别,,2,,,,,,,1003,1004,1025,,,
1025,阴阳之外,天生无性别,,2,,,,,,,1003,1024,1004,1113,,
1026,彩虹之下,可能和同性交往,,0,,,,,,,1113,,,,,
1027,斩情证道,终生不恋爱结婚,,1,,,,,,,1113,,,,,
1028,桃花连连,恋爱机会提升,,0,,,,,,,,,,,,
1029,平安童年,12岁前父母都健在,,1,,,,,,,,,,,,
1030,宠物大师,宠物不会意外死亡,,0,,,,,,,,,,,,
1031,天生残疾,体质-2,,0,,,,,-2,,,,,,,
1032,早产儿,所有属性-1,,0,,-1,-1,-1,-1,-1,,,,,,
1033,十死无生,体质-10,,0,,,,,-10,,,,,,,
1034,家运不顺,家境-2,,0,,,-2,,,,,,,,,
1035,头着地,智力-2,,0,,,,,,-2,,,,,,
1036,胎教,智力+1,,0,,,,,,1,,,,,,
1037,班中红人,和同学容易处好关系,,0,,,,,,,,,,,,
1038,骑士,能轻松学会骑车,,0,,,,,,,,,,,,
1039,永远的神,电竞天才,,1,,,,,,,,,,,,
1040,戒律,赌毒不沾,,0,,,,,,,,,,,,
1041,丁克,不生孩子,,1,,,,,,,1113,,,,,
1042,少数民族,高考+5分,,0,,,,,,,,,,,,
1043,老司机,你和家人不会发生车祸,,0,,,,,,,,,,,,
1044,低压,你的家人不会心脏病,,0,,,,,,,,,,,,
1045,战功,你退伍后会当官,,0,,,,,,,,,,,,
1046,不孕不育,你生不出孩子,,1,,,,,,,1113,,,,,
1047,白头偕老,爱人至少能活到70岁,,1,,,,,,,,,,,,
1048,神秘的小盒子,100岁时才能开启,,3,,,,,,,,,,,,
1049,三十而立,30岁时家境+2,AGE?[30],0,,,2,,,,,,,,,
1050,四十不惑,40岁时智力+2,AGE?[40],0,,,,,,2,,,,,,
1051,知天命,50岁时智力、快乐+1,AGE?[50],0,,1,,,,1,,,,,,
1052,耳顺,60岁时快乐+2,AGE?[60],0,,2,,,,,,,,,,
1053,从心所欲,70岁时快乐+3,AGE?[70],0,,3,,,,,,,,,,
1054,老当益壮,60岁时体质+2,AGE?[60],1,,,,,2,,,,,,,
1055,鹤发童颜,70岁时颜值+3,AGE?[70],0,,,,3,,,,,,,,
1056,学前启蒙,5岁时智力+2,AGE?[5],1,,,,,,2,,,,,,
1057,十八变,18岁时颜值+2,AGE?[18],1,,,,2,,,,,,,,
1058,迟来之财,90岁时家境+4,AGE?[90],0,,,4,,,,,,,,,
1059,理财达人,40岁时家境+3,AGE?[40],0,,,3,,,,,,,,,
1060,成熟,18岁时智力+2,AGE?[18],1,,,,,,2,,,,,,
1061,形象管理,24岁时颜值+2,AGE?[24],1,,,,2,,,,,,,,
1062,成年礼,18岁时快乐+1,AGE?[18],0,,1,,,,,,,,,,
1063,开光之胎,初始可用属性点+1,,0,1,,,,,,,,,,,
1064,天命,初始可用属性点+8,,3,8,,,,,,,,,,,
1065,祖传药丸,功能不明,,1,,,,,,,,,,,,
1066,精准扶贫,家境为0时家境+1,(MNY<1)&(MNY>-1),0,,,1,,,,,,,,,
1067,乐天派,快乐为0时快乐+1,(SPR<1)&(SPR>-1),1,,1,,,,,,,,,,
1068,命悬一线,体质为0时体质+1,(STR<1)&(STR>-1),0,,,,,1,,,,,,,
1069,智可生财,若20岁时智力>8,家境+2,(AGE?[20])&(INT>8),0,,,2,,,,,,,,,
1070,舔狗甚多,若20岁时颜值>8,快乐+2,(AGE?[20])&(CHR>8),0,,2,,,,,,,,,,
1071,保胎丸,你不会胎死腹中,,0,,,,,,,,,,,,
1072,白化病,你不会遭遇枪击,,0,,,,,,,,,,,,
1073,佛宗,考上哈佛大学的几率提高,,0,,,,,,,,,,,,
1074,悟道,智力>10时快乐+3,INT>10,1,,3,,,,,,,,,,
1075,驻颜,体质>10时颜值+3,STR>10,0,,,,3,,,,,,,,
1076,界限突破,体质>10时快乐+3,STR>10,1,,3,,,,,,,,,,
1077,倾城,颜值>10时快乐+3,CHR>10,1,,3,,,,,,,,,,
1078,训练有方,智力>10时体质+3,INT>10,0,,,,,3,,,,,,,
1079,相由心生,智力>10时颜值+3,INT>10,0,,,,3,,,,,,,,
1080,智多鑫,智力>10时家境+3,INT>10,0,,,3,,,,,,,,,
1081,灵光,快乐>10时其他属性+1,SPR>10,0,,,1,1,1,1,,,,,,
1082,天启,快乐>10时其他属性+2,SPR>10,1,,,2,2,2,2,,,,,,
1083,神谕,快乐>10时其他属性+3,SPR>10,2,,,3,3,3,3,,,,,,
1084,献祭,初始可用属性点-2,快乐+2,,0,-2,2,,,,,1122,,,,,
1085,幸运儿,初始可用属性点-3,快乐+5,,1,-3,5,,,,,1122,,,,,
1086,挑战者,初始可用点-10,,0,-10,,,,,,1122,,,,,
1087,你不懂,家境>10时快乐+3,MNY>10,1,,3,,,,,,,,,,
1088,整容,家境>10时颜值+3,MNY>10,0,,,,3,,,,,,,,
1089,钻石健身卡,家境>10时体质+3,MNY>10,0,,,,,3,,,,,,,
1090,身残志坚,体质<0时其他属性+1,STR<0,0,,1,1,1,,1,,,,,,
1091,活死人,体质<0时其他属性+2,STR<0,1,,2,2,2,,2,,,,,,
1092,开一扇窗,颜值<0时其他属性+1,CHR<0,0,,1,1,,1,1,,,,,,
1093,大额头,颜值-2,智力+2,,0,,,,-2,,2,,,,,,
1094,痘痘脸,颜值-1,,0,,,,-1,,,,,,,,
1095,潜能,家境<0时其他属性+1,MNY<0,0,,1,,1,1,1,,,,,,
1096,哀兵,快乐<0时其他属性+1,SPR<0,0,,,1,1,1,1,,,,,,
1097,苦痛侍僧,快乐<-1时其他属性+2,SPR<-1,1,,,2,2,2,2,,,,,,
1098,觉醒,家境<-1时其他属性+2,MNY<-1,1,,2,,2,2,2,,,,,,
1099,抖M,家境-2,快乐+2,,0,,2,-2,,,,,,,,,
1100,海的女儿,颜值-2,初始可用属性点+1,,0,1,,,-2,,,,,,,,
1101,进阶,所有属性>5时,所有属性+1,(SPR>5)&(MNY>5)&(CHR>5)&(STR>5)&(INT>5),0,,1,1,1,1,1,,,,,,
1102,超进化,所有属性>5时,所有属性+2,(SPR>5)&(MNY>5)&(CHR>5)&(STR>5)&(INT>5),1,,2,2,2,2,2,,,,,,
1103,白色胶囊,你10岁时无事发生,AGE?[10],0,,,,,,,,,,,,
1104,紫色胶囊,跳过你的40~50岁,"AGE?[40,41,42,43,44,45,46,47,48,49,50]",2,,,,,,,,,,,,
1105,蓝色胶囊,你20、30岁时无事发生,"AGE?[20,30]",1,,,,,,,,,,,,
1106,健康饮食,你不吃洋快餐,,0,,,,,,,,,,,,
1107,不想罢了,你不会上清华大学,,0,,,,,,,,,,,,
1108,挑衅,你喜欢没事找事,,0,,,,,,,,,,,,
1109,旅行者,你喜欢旅游,,0,,,,,,,,,,,,
1110,水仙,你比较自恋,,0,,,,,,,,,,,,
1111,缺一门,无效果,,0,,,,,,,,,,,,
1112,异界来客,你可能听到一些绝密消息,,2,,,,,,,,,,,,
1113,三胎人生,你尽可能生三胎,,1,,,,,,,1003,1025,1026,1027,1041,1046
1114,橙色胶囊,跳过你的60~90岁,"AGE?[60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90]",3,,,,,,,,,,,,
1115,宙斯,参加奥赛的几率提高,,0,,,,,,,,,,,,
1116,为人民服务,考公务员时一定能考上,,0,,,,,,,,,,,,
1117,表现良好,入狱会减刑,,0,,,,,,,,,,,,
1118,小吉,运气稍微提升,,0,,,,,,,,,,,,
1119,天秤座,据说做事很公平,,0,,,,,,,,,,,,
1120,万里挑一,你很攻,,0,,,,,,,,,,,,
1121,把握不住,你有强迫症,,0,,,,,,,,,,,,
1122,急了急了,赶着投胎,不要初始属性了,,1,-20,,,,,,1084,1085,1086,,,
1123,不离不弃,你不会离婚,,0,,,,,,,,,,,,
1124,足量,身高不矮,,0,,,,,,,,,,,,
1125,易胖体质,颜值更容易降低,,0,,,,,,,,,,,,
1126,黄帝,种族主义者,,0,,,,,,,,,,,,
1127,左撇子,习惯使用左手,,0,,,,,,,,,,,,
1128,克苏鲁,&▓▓▓◆▓▓▓¥#▓@■.◆,,2,,,,,,,,,,,,
1129,不连续存在,你还拥有其他人格,,1,,,,,,,,,,,,
1130,占位符,少一个可选天赋,,0,,,,,,,,,,,,
1131,魔法棒,不知道有什么用……,,2,,,,,,,,,,,,
1132,返老还童,可能会回到年轻的时候,,1,,,,,,,,,,,,
1133,时光倒流,或许时间会倒流,,0,,,,,,,,,,,,
1134,转世重修,渡劫失败重生,,2,,,,,,,,,,,,
1 $id name description condition grade status effect:SPR effect:MNY effect:CHR effect:STR effect:INT exclusive[] exclusive[] exclusive[] exclusive[] exclusive[] exclusive[]
2 序号 天赋名 括号中的内容 触发条件 稀有度 初始可用属性点 额外快乐 额外家境 额外颜值 额外体质 额外智力 互斥天赋 互斥天赋 互斥天赋 互斥天赋 互斥天赋 互斥天赋
3 1001 随身玉佩 或许有护佑作用 0
4 1002 红肚兜 小时候死亡率降低 0
5 1003 生而为男 性别一定为男 1 1004 1025 1024 1113
6 1004 生而为女 性别一定为女 1 1003 1024 1025
7 1005 动漫高手 入宅的可能性翻6倍 2
8 1006 乐观 快乐+1 0 1
9 1007 天赋异禀 初始可用属性点+2 1 2
10 1008 天生抑郁 快乐-3 0 -3
11 1009 网络巨魔 快乐+2 1 2
12 1010 天龙人 你拥有北京户口 2 1012 1013 1014
13 1011 独生子女 你没有兄弟姐妹 0
14 1012 乡间微风 你出生在农村 0 1010 1013 1014
15 1013 城中高楼 你出生在城市 0 1010 1012 1014
16 1014 美籍华人 你有美国国籍 2 3 1010 1012 1013
17 1015 家中老大 你最受父母宠爱 1
18 1016 水性良好 不会被淹死 0
19 1017 先天免疫 你不会得艾滋病 0
20 1018 人类进化 所有属性+1 2 1 1 1 1 1
21 1019 超凡 初始可用属性点+4 2 4
22 1020 父母美貌 颜值+2 1 2
23 1021 红颜薄命 颜值+2,体质-2 0 2 -2
24 1022 属蛇 不会被蛇咬死 0
25 1023 半神 所有属性+2 3 2 2 2 2 2
26 1024 人中龙凤 天生双重性别 2 1003 1004 1025
27 1025 阴阳之外 天生无性别 2 1003 1024 1004 1113
28 1026 彩虹之下 可能和同性交往 0 1113
29 1027 斩情证道 终生不恋爱结婚 1 1113
30 1028 桃花连连 恋爱机会提升 0
31 1029 平安童年 12岁前父母都健在 1
32 1030 宠物大师 宠物不会意外死亡 0
33 1031 天生残疾 体质-2 0 -2
34 1032 早产儿 所有属性-1 0 -1 -1 -1 -1 -1
35 1033 十死无生 体质-10 0 -10
36 1034 家运不顺 家境-2 0 -2
37 1035 头着地 智力-2 0 -2
38 1036 胎教 智力+1 0 1
39 1037 班中红人 和同学容易处好关系 0
40 1038 骑士 能轻松学会骑车 0
41 1039 永远的神 电竞天才 1
42 1040 戒律 赌毒不沾 0
43 1041 丁克 不生孩子 1 1113
44 1042 少数民族 高考+5分 0
45 1043 老司机 你和家人不会发生车祸 0
46 1044 低压 你的家人不会心脏病 0
47 1045 战功 你退伍后会当官 0
48 1046 不孕不育 你生不出孩子 1 1113
49 1047 白头偕老 爱人至少能活到70岁 1
50 1048 神秘的小盒子 100岁时才能开启 3
51 1049 三十而立 30岁时家境+2 AGE?[30] 0 2
52 1050 四十不惑 40岁时智力+2 AGE?[40] 0 2
53 1051 知天命 50岁时智力、快乐+1 AGE?[50] 0 1 1
54 1052 耳顺 60岁时快乐+2 AGE?[60] 0 2
55 1053 从心所欲 70岁时快乐+3 AGE?[70] 0 3
56 1054 老当益壮 60岁时体质+2 AGE?[60] 1 2
57 1055 鹤发童颜 70岁时颜值+3 AGE?[70] 0 3
58 1056 学前启蒙 5岁时智力+2 AGE?[5] 1 2
59 1057 十八变 18岁时颜值+2 AGE?[18] 1 2
60 1058 迟来之财 90岁时家境+4 AGE?[90] 0 4
61 1059 理财达人 40岁时家境+3 AGE?[40] 0 3
62 1060 成熟 18岁时智力+2 AGE?[18] 1 2
63 1061 形象管理 24岁时颜值+2 AGE?[24] 1 2
64 1062 成年礼 18岁时快乐+1 AGE?[18] 0 1
65 1063 开光之胎 初始可用属性点+1 0 1
66 1064 天命 初始可用属性点+8 3 8
67 1065 祖传药丸 功能不明 1
68 1066 精准扶贫 家境为0时家境+1 (MNY<1)&(MNY>-1) 0 1
69 1067 乐天派 快乐为0时快乐+1 (SPR<1)&(SPR>-1) 1 1
70 1068 命悬一线 体质为0时体质+1 (STR<1)&(STR>-1) 0 1
71 1069 智可生财 若20岁时智力>8,家境+2 (AGE?[20])&(INT>8) 0 2
72 1070 舔狗甚多 若20岁时颜值>8,快乐+2 (AGE?[20])&(CHR>8) 0 2
73 1071 保胎丸 你不会胎死腹中 0
74 1072 白化病 你不会遭遇枪击 0
75 1073 佛宗 考上哈佛大学的几率提高 0
76 1074 悟道 智力>10时快乐+3 INT>10 1 3
77 1075 驻颜 体质>10时颜值+3 STR>10 0 3
78 1076 界限突破 体质>10时快乐+3 STR>10 1 3
79 1077 倾城 颜值>10时快乐+3 CHR>10 1 3
80 1078 训练有方 智力>10时体质+3 INT>10 0 3
81 1079 相由心生 智力>10时颜值+3 INT>10 0 3
82 1080 智多鑫 智力>10时家境+3 INT>10 0 3
83 1081 灵光 快乐>10时其他属性+1 SPR>10 0 1 1 1 1
84 1082 天启 快乐>10时其他属性+2 SPR>10 1 2 2 2 2
85 1083 神谕 快乐>10时其他属性+3 SPR>10 2 3 3 3 3
86 1084 献祭 初始可用属性点-2,快乐+2 0 -2 2 1122
87 1085 幸运儿 初始可用属性点-3,快乐+5 1 -3 5 1122
88 1086 挑战者 初始可用点-10 0 -10 1122
89 1087 你不懂 家境>10时快乐+3 MNY>10 1 3
90 1088 整容 家境>10时颜值+3 MNY>10 0 3
91 1089 钻石健身卡 家境>10时体质+3 MNY>10 0 3
92 1090 身残志坚 体质<0时其他属性+1 STR<0 0 1 1 1 1
93 1091 活死人 体质<0时其他属性+2 STR<0 1 2 2 2 2
94 1092 开一扇窗 颜值<0时其他属性+1 CHR<0 0 1 1 1 1
95 1093 大额头 颜值-2,智力+2 0 -2 2
96 1094 痘痘脸 颜值-1 0 -1
97 1095 潜能 家境<0时其他属性+1 MNY<0 0 1 1 1 1
98 1096 哀兵 快乐<0时其他属性+1 SPR<0 0 1 1 1 1
99 1097 苦痛侍僧 快乐<-1时其他属性+2 SPR<-1 1 2 2 2 2
100 1098 觉醒 家境<-1时其他属性+2 MNY<-1 1 2 2 2 2
101 1099 抖M 家境-2,快乐+2 0 2 -2
102 1100 海的女儿 颜值-2,初始可用属性点+1 0 1 -2
103 1101 进阶 所有属性>5时,所有属性+1 (SPR>5)&(MNY>5)&(CHR>5)&(STR>5)&(INT>5) 0 1 1 1 1 1
104 1102 超进化 所有属性>5时,所有属性+2 (SPR>5)&(MNY>5)&(CHR>5)&(STR>5)&(INT>5) 1 2 2 2 2 2
105 1103 白色胶囊 你10岁时无事发生 AGE?[10] 0
106 1104 紫色胶囊 跳过你的40~50岁 AGE?[40,41,42,43,44,45,46,47,48,49,50] 2
107 1105 蓝色胶囊 你20、30岁时无事发生 AGE?[20,30] 1
108 1106 健康饮食 你不吃洋快餐 0
109 1107 不想罢了 你不会上清华大学 0
110 1108 挑衅 你喜欢没事找事 0
111 1109 旅行者 你喜欢旅游 0
112 1110 水仙 你比较自恋 0
113 1111 缺一门 无效果 0
114 1112 异界来客 你可能听到一些绝密消息 2
115 1113 三胎人生 你尽可能生三胎 1 1003 1025 1026 1027 1041 1046
116 1114 橙色胶囊 跳过你的60~90岁 AGE?[60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90] 3
117 1115 宙斯 参加奥赛的几率提高 0
118 1116 为人民服务 考公务员时一定能考上 0
119 1117 表现良好 入狱会减刑 0
120 1118 小吉 运气稍微提升 0
121 1119 天秤座 据说做事很公平 0
122 1120 万里挑一 你很攻 0
123 1121 把握不住 你有强迫症 0
124 1122 急了急了 赶着投胎,不要初始属性了 1 -20 1084 1085 1086
125 1123 不离不弃 你不会离婚 0
126 1124 足量 身高不矮 0
127 1125 易胖体质 颜值更容易降低 0
128 1126 黄帝 种族主义者 0
129 1127 左撇子 习惯使用左手 0
130 1128 克苏鲁 &▓▓▓◆▓▓▓¥#▓@■.◆ 2
131 1129 不连续存在 你还拥有其他人格 1
132 1130 占位符 少一个可选天赋 0
133 1131 魔法棒 不知道有什么用…… 2
134 1132 返老还童 可能会回到年轻的时候 1
135 1133 时光倒流 或许时间会倒流 0
136 1134 转世重修 渡劫失败重生 2
+1335
View File
File diff suppressed because it is too large Load Diff
BIN
View File
Binary file not shown.
+2
View File
File diff suppressed because one or more lines are too long
+2
View File
File diff suppressed because one or more lines are too long
+23
View File
@@ -0,0 +1,23 @@
{
"name": "life_restart",
"type": "module",
"bin": "repl/index.js",
"scripts": {
"test": "node test",
"xlsxTransform": "vt transform data",
"dev": "webpack serve --open /view/index.html",
"build": "webpack --mode production"
},
"dependencies": {
"@babel/core": "^7.15.4",
"@babel/preset-env": "^7.15.4",
"babel-loader": "^8.2.2",
"core-js": "^3.17.2",
"v-transform": "^1.0.1",
"webpack": "^5.64.2",
"webpack-dev-server": "^4.1.0"
},
"devDependencies": {
"webpack-cli": "^4.8.0"
}
}
-1
View File
@@ -1 +0,0 @@
var e=class extends ui.view.CyberTheme.CyberAchievementUI{constructor(){super(),this.btnBack.on(Laya.Event.CLICK,this,()=>$ui.switchView(UI.pages.MAIN)),this.#e={min:Math.min(this.btnAchievement.fontSize,this.btnStatistics.fontSize),max:Math.max(this.btnAchievement.fontSize,this.btnStatistics.fontSize)},this.btnStatistics.on(Laya.Event.CLICK,this,()=>this.switch(`statistics`)),this.btnAchievement.on(Laya.Event.CLICK,this,()=>this.switch(`achievement`)),this.btnRank.on(Laya.Event.CLICK,this,$$event,[`message`,[`M_NoRank`]]),this.listAchievements.renderHandler=new Laya.Handler(this,this.onRenderAchievement),this.listAchievements.scrollBar.elasticDistance=150,this.on(Laya.Event.RESIZE,this,()=>{this.boxPage.width=2*this.width,this.boxA.width=this.boxB.width=this.width,this.boxPage.x<0&&(this.boxPage.x=-this.width);let e=this.listAchievements?._itemRender?.props?.width;if(e){let t=Math.max(Math.floor((this.width-65)/e),1);this.listAchievements.width=t*e+(t-1)*(this.listAchievements.spaceY||0)+30}})}#e;#t;init(){this.switch(`statistics`,0);let{statistics:e,achievements:t,PropertyTypes:n}=core;this.listAchievements.array=t,this.labRemakeTimes.text=e[n.TMS].value,this.labRemakeTimesJudge.text=e[n.TMS].judge,this.labAchievementCountJudge.color=$ui.common.grade[e[n.TMS].grade],this.labAchievementCount.text=e[n.CACHV].value,this.labAchievementCountJudge.text=e[n.CACHV].judge,this.labAchievementCountJudge.color=$ui.common.grade[e[n.CACHV].grade],this.labEventRate.text=parseInt(e[n.REVT].value*100)+`%`,this.prgEventRate.value=e[n.REVT].value,this.labTalentRate.text=parseInt(e[n.RTLT].value*100)+`%`,this.prgTalentRate.value=e[n.RTLT].value}switch(e,t=300){switch(this.#t&&this.#t.forEach(e=>Laya.Tween.clear(e)),this.#t=[],e){case`statistics`:t=-this.boxPage.x/this.width*t,this.#t.push(Laya.Tween.to(this.boxPage,{x:0},t,Laya.Ease.backOut,Laya.Handler.create(this,()=>this.#t=null)),Laya.Tween.to(this.btnStatistics,{fontSize:this.#e.max,anchorX:.5,anchorY:1},t,Laya.Ease.backOut),Laya.Tween.to(this.btnAchievement,{fontSize:this.#e.min,anchorX:.5,anchorY:1},t,Laya.Ease.backOut));break;case`achievement`:t=(this.width+this.boxPage.x)/this.width*t,this.#t.push(Laya.Tween.to(this.boxPage,{x:-this.width},t,Laya.Ease.backOut,Laya.Handler.create(this,()=>this.#t=null)),Laya.Tween.to(this.btnStatistics,{fontSize:this.#e.min,anchorX:.5,anchorY:1},t,Laya.Ease.backOut),Laya.Tween.to(this.btnAchievement,{fontSize:this.#e.max,anchorX:.5,anchorY:1},t,Laya.Ease.backOut));break}}onRenderAchievement(e,t){let n=e.dataSource,r=e.getChildByName(`name`),i=e.getChildByName(`description`),a=e.getChildByName(`completed`),o=e.getChildByName(`uncomplete`);n.isAchieved?(r.text=n.name,i.text=n.description,a.visible=!0,o.visible=!1):(r.text=n.hide?`???`:n.name,i.text=n.hide?`???`:n.description,a.visible=!1,o.visible=!0),e.colorFilter=$ui.gradeFilter(n.grade)}};export{e as default};
-1
View File
@@ -1 +0,0 @@
var e=class extends ui.view.DefaultTheme.AchievementUI{constructor(){super(),this.btnBack.on(Laya.Event.CLICK,this,()=>$ui.switchView(UI.pages.MAIN)),this.btnRank.on(Laya.Event.CLICK,this,$$event,[`message`,[`M_NoRank`]]),this.listAchievements.renderHandler=new Laya.Handler(this,this.onRenderAchievement),this.listAchievements.scrollBar.elasticDistance=150}init(){let{statistics:e,achievements:t,PropertyTypes:n}=core;this.listAchievements.array=t,this.labRemakeTimes.text=$_.format($lang.F_RemakeTimes,e[n.TMS].value),this.labRemakeTimesJudge.text=e[n.TMS].judge,$_.deepMapSet(this.boxRemakeTimes,$ui.common.achievement[e[n.TMS].grade]),this.labAchievementCount.text=$_.format($lang.F_AchievementCount,e[n.CACHV].value),this.labAchievementCountJudge.text=e[n.CACHV].judge,$_.deepMapSet(this.boxAchievementCount,$ui.common.achievement[e[n.CACHV].grade]),this.labEventRate.text=parseInt(e[n.REVT].value*100)+`%`,this.prgEventRate.scaleX=e[n.REVT].value,$_.deepMapSet(this.boxEventRate,$ui.common.achievement[e[n.REVT].grade]),this.labTalentRate.text=parseInt(e[n.RTLT].value*100)+`%`,this.prgTalentRate.scaleX=e[n.RTLT].value,$_.deepMapSet(this.boxTalentRate,$ui.common.achievement[e[n.RTLT].grade])}onRenderAchievement(e){let t=e.dataSource,n=e.getChildByName(`name`),r=e.getChildByName(`description`),i=e.getChildByName(`boxMask`);$_.deepMapSet(e,$ui.common.achievement[t.grade]),n.color=r.color=$ui.common.defaultFontColor,t.isAchieved?(n.text=t.name,r.text=t.description,i.visible=!1):(n.text=t.hide?`???`:t.name,r.text=t.hide?`???`:t.description,i.visible=!0)}};export{e as default};
@@ -1 +0,0 @@
var e=class extends ui.view.CyberTheme.CyberAchievementPopupUI{constructor(){super()}async popup({achievement:e},t){Laya.Tween.clearAll(this),Laya.Tween.clearAll(this.boxBg),this.alpha=.8,this.labName.text=e.name,this.labName.color=$ui.common.grade[e.grade],this.x=-this.width,this.boxBg.x=this.boxBg.width,await Promise.all([Laya.promises.Tween.to(this,{x:0},300,Laya.Ease.strongOut),Laya.promises.Tween.to(this.boxBg,{x:0},300,Laya.Ease.strongOut,50)]),await Laya.promises.Tween.to(this,{alpha:0},3e3,Laya.Ease.strongIn)}};export{e as default};
@@ -1 +0,0 @@
var e=class extends ui.view.DefaultTheme.AchievementPopupUI{constructor(){super()}async popup({achievement:e},t){Laya.Tween.clearAll(this),Laya.Tween.clearAll(this.boxBg),this.alpha=.8,this.labName.text=e.name,this.labName.color=$ui.common.grade[e.grade],this.x=-this.width,this.boxBg.x=this.boxBg.width,await Promise.all([Laya.promises.Tween.to(this,{x:0},300,Laya.Ease.strongOut),Laya.promises.Tween.to(this.boxBg,{x:0},300,Laya.Ease.strongOut,50)]),await Laya.promises.Tween.to(this,{alpha:0},3e3,Laya.Ease.strongIn)}};export{e as default};
-1
View File
@@ -1 +0,0 @@
var e=class e extends ui.view.DefaultTheme.CelebrityUI{constructor(){super(),this.btnRetry.on(Laya.Event.CLICK,this,()=>this.random()),this.btnNext.on(Laya.Event.CLICK,this,this.next),this.panelCharacter.vScrollBar.elasticDistance=150}#e;static#t=Laya.plugin.extractComponents(e.uiView,[`boxCharacter`,`boxTalent`,`boxUniqueUnGenerate`]);#n(t,n){let{name:r,property:i,talent:a}=t,o=$ui.common.characterItem,s=e.#t(`boxCharacter`),c=s.getChildByName(`vboxStates`),l=s.getChildByName(`boxName`);l.label=r;let u=$_.clone(i);for(let e in u)Math.abs(u[e]-Math.PI)<1e-7&&(u[e]=`π`);c.label=$_.format($lang.F_PropertyStr,u),$_.deepMapSet(l,o.name),$_.deepMapSet(c,o.state);for(let t of a){let n=e.#t(`boxTalent`);n.label=$_.format($lang.F_TalentSelection,t),n.y=c.height+c.space,$_.deepMapSet(n,$ui.common.card[t.grade].normal),c.addChild(n)}let d=new Laya.Box;return d.height=c.space,d.y=c.height,c.addChild(d),c.scaleY=0,s.dataSource=t,s.switch=e=>c.scaleY=e?1:0,s.click=(e,t)=>{l.offAll(Laya.Event.CLICK),l.on(Laya.Event.CLICK,t||this,e)},n&&s.click(n),s}#r(t){let n=$ui.common.characterItem,r=e.#t(`boxUniqueUnGenerate`),i=r.getChildByName(`boxName`),a=r.getChildByName(`vboxStates`),o=a.getChildByName(`label`),s=a.getChildByName(`boxBtn`),c=s.getChildByName(`btn`);return $_.deepMapSet(i,n.name),$_.deepMapSet(a,n.state),$_.deepMapSet(c,n.name),s.y=o.height+a.space,o.event(Laya.Event.RESIZE),a.scaleY=0,r.dataSource=!1,r.switch=e=>a.scaleY=e?1:0,r.click=(e,t)=>{i.offAll(Laya.Event.CLICK),i.on(Laya.Event.CLICK,t||this,e)},r.generate=(e,t)=>{c.offAll(Laya.Event.CLICK),c.on(Laya.Event.CLICK,t||this,e)},t&&r.generate(t),r}init(){this.random()}close(){this.#e=null,this.vboxCharacter.destroyChildren(!0)}random(e){this.#e=null,this.vboxCharacter.destroyChildren(!0);let{unique:t,normal:n}=core.characterRandom(),r=[],i=this.generateUnique(t,()=>{core.generateUnique(),this.random(n)});i&&r.push(i),(e||n).forEach(e=>r.push(this.#n(e))),r.forEach((e,t)=>{e.y=t,this.vboxCharacter.addChild(e),e.click(()=>{this.#e&&this.#e.switch(!1),this.#e=e,e.switch(!0),e.event(Laya.Event.RESIZE)})}),e&&i&&(this.#e=i,i.switch(!0),i.event(Laya.Event.RESIZE))}generateUnique(e,t){return e?e.generate?(e.name=$lang.UI_UniqueWaTaShi,this.#n(e)):this.#r(t):null}next(){if(!this.#e)return $$event(`message`,[`M_PleaseSelectOne`]);if(!this.#e.dataSource)return $$event(`message`,[`M_UnGenerate`]);let{property:e,talent:t}=this.#e.dataSource,n=core.remake(t.map(e=>e.id));n.length>0&&$$event(`message`,[n.map(e=>[`F_TalentReplace`,e])]),$ui.switchView(UI.pages.TRAJECTORY,{propertyAllocate:e,talents:t,enableExtend:!1})}};export{e as default};
-1
View File
@@ -1 +0,0 @@
var e=class e extends ui.view.CyberTheme.CelebrityUI{constructor(){super(),this.btnRetry.on(Laya.Event.CLICK,this,()=>this.random()),this.btnNext.on(Laya.Event.CLICK,this,this.next),this.panelCharacter.vScrollBar.elasticDistance=150}#e;static#t=Laya.plugin.extractComponents(e.uiView,[`boxCharacter`,`boxTalent`,`boxUniqueUnGenerate`]);#n(t,n){let{name:r,property:i,talent:a}=t,o=e.#t(`boxCharacter`),s=o.getChildByName(`vboxStates`),c=o.getChildByName(`boxName`);c.getChildByName(`label`).text=r;let l=$_.clone(i);for(let e in l)Math.abs(l[e]-Math.PI)<1e-7&&(l[e]=`π`);s.getChildByName(`label`).text=$_.format($lang.F_PropertyStr,l);for(let t of a){let n=e.#t(`boxTalent`);n.getChildByName(`label`).text=$_.format($lang.F_TalentSelection,t),n.y=s.height+s.space;let r=n.getChildByName(`grade${t.grade}`);r&&(r.visible=!0),s.addChild(n)}let u=new Laya.Box;return u.height=s.space,u.y=s.height,s.addChild(u),s.scaleY=0,o.dataSource=t,o.switch=e=>s.scaleY=e?1:0,o.click=(e,t)=>{c.offAll(Laya.Event.CLICK),c.on(Laya.Event.CLICK,t||this,e)},n&&o.click(n),o}#r(t){let n=e.#t(`boxUniqueUnGenerate`),r=n.getChildByName(`boxName`),i=n.getChildByName(`vboxStates`),a=i.getChildByName(`label`),o=i.getChildByName(`boxBtn`).getChildByName(`btn`);return a.event(Laya.Event.RESIZE),i.scaleY=0,n.dataSource=!1,n.switch=e=>i.scaleY=e?1:0,n.click=(e,t)=>{r.offAll(Laya.Event.CLICK),r.on(Laya.Event.CLICK,t||this,e)},n.generate=(e,t)=>{o.offAll(Laya.Event.CLICK),o.on(Laya.Event.CLICK,t||this,e)},t&&n.generate(t),n}init(){this.random()}close(){this.#e=null,this.vboxCharacter.destroyChildren(!0)}random(e){this.#e=null,this.vboxCharacter.destroyChildren(!0);let{unique:t,normal:n}=core.characterRandom(),r=[],i=this.generateUnique(t,()=>{core.generateUnique(),this.random(n)});i&&r.push(i),(e||n).forEach(e=>r.push(this.#n(e))),r.forEach((e,t)=>{e.y=t,this.vboxCharacter.addChild(e),e.click(()=>{this.#e&&this.#e.switch(!1),this.#e=e,e.switch(!0),e.event(Laya.Event.RESIZE)})}),e&&i&&(this.#e=i,i.switch(!0),i.event(Laya.Event.RESIZE))}generateUnique(e,t){return e?e.generate?(e.name=$lang.UI_UniqueWaTaShi,this.#n(e)):this.#r(t):null}next(){if(!this.#e)return $$event(`message`,[`M_PleaseSelectOne`]);if(!this.#e.dataSource)return $$event(`message`,[`M_UnGenerate`]);let{property:e,talent:t}=this.#e.dataSource,n=core.remake(t.map(e=>e.id));n.length>0&&$$event(`message`,[n.map(e=>[`F_TalentReplace`,e])]),$ui.switchView(UI.pages.TRAJECTORY,{propertyAllocate:e,talents:t,enableExtend:!1})}};export{e as default};
-7
View File
@@ -1,7 +0,0 @@
var e={UI_Next:`Next`,UI_Back:`Back`,UI_Skip:`Skip`,UI_Done:`Done`,UI_Cancel:`Cancel`,UI_Confirm:`Confirm`,UI_Retry:`Retry`,UI_Yes:`Yes`,UI_No:`No`,UI_OK:`OK`,UI_Close:`Close`,UI_Open:`Open`,UI_Search:`Search`,UI_Loading:`Now Loading`,UI_Error:`Error`,UI_Colon:`:`,UI_Times:`Times`,UI_Count:``,UI_Property_Charm:`CHR`,UI_Property_Intelligence:`INT`,UI_Property_Strength:`STR`,UI_Property_Money:`MNY`,UI_Property_Spirit:`SPR`,UI_Title_Remake:`Remake Simulate`,UI_Title_Subsequent:`The rubbish life doesn't want to stay for a second`,UI_Remake:`↻Remake Now`,UI_Thanks:`Thx`,UI_Achievement:`Achv`,UI_Cyber_Theme_Art_Design:`UI Design by 晰晰`,UI_Banner:`作者的新作《纸上谈亲》已上线小程序
微信/抖音搜索“纸上谈亲”即可游玩~`,UI_Title_Talent:`Talent Draw`,UI_Talent_Draw:`!10 Pulls!`,UI_Talent_Select_Uncomplete:`Choose 3 Talents, Please.`,UI_Title_Property:`Property Allocate`,UI_Left_Property_Point:`Left Property Point`,UI_Selected_Talent:`Selected Talent`,UI_Random_Allocate:`Random Allocate`,UI_Make_New_Life:`Make New Life`,UI_Manual:`Manual`,UI_Auto:`Auto`,UI_Goto_Summary:`Goto Summary`,UI_Title_Summary:`Life Summary`,UI_Talent_Extend:`Talent, You can choose one to extend`,UI_Remake_Again:`Remake Again`,UI_Final_Age:`Age`,UI_Total_Judge:`Judge`,UI_Achievement_Count:`Achievement`,UI_Remake_Times:`Remake Times`,UI_Event_Collection_Rate:`Event Collection`,UI_Talent_Collection_Rate:`Talent Collection`,UI_Statistics:`Statistics`,UI_Rank:`Rank`,UI_Achievement_Achieve:`Achievement`,UI_Judge_Level_0:`Hell`,UI_Judge_Level_1:`Worse`,UI_Judge_Level_2:`Bad`,UI_Judge_Level_3:`Normal`,UI_Judge_Level_4:`Good`,UI_Judge_Level_5:`Great`,UI_Judge_Level_6:`Excellent`,UI_Judge_Level_7:`Perfect`,UI_Spirit_Judge_Level_0:`Hell`,UI_Spirit_Judge_Level_1:`Tortured`,UI_Spirit_Judge_Level_2:`Unlucky`,UI_Spirit_Judge_Level_3:`Normal`,UI_Spirit_Judge_Level_4:`Happy`,UI_Spirit_Judge_Level_5:`Blissful `,UI_Spirit_Judge_Level_6:`Paradise`,UI_AGE_Judge_Level_0:`Stillborn`,UI_AGE_Judge_Level_1:`Early`,UI_AGE_Judge_Level_2:`Young`,UI_AGE_Judge_Level_3:`Heyday`,UI_AGE_Judge_Level_4:`Middle`,UI_AGE_Judge_Level_5:`Sexagenarian`,UI_AGE_Judge_Level_6:`Septuagenarian`,UI_AGE_Judge_Level_7:`Octogenarian`,UI_AGE_Judge_Level_8:`Nonagenarian`,UI_AGE_Judge_Level_9:`不老`,UI_AGE_Judge_Level_10:`修仙`,UI_AGE_Judge_Level_11:`仙寿`,UI_Intelligence_Judge_Level_7:`识海`,UI_Intelligence_Judge_Level_8:`元神`,UI_Intelligence_Judge_Level_9:`仙魂`,UI_Strength_Judge_Level_7:`凝气`,UI_Strength_Judge_Level_8:`筑基`,UI_Strength_Judge_Level_9:`金丹`,UI_Strength_Judge_Level_10:`元婴`,UI_Strength_Judge_Level_11:`仙体`,UI_Remake_Times_Judge_Level_0:`Purple rate constant`,UI_Remake_Times_Judge_Level_1:`Purple rate double`,UI_Remake_Times_Judge_Level_2:`Purple rate triple`,UI_Remake_Times_Judge_Level_3:`Purple rate Quadruple`,UI_Remake_Times_Judge_Level_4:`Purple rate Quintuple`,UI_Remake_Times_Judge_Level_5:`Purple rate Sextuple`,UI_Achievement_Count_Judge_Level_0:`Orange rate constant`,UI_Achievement_Count_Judge_Level_1:`Orange rate double`,UI_Achievement_Count_Judge_Level_2:`Orange rate triple`,UI_Achievement_Count_Judge_Level_3:`Orange rate Quadruple`,UI_Achievement_Count_Judge_Level_4:`Orange rate Quintuple`,UI_Achievement_Count_Judge_Level_5:`Orange rate Sextuple`,UI_Support_Programmer:`Programmer`,UI_Support_Designer:`Designer`,UI_Save:`Save`,UI_Load:`Load`,UI_Read:`Copy`,UI_Write:`Paste`,UI_CopySuccess:`Copy to clipboard success`,UI_CopyFailed:`Copy to clipboard Failed`,UI_PasteSuccessDecodeSuccess:`Load Success!`,UI_PasteSuccessDecodeFailed:`Paste success, but load Failed!`,UI_PasteFailedDecodeSuccess:`Paste Failed, use input load success!`,UI_PasteFailedDecodeFailed:`Paste Failed, use input load Failed!`,UI_LoadSuccess:`Load Success!`,UI_LoadFailed:`Load Failed!`,UI_Title_Celebrity:`Past life was...`,UI_CustomMode:`Custom`,UI_CustomModeDescription:`10 Talent
Custom property`,UI_CelebrityMode:`Celebrity`,UI_CelebrityModeDescription:`Past life is celebrity
Rebirth to modern`,UI_AllNot:`↻All Not`,UI_UniqueWaTaShi:`Unique of mine`,UI_UniqueWaTaShiContent:`
Unique character card different from other 60 million player
All property, All talent, All random
All has only one chance`,UI_GenerateNow:`Generate Now`,M_NoRank:`There is no rank`,M_PleaseSelectOne:`Please Select One`,M_UnGenerate:`Unique Character no generate`,M_DisableExtendTalent:`Celebrity mode can't extends talent`,F_RemakeTimes:`Remake {0} Times`,F_AchievementCount:`Achievement {0}`,F_TalentSelection:`{name} ({description})`,F_TalentConflict:`Conflict with talent ({0})`,F_TalentSelectLimit:`Talent select limit {0}`,F_TalentSelectNotComplect:`Please select {0} talent`,F_PropertyPointLeft:`You have left {0} property point`,F_TalentReplace:`Talent replace [{source.name}] -> [{target.name}]`,F_PropertyStr:`CHR{CHR} INT{INT} STR{STR} MNY{MNY}`};export{e as default};
File diff suppressed because one or more lines are too long
-1
View File
@@ -1 +0,0 @@
var e=class extends ui.view.LoadingUI{constructor(){super()}static load(){return[`images/atlas/images/resource.atlas`]}show(){}onProgress(e){}};export{e as default};
-1
View File
@@ -1 +0,0 @@
var e=class extends ui.view.DefaultTheme.MainUI{constructor(){super(),this.btnRemake.on(Laya.Event.CLICK,this,()=>$ui.switchView(UI.pages.MODE)),this.btnAchievement.on(Laya.Event.CLICK,this,()=>$ui.switchView(UI.pages.ACHIEVEMENT)),this.btnThanks.on(Laya.Event.CLICK,this,()=>$ui.switchView(UI.pages.THANKS)),this.btnGithub.on(Laya.Event.CLICK,this,goto,[`github`]),this.btnDiscord.on(Laya.Event.CLICK,this,goto,[`discord`]),this.btnThemes.on(Laya.Event.CLICK,this,()=>$ui.showDialog(UI.pages.THEMES)),this.btnSaveLoad.on(Laya.Event.CLICK,this,()=>$ui.showDialog(UI.pages.SAVELOAD))}static load(){return[`images/atlas/images/icons.atlas`]}init(){this.banner.visible=this.btnDiscord.visible=this.btnAchievement.visible=this.btnThanks.visible=!!core.times;let e=this.labSubTitle.text;this.labSubTitle.text=` `,this.labSubTitle.text=e}};export{e as default};
-1
View File
@@ -1 +0,0 @@
var e=class extends ui.view.CyberTheme.CyberMainUI{constructor(){super(),this.btnRemake.on(Laya.Event.CLICK,this,()=>$ui.switchView(UI.pages.MODE)),this.btnAchievement.on(Laya.Event.CLICK,this,()=>$ui.switchView(UI.pages.ACHIEVEMENT)),this.btnThanks.on(Laya.Event.CLICK,this,()=>$ui.switchView(UI.pages.THANKS)),this.btnGithub.on(Laya.Event.CLICK,this,goto,[`github`]),this.btnDiscord.on(Laya.Event.CLICK,this,goto,[`discord`]),this.btnThemes.on(Laya.Event.CLICK,this,()=>$ui.showDialog(UI.pages.THEMES)),this.btnSaveLoad.on(Laya.Event.CLICK,this,()=>$ui.showDialog(UI.pages.SAVELOAD)),this.on(Laya.Event.RESIZE,this,()=>{let e=Math.max(this.width/this.imgBg.width,this.height/this.imgBg.height);this.imgBg.scale(e,e)})}static load(){return[`fonts/方正像素12.ttf`,`images/atlas/images/accessories.atlas`,`images/atlas/images/border.atlas`,`images/atlas/images/button.atlas`,`images/atlas/images/icons.atlas`,`images/atlas/images/progress.atlas`,`images/atlas/images/slider.atlas`]}init(){this.banner.visible=this.btnDiscord.visible=this.btnAchievement.visible=this.btnThanks.visible=!!core.times}};export{e as default};
-1
View File
@@ -1 +0,0 @@
var e=class extends ui.view.MessagePopupUI{constructor(){super(),this.left=this.right=0,this.boxBg.defaultColor=`#000000`,this.boxBg.hoverColor=`#000000`,this.boxBg.radius=20}async popup({message:e},t){this.message.text=e,this.message.commitMeasure(),this.height=this.message.height+this.boxBg.radius*2+this.message.fontSize,Laya.Tween.clearAll(this),this.alpha=0,this.y=-2*this.height,await Laya.promises.Tween.to(this,{y:0,alpha:1},300,Laya.Ease.backOut),await Laya.promises.Tween.to(this,{alpha:0},300,Laya.Ease.strongIn,3e3)}};export{e as default};
-1
View File
@@ -1 +0,0 @@
var e=class extends ui.view.DefaultTheme.ModeUI{constructor(){super(),this.btnCustom.on(Laya.Event.CLICK,this,()=>$ui.switchView(UI.pages.TALENT)),this.btnCelebrity.on(Laya.Event.CLICK,this,()=>$ui.switchView(UI.pages.CELEBRITY))}};export{e as default};
-1
View File
@@ -1 +0,0 @@
var e=class extends ui.view.CyberTheme.ModeUI{constructor(){super(),this.btnCustom.on(Laya.Event.CLICK,this,()=>$ui.switchView(UI.pages.TALENT)),this.btnCelebrity.on(Laya.Event.CLICK,this,()=>$ui.switchView(UI.pages.CELEBRITY))}};export{e as default};
-1
View File
@@ -1 +0,0 @@
var e=class extends ui.view.DefaultTheme.PropertyUI{constructor(){super();let e=this.#e=core.PropertyTypes;this.btnCharmIncrease.on(Laya.Event.CLICK,this,this.onPropertyAllocate,[e.CHR,1]),this.btnCharmReduce.on(Laya.Event.CLICK,this,this.onPropertyAllocate,[e.CHR,-1]),this.btnIntelligenceIncrease.on(Laya.Event.CLICK,this,this.onPropertyAllocate,[e.INT,1]),this.btnIntelligenceReduce.on(Laya.Event.CLICK,this,this.onPropertyAllocate,[e.INT,-1]),this.btnStrengthIncrease.on(Laya.Event.CLICK,this,this.onPropertyAllocate,[e.STR,1]),this.btnStrengthReduce.on(Laya.Event.CLICK,this,this.onPropertyAllocate,[e.STR,-1]),this.btnMoneyIncrease.on(Laya.Event.CLICK,this,this.onPropertyAllocate,[e.MNY,1]),this.btnMoneyReduce.on(Laya.Event.CLICK,this,this.onPropertyAllocate,[e.MNY,-1]),this.inputCharm.on(Laya.Event.INPUT,this,this.onPropertyAllocateInput,[e.CHR]),this.inputIntelligence.on(Laya.Event.INPUT,this,this.onPropertyAllocateInput,[e.INT]),this.inputStrength.on(Laya.Event.INPUT,this,this.onPropertyAllocateInput,[e.STR]),this.inputMoney.on(Laya.Event.INPUT,this,this.onPropertyAllocateInput,[e.MNY]);let t=({currentTarget:e})=>{e.text=``};this.inputCharm.on(Laya.Event.MOUSE_DOWN,this,t),this.inputIntelligence.on(Laya.Event.MOUSE_DOWN,this,t),this.inputStrength.on(Laya.Event.MOUSE_DOWN,this,t),this.inputMoney.on(Laya.Event.MOUSE_DOWN,this,t),this.btnRandomAllocate.on(Laya.Event.CLICK,this,this.random),this.btnNext.on(Laya.Event.CLICK,this,this.next),this.listSelectedTalents.renderHandler=Laya.Handler.create(this,this.renderTalent,null,!1)}#e;#t;#n;#r;init({talents:e}){this.listSelectedTalents.array=e;let t=core.remake(e.map(e=>e.id));t.length>0&&$$event(`message`,[t.map(e=>[`F_TalentReplace`,e])]),this.#t=core.getPropertyPoints(),this.#r=core.propertyAllocateLimit,this.labLeftPropertyPoint.text=this.#t,this.#n={[this.#e.CHR]:0,[this.#e.INT]:0,[this.#e.STR]:0,[this.#e.MNY]:0},this.updateAllocate()}next(){let e=this.#t-this.total;if(e>0)return $$event(`message`,[`F_PropertyPointLeft`,e]);$ui.switchView(UI.pages.TRAJECTORY,{propertyAllocate:this.#n,talents:this.listSelectedTalents.array,enableExtend:!0})}get total(){return this.#n[this.#e.CHR]+this.#n[this.#e.INT]+this.#n[this.#e.STR]+this.#n[this.#e.MNY]}updateAllocate(){let e=this.#n[this.#e.CHR],t=this.#n[this.#e.INT],n=this.#n[this.#e.STR],r=this.#n[this.#e.MNY];this.inputCharm.text=``+e,this.inputIntelligence.text=``+t,this.inputStrength.text=``+n,this.inputMoney.text=``+r,this.labLeftPropertyPoint.text=this.#t-this.total,this.btnCharmIncrease.disabled=this.btnCharmIncrease.gray=!1,this.btnCharmReduce.disabled=this.btnCharmReduce.gray=!1,this.btnIntelligenceIncrease.disabled=this.btnIntelligenceIncrease.gray=!1,this.btnIntelligenceReduce.disabled=this.btnIntelligenceReduce.gray=!1,this.btnStrengthIncrease.disabled=this.btnStrengthIncrease.gray=!1,this.btnStrengthReduce.disabled=this.btnStrengthReduce.gray=!1,this.btnMoneyIncrease.disabled=this.btnMoneyIncrease.gray=!1,this.btnMoneyReduce.disabled=this.btnMoneyReduce.gray=!1}check(e,t,n){return!(n<e||n>t)}random(){let e=this.#t,t=[,,,,].fill(this.#r[1]);for(;e>0;){let n=Math.round(Math.random()*(Math.min(e,this.#r[1])-1))+1;for(;;){let r=Math.floor(Math.random()*4)%4;if(!(t[r]-n<0)){t[r]-=n,e-=n;break}}}this.#n[this.#e.CHR]=this.#r[1]-t[0],this.#n[this.#e.INT]=this.#r[1]-t[1],this.#n[this.#e.STR]=this.#r[1]-t[2],this.#n[this.#e.MNY]=this.#r[1]-t[3],this.updateAllocate()}onPropertyAllocate(e,t){this.check(this.#r[0],this.#r[1],this.#n[e]+t)&&this.check(0,this.#t,this.total+t)&&(this.#n[e]+=t,this.updateAllocate())}onPropertyAllocateInput(e,t){let n=parseInt(t.text)||0,r=this.total;r+n<0?n=this.#r[0]*4-r:r+n>this.#t&&(n=this.#t-r),n<this.#r[0]?n=this.#r[0]:n>this.#r[1]&&(n=this.#r[1]);let i=n-this.#n[e];i?this.onPropertyAllocate(e,i):this.updateAllocate()}renderTalent(e){let t=e.dataSource;e.label=$_.format($lang.F_TalentSelection,t);let n=$ui.common.card[t.grade].normal;$_.deepMapSet(e,n)}};export{e as default};
File diff suppressed because one or more lines are too long
-36
View File
@@ -1,36 +0,0 @@
var e=class extends ui.view.SaveLoadUI{constructor(){super(),this.btnClose.on(Laya.Event.CLICK,this,async()=>{await this.close(),$ui.switchView(UI.pages.MAIN)}),this.btnRead.on(Laya.Event.CLICK,this,async()=>{let e=await $$copy(this.input.text=this.data);$$event(`message`,[e?`UI_CopySuccess`:`UI_CopyFailed`])}),this.btnWrite.on(Laya.Event.CLICK,this,async()=>{let e=await $$read();e==0?this.data=[this.input.text,`UI_PasteFailedDecodeSuccess`,`UI_PasteFailedDecodeFailed`]:(this.input.text=e,this.data=[e,`UI_PasteSuccessDecodeSuccess`,`UI_PasteSuccessDecodeFailed`])}),this.btnSave.on(Laya.Event.CLICK,this,()=>{let e=new Blob([this.data],{type:`application/json`});e=(e.slice||e.webkitSlice||e.mozSlice).call(e,0,e.size,`application/octet-stream`);let t=document.createElementNS(`http://www.w3.org/1999/xhtml`,`a`);t.href=URL.createObjectURL(e),t.download=`Remake_save_${new Date().toISOString().replace(`:`,`.`)}.json`,document.body.appendChild(t),t.click(),document.body.removeChild(t),URL.revokeObjectURL(t.href)}),this.btnLoad.on(Laya.Event.CLICK,this,()=>{let e=document.createElement(`input`);e.setAttribute(`type`,`file`),e.setAttribute(`name`,`file`),e.setAttribute(`accept`,`application/json`),e.setAttribute(`style`,`display: none;`),document.body.appendChild(e),e.click(),e.onchange=e=>{let t=e.target.files[0];if(!t)return;let n=new FileReader;n.onload=()=>this.data=[n.result],n.readAsText(t),document.body.removeChild(t)}}),this.input.on(Laya.Event.MOUSE_DOWN,this,()=>{this.input.setSelection(0,this.input.text.length)}),this.btnBackup.on(Laya.Event.CLICK,this,()=>{let e=document.createElement(`div`);document.body.appendChild(e),e.style=`
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
opacity: 0.95`;let t=document.createElement(`div`);t.style=`
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: #fff;
opacity: 0.95`,document.body.appendChild(e),e.appendChild(t);let n=document.createElement(`textarea`);n.style=`position: absolute; width: ${window.innerWidth}px; height: ${window.innerHeight}px;`,n.value=JSON.stringify(JSON.parse(this.data),null,4),e.appendChild(n);let r=document.createElement(`div`);r.style=`
position: absolute;
top: 0;
right: 0;
width: 100px;
height: 100px;
background: red;
font-size:100px;
padding: 0;
line-height: 100px;
color: white;
opacity: 0.7`,r.innerHTML=`×`,e.appendChild(r),r.onclick=()=>e.remove();let i=document.createElement(`div`);i.style=`
position: absolute;
bottom: 0;
right: 0;
width: 100px;
height: 100px;
background: limegreen;
font-size: 35px;
padding: 0;
line-height: 50px;
color: white;
opacity: 0.7`,i.innerHTML=`LOAD<br>读取`,e.appendChild(i),i.onclick=()=>this.data=[n.value,`成功/success`,`失败/failed`,!0]})}static load(){return[`images/atlas/images/radio.atlas`]}init(){this.input.text=this.data}get data(){let e={};return Object.keys(localStorage).filter(e=>e.substr(0,4)!=`goog`).forEach(t=>e[t]=localStorage[t]),JSON.stringify(e)}set data([e,t=`UI_LoadSuccess`,n=`UI_LoadFailed`,r]){try{let n=JSON.parse(e);for(let e in n)localStorage.setItem(e,n[e]);r?alert(t):$$event(`message`,[t]),$ui.theme=$ui.theme,this.btnClose.event(Laya.Event.CLICK)}catch(e){console.error(e),r?alert(`${n}\n${e}`):$$event(`message`,[n])}}};export{e as default};
-1
View File
@@ -1 +0,0 @@
var e=class extends ui.view.CyberTheme.CyberSummaryUI{constructor(){super(),this.listSelectedTalents.renderHandler=Laya.Handler.create(this,this.renderTalent,null,!1),this.btnAgain.on(Laya.Event.CLICK,this,this.onAgain)}#e;#t;onAgain(){core.talentExtend(this.#e),core.times++,$ui.switchView(UI.pages.MAIN)}init({talents:e,enableExtend:t}){let{summary:n,lastExtendTalent:r}=core;this.#t=t;let i=$ui.common.filter,a=$ui.common.grade,o=n[core.PropertyTypes.HAGE];this.labAge.text=``+o.value,this.labAgeJudge.text=o.judge,this.labAgeJudge.color=a[o.grade];let s=n[core.PropertyTypes.SUM];this.labTotal.text=``+s.value,this.labTotalJudge.text=s.judge,this.labTotalJudge.color=a[s.grade];let c=n[core.PropertyTypes.HCHR];this.labCharm.text=``+c.value,this.prgCharm.value=c.progress,this.labCharmJudge.text=c.judge,this.labCharmJudge.color=a[c.grade],this.boxCharmGrade.colorFilter=i[c.grade];let l=n[core.PropertyTypes.HINT];this.labIntelligence.text=``+l.value,this.prgIntelligence.value=l.progress,this.labIntelligenceJudge.text=l.judge,this.labIntelligenceJudge.color=a[l.grade],this.boxIntelligenceGrade.colorFilter=i[l.grade];let u=n[core.PropertyTypes.HSTR];this.labStrength.text=``+u.value,this.prgStrength.value=u.progress,this.labStrengthJudge.text=u.judge,this.labStrengthJudge.color=a[u.grade],this.boxStrengthGrade.colorFilter=i[u.grade];let d=n[core.PropertyTypes.HMNY];this.labMoney.text=``+d.value,this.prgMoney.value=d.progress,this.labMoneyJudge.text=d.judge,this.labMoneyJudge.color=a[d.grade],this.boxMoneyGrade.colorFilter=i[d.grade];let f=n[core.PropertyTypes.HSPR];this.labSpirit.text=``+f.value,this.prgSpirit.value=f.progress,this.labSpiritJudge.text=f.judge,this.labSpiritJudge.color=a[f.grade],this.boxSpiritGrade.colorFilter=i[f.grade],e.sort(({id:e,grade:t},{id:n,grade:i})=>e==r?-1:n==r?1:i-t),this.#t?this.#e=e[0].id:this.#e=r,this.listSelectedTalents.array=e}renderTalent(e){let t=e.dataSource,n=e.getChildByName(`labTitle`),r=e.getChildByName(`grade1`),i=e.getChildByName(`grade2`),a=e.getChildByName(`grade3`),o=e.getChildByName(`labDescription`),s=e.getChildByName(`selected`),c=e.getChildByName(`unselected`);switch(n.text=t.name,o.text=t.description,t.grade){case 1:r.visible=!0,i.visible=!1,a.visible=!1;break;case 2:r.visible=!1,i.visible=!0,a.visible=!1;break;case 3:r.visible=!1,i.visible=!1,a.visible=!0;break;default:r.visible=!1,i.visible=!1,a.visible=!1;break}s.visible=t.id==this.#e,c.visible=!s.visible,e.off(Laya.Event.CLICK,this,this.onSelectTalent),e.on(Laya.Event.CLICK,this,this.onSelectTalent,[t.id])}onSelectTalent(e){if(!this.#t)return $$event(`message`,[`M_DisableExtendTalent`]);e==this.#e?this.#e=null:this.#e=e,this.listSelectedTalents.refresh()}};export{e as default};
-1
View File
@@ -1 +0,0 @@
var e=class extends ui.view.DefaultTheme.SummaryUI{constructor(){super(),this.listSummary.renderHandler=Laya.Handler.create(this,this.renderSummary,null,!1),this.listSelectedTalents.renderHandler=Laya.Handler.create(this,this.renderTalent,null,!1),this.btnAgain.on(Laya.Event.CLICK,this,this.onAgain)}#e;#t;onAgain(){core.talentExtend(this.#e),core.times++,$ui.switchView(UI.pages.MAIN)}init({talents:e,enableExtend:t}){let{summary:n,lastExtendTalent:r}=core;this.#t=t,this.listSummary.array=[[core.PropertyTypes.HCHR,$lang.UI_Property_Charm],[core.PropertyTypes.HINT,$lang.UI_Property_Intelligence],[core.PropertyTypes.HSTR,$lang.UI_Property_Strength],[core.PropertyTypes.HMNY,$lang.UI_Property_Money],[core.PropertyTypes.HSPR,$lang.UI_Property_Spirit],[core.PropertyTypes.HAGE,$lang.UI_Final_Age],[core.PropertyTypes.SUM,$lang.UI_Total_Judge]].map(([e,t])=>{let r=n[e];return{label:`${t}${$lang.UI_Colon} ${r.value} ${$lang[r.judge]}`,grade:r.grade}}),e.sort(({id:e,grade:t},{id:n,grade:i})=>e==r?-1:n==r?1:i-t),this.#t?this.#e=e[0].id:this.#e=r,this.listSelectedTalents.array=e}renderSummary(e){let{label:t,grade:n}=e.dataSource;e.label=t,$_.deepMapSet(e,$ui.common.summary[n])}renderTalent(e){let t=e.dataSource;e.label=$_.format($lang.F_TalentSelection,t);let n=$ui.common.card[t.grade];$_.deepMapSet(e,t.id==this.#e?n.selected:n.normal),e.getChildByName(`blank`).pause=t.id!=this.#e,e.off(Laya.Event.CLICK,this,this.onSelectTalent),e.on(Laya.Event.CLICK,this,this.onSelectTalent,[t.id])}onSelectTalent(e){if(!this.#t)return $$event(`message`,[`M_DisableExtendTalent`]);e==this.#e?this.#e=null:this.#e=e,this.listSelectedTalents.refresh()}};export{e as default};
-1
View File
@@ -1 +0,0 @@
var e=class extends ui.view.CyberTheme.CyberTalentUI{constructor(){super(),this.btnDrawCard.on(Laya.Event.CLICK,this,this.onClickDrawCard),this.btnNext.on(Laya.Event.CLICK,this,this.onClickNext),this.listTalents.renderHandler=Laya.Handler.create(this,this.renderTalent,null,!1),this.listTalents.scrollBar.elasticDistance=150,this.on(Laya.Event.RESIZE,this,()=>{let e=this.listTalents?._itemRender?.props?.width;if(e){let t=Math.max(Math.floor((this.width-40)/e),1);this.listTalents.width=t*e+(t-1)*(this.listTalents.spaceY||0)}})}#e=new Set;static load(){return[`images/background/background_2@3x.png`]}init(){this.pageDrawCard.visible=!0,this.pageResult.visible=!1,this.btnNext.label=`UI_Talent_Select_Uncomplete`,this.#e.clear()}close(){}onClickDrawCard(){this.pageDrawCard.visible=!1,this.pageResult.visible=!0,this.listTalents.array=core.talentRandom()}onClickNext(){if(this.#e.size<core.talentSelectLimit)return $$event(`message`,[`F_TalentSelectNotComplect`,core.talentSelectLimit]);let e=[...this.#e].map(e=>this.listTalents.array[e]);$ui.switchView(UI.pages.PROPERTY,{talents:e,enableExtend:!0})}renderTalent(e,t){let n=e.dataSource,r=e.getChildByName(`hboxTitle`),i=r.getChildByName(`labTitle`),a=r.getChildByName(`grades`),o=a.getChildByName(`grade1`),s=a.getChildByName(`grade2`),c=a.getChildByName(`grade3`),l=e.getChildByName(`labDescription`),u=e.getChildByName(`unselected`),d=e.getChildByName(`selected`);switch(n.grade){case 1:a.x=0,i.x=1,o.visible=!0,s.visible=!1,c.visible=!1;break;case 2:a.x=0,i.x=1,o.visible=!1,s.visible=!0,c.visible=!1;break;case 3:a.x=0,i.x=1,o.visible=!1,s.visible=!1,c.visible=!0;break;default:a.x=1,i.x=0,o.visible=!1,s.visible=!1,c.visible=!1;break}i.text=n.name,i.event(Laya.Event.RESIZE),l.text=n.description,u.visible=!(d.visible=this.#e.has(t)),e.offAll(Laya.Event.CLICK),e.on(Laya.Event.CLICK,this,()=>{if(this.#e.has(t))this.#e.delete(t);else{if(this.#e.size>=core.talentSelectLimit)return $$event(`message`,[`F_TalentSelectLimit`,core.talentSelectLimit]);let e=core.exclude([...this.#e].map(e=>this.listTalents.array[e].id),this.listTalents.array[t].id);if(e!=null){for(let{name:t,id:n}of this.listTalents.array)if(e==n)return $$event(`message`,[`F_TalentConflict`,t]);return}this.#e.add(t)}this.btnNext.label=this.#e.size===core.talentSelectLimit?`UI_Next`:`UI_Talent_Select_Uncomplete`,u.visible=!(d.visible=this.#e.has(t))})}};export{e as default};
-1
View File
@@ -1 +0,0 @@
var e=class extends ui.view.DefaultTheme.TalentUI{constructor(){super(),this.btnDrawCard.on(Laya.Event.CLICK,this,this.onClickDrawCard),this.btnNext.on(Laya.Event.CLICK,this,this.onClickNext),this.listTalents.renderHandler=Laya.Handler.create(this,this.renderTalent,null,!1),this.listTalents.scrollBar.elasticDistance=150}#e=new Set;init(){this.pageDrawCard.visible=!0,this.pageResult.visible=!1,this.btnNext.label=`UI_Talent_Select_Uncomplete`,this.#e.clear()}close(){}onClickDrawCard(){this.pageDrawCard.visible=!1,this.pageResult.visible=!0,this.listTalents.array=core.talentRandom()}onClickNext(){if(this.#e.size<core.talentSelectLimit)return $$event(`message`,[`F_TalentSelectNotComplect`,core.talentSelectLimit]);let e=[...this.#e].map(e=>this.listTalents.array[e]);$ui.switchView(UI.pages.PROPERTY,{talents:e,enableExtend:!0})}renderTalent(e,t){let n=e.dataSource,r=e.getChildByName(`blank`);e.label=$_.format($lang.F_TalentSelection,n);let i=$ui.common.card[n.grade],a=()=>{let n=this.#e.has(t);r.pause=!n,$_.deepMapSet(e,n?i.selected:i.normal)};a(),e.offAll(Laya.Event.CLICK),e.on(Laya.Event.CLICK,this,()=>{if(this.#e.has(t))this.#e.delete(t);else{if(this.#e.size>=core.talentSelectLimit)return $$event(`message`,[`F_TalentSelectLimit`,core.talentSelectLimit]);let e=core.exclude([...this.#e].map(e=>this.listTalents.array[e].id),this.listTalents.array[t].id);if(e!=null){for(let{name:t,id:n}of this.listTalents.array)if(e==n)return $$event(`message`,[`F_TalentConflict`,t]);return}this.#e.add(t)}this.btnNext.label=this.#e.size===core.talentSelectLimit?`UI_Next`:`UI_Talent_Select_Uncomplete`,a()})}};export{e as default};
-1
View File
@@ -1 +0,0 @@
var e=class e extends ui.view.DefaultTheme.ThanksUI{constructor(){super(),this.btnBack.on(Laya.Event.CLICK,this,()=>$ui.switchView(UI.pages.MAIN)),this.listSupports.renderHandler=Laya.Handler.create(this,this.renderSupport,null,!1),this.panelTopSupports.vScrollBar.elasticDistance=150,this.listSupports.scrollBar.elasticDistance=150,this.btnAFD.on(Laya.Event.CLICK,this,goto,[`sponsor_afd`]),this.btnDDF.on(Laya.Event.CLICK,this,goto,[`sponsor_ddf`])}static#e=Laya.plugin.extractComponents(e.uiView,[`boxTopSupport`]);#t(){let t=e.#e(`boxTopSupport`);return t.name=t.getChildByName(`name`),t.comment=t.getChildByName(`comment`),$_.deepMapSet(t,$ui.common.topSupportItem),t}#n;init(){let e=[];this.#n=[],core.specialThanks.sort(()=>.5-Math.random()).forEach(({group:t,name:n,comment:r,color:i})=>t==2?e.push({name:n,color:i}):this.renderTopSupport(n,r,i)),this.listSupports.array=e}renderTopSupport(e,t,n){let r=this.#t();r.name.text=e,r.comment.text=t,r.name.color=n||`#000000`,this.vboxTopSupports.addChild(r),this.#n.push(r),this.#n.forEach((e,t)=>e.y=t)}renderSupport(e){let{name:t,color:n}=e.dataSource;e.text=t,e.color=n||$ui.common.defaultFontColor}close(){this.#n.forEach(e=>{e.removeSelf(),e.destroy()}),this.#n=null}};export{e as default};
-1
View File
@@ -1 +0,0 @@
var e=class extends ui.view.ThemesUI{constructor(){super(),this.btnClose.on(Laya.Event.CLICK,this,()=>this.close()),this.btnOK.on(Laya.Event.CLICK,this,async()=>{let e=this.selected;if(!e==$ui.theme)return this.close();$ui.theme=e,await this.close(),$ui.switchView(UI.pages.MAIN)})}static load(){return[`images/atlas/images/radio.atlas`]}init(){this.selected=localStorage.getItem(`theme`)}get selected(){switch(this.radioTheme.selectedIndex){case 0:return`cyber`;case 1:return`dark`;case 2:return`light`;default:return`default`}}set selected(e){let t;switch(e){case`cyber`:t=0;break;case`dark`:t=1;break;case`light`:t=2;break;default:t=-1;break}this.radioTheme.selectedIndex=t}};export{e as default};
-2
View File
@@ -1,2 +0,0 @@
var e=class e extends ui.view.DefaultTheme.TrajectoryUI{constructor(){super();let e=[0,0];this.panelTrajectory.on(Laya.Event.MOUSE_DOWN,this,t=>e=[t.stageX,t.stageY]),this.panelTrajectory.on(Laya.Event.MOUSE_UP,this,t=>{let n=t.stageX-e[0],r=t.stageY-e[1];Math.sqrt(Math.abs(n)+Math.abs(r))>10||this.onNext()}),this.btnSummary.on(Laya.Event.CLICK,this,this.onSummary),this.panelTrajectory.vScrollBar.elasticDistance=150,this.scbSpeed.on(Laya.Event.CHANGE,this,()=>this.speed=this.scbSpeed.value),this.scbSpeed.on(Laya.Event.MOUSE_UP,this,()=>this.onNext())}#e;#t;static load(){return[`images/atlas/images/progress.atlas`,`images/atlas/images/slider.atlas`]}static#n=Laya.plugin.extractComponents(e.uiView,[`boxTrajectoryItem`]);#r(){let t=e.#n(`boxTrajectoryItem`);t.labContent=t.getChildByName(`labContent`),t.labAge=t.getChildByName(`hboxAge`).getChildByName(`labAge`);let n=$ui.common.trajectoryItem;return $_.deepMapSet(t,n.box),t.grade=e=>{$_.deepMapSet(t,n.grade[e||0])},t.getChildByName(`hboxAge`)._childs.forEach(e=>e.color=n.ageColor),t.labContent.color=n.contentColor,t}#i;#a;#o;#s;init({propertyAllocate:e,talents:t,enableExtend:n}){this.#s=n,this.boxParticle.visible=!1,this.boxSpeed.visible=!0,this.btnSummary.visible=!1,this.#a=[],this.#i=!1,this.#o=t,core.start(e),this.updateProperty(),this.onNext()}close(){this.scbSpeed.value=0,this.speed=0,this.#a.forEach(e=>{e.removeSelf(),e.destroy()}),this.#a=null}updateProperty(){let e=core.PropertyTypes,t=core.propertys;this.labCharm.text=t[e.CHR],this.labIntelligence.text=t[e.INT],this.labStrength.text=t[e.STR],this.labMoney.text=t[e.MNY],this.labSpirit.text=t[e.SPR]}onNext(){if(this.#i)return;let{age:e,content:t,isEnd:n}=core.next();this.#i=n,n&&(this.boxSpeed.visible=!1,this.btnSummary.visible=!0,Laya.timer.frameOnce(1,this,()=>{this.panelTrajectory.scrollTo(0,this.panelTrajectory.contentHeight)})),this.panelTrajectory.scrollTo(0,this.panelTrajectory.contentHeight),this.renderTrajectory(e,t),e>=100&&(this.boxParticle.visible=!0),this.updateProperty()}renderTrajectory(e,t){let n=this.#r();n.labAge.text=``+e,n.labContent.text=t.map(({type:e,description:t,grade:n,name:r,postEvent:i})=>{switch(e){case`TLT`:return`天赋【${r}】发动:${t}`;case`EVT`:return t+(i?`\n${i}`:``)}}).join(`
`),n.grade(t[t.length-1].grade),this.vboxTrajectory.addChild(n),this.#a.push(n),n.y=this.vboxTrajectory.height}onSummary(){let e=this.#o;$ui.switchView(UI.pages.SUMMARY,{talents:e,enableExtend:this.#s})}get speed(){return this.#e}set speed(e){this.#e=e,this.prgSpeed.value=e/this.scbSpeed.max,clearInterval(this.#t),this.#t=null,e&&(this.#t=setInterval(()=>this.onNext(),3e3*(1-this.prgSpeed.value)+300))}};export{e as default};
-2
View File
@@ -1,2 +0,0 @@
var e=class e extends ui.view.CyberTheme.CyberTrajectoryUI{constructor(){super();let e=[0,0];this.panelTrajectory.on(Laya.Event.MOUSE_DOWN,this,t=>e=[t.stageX,t.stageY]),this.panelTrajectory.on(Laya.Event.MOUSE_UP,this,t=>{let n=t.stageX-e[0],r=t.stageY-e[1];Math.sqrt(Math.abs(n)+Math.abs(r))>10||this.onNext()}),this.btnSummary.on(Laya.Event.CLICK,this,this.onSummary),this.panelTrajectory.vScrollBar.elasticDistance=150;let t=null,n=null,r=e=>{let t=this.panelTrajectory.vScrollBar.value+e;t<0&&(t=0),t>this.panelTrajectory.vScrollBar.max&&(t=this.panelTrajectory.vScrollBar.max),this.panelTrajectory.scrollTo(0,t)},i=(e,i)=>{e.off(Laya.Event.CLICK,this,r),e.on(Laya.Event.CLICK,this,r,[100*i]),n=setTimeout(()=>{e.off(Laya.Event.CLICK,this,r),t=setInterval(()=>r(10*i),10)},100)},a=()=>{t&&=(clearInterval(t),null),n&&=(clearTimeout(n),null)};this.btnUp.on(Laya.Event.MOUSE_DOWN,this,i,[this.btnUp,-1]),this.btnDown.on(Laya.Event.MOUSE_DOWN,this,i,[this.btnDown,1]),this.btnUp.on(Laya.Event.MOUSE_UP,this,a),this.btnUp.on(Laya.Event.MOUSE_OUT,this,a),this.btnDown.on(Laya.Event.MOUSE_UP,this,a),this.btnDown.on(Laya.Event.MOUSE_OUT,this,a),this.scbSpeed.on(Laya.Event.CHANGE,this,()=>this.speed=this.scbSpeed.value),this.scbSpeed.on(Laya.Event.MOUSE_UP,this,()=>this.onNext())}#e;#t;static#n=Laya.plugin.extractComponents(e.uiView,[`boxTrajectoryItem`]);#r(){let t=e.#n(`boxTrajectoryItem`);return t.labContent=t.getChildByName(`labContent`),t.labAge=t.getChildByName(`hboxAge`).getChildByName(`labAge`),t.boxGrade=t.getChildByName(`boxGrade`),t}#i;#a;#o;#s;init({propertyAllocate:e,talents:t,enableExtend:n}){this.#s=n,this.boxParticle.visible=!1,this.boxSpeed.visible=!0,this.btnSummary.visible=!1,this.#a=[],this.#i=!1,this.#o=t,core.start(e),this.updateProperty(),this.onNext()}close(){this.scbSpeed.value=0,this.speed=0,this.#a.forEach(e=>{e.removeSelf(),e.destroy()}),this.#a=null}updateProperty(){let e=core.PropertyTypes,t=core.propertys;this.labCharm.text=t[e.CHR],this.labIntelligence.text=t[e.INT],this.labStrength.text=t[e.STR],this.labMoney.text=t[e.MNY],this.labSpirit.text=t[e.SPR]}onNext(){if(this.#i)return;let{age:e,content:t,isEnd:n}=core.next();this.#i=n,n&&(this.boxSpeed.visible=!1,this.btnSummary.visible=!0,Laya.timer.frameOnce(1,this,()=>{this.panelTrajectory.scrollTo(0,this.panelTrajectory.contentHeight)})),this.panelTrajectory.scrollTo(0,this.panelTrajectory.contentHeight),this.renderTrajectory(e,t),e>=100&&(this.boxParticle.visible=!0),this.updateProperty()}renderTrajectory(e,t){let n=this.#r();n.labAge.text=``+e,n.labContent.text=t.map(({type:e,description:t,grade:n,name:r,postEvent:i})=>{switch(e){case`TLT`:return`天赋【${r}】发动:${t}`;case`EVT`:return t+(i?`\n${i}`:``)}}).join(`
`),$_.deepMapSet(n.boxGrade,$ui.common.gradeBlk[t[t.length-1].grade||0]),this.vboxTrajectory.addChild(n),this.#a.push(n),n.y=this.vboxTrajectory.height}onSummary(){let e=this.#o;$ui.switchView(UI.pages.SUMMARY,{talents:e,enableExtend:this.#s})}get speed(){return this.#e}set speed(e){this.#e=e,this.prgSpeed.value=e/this.scbSpeed.max,clearInterval(this.#t),this.#t=null,e&&(this.#t=setInterval(()=>this.onNext(),3e3*(1-this.prgSpeed.value)+300))}};export{e as default};
-7
View File
@@ -1,7 +0,0 @@
var e={UI_Next:`下一步`,UI_Back:`返回`,UI_Skip:`跳过`,UI_Done:`完成`,UI_Cancel:`取消`,UI_Confirm:`确认`,UI_Retry:`重试`,UI_Yes:``,UI_No:``,UI_OK:`确定`,UI_Close:`关闭`,UI_Open:`打开`,UI_Search:`搜索`,UI_Loading:`加载中...`,UI_Error:`错误`,UI_BackupBtn:`上面没有效果就试试这个吧`,UI_Colon:``,UI_Times:``,UI_Count:``,UI_Property_Charm:`颜值`,UI_Property_Intelligence:`智力`,UI_Property_Strength:`体质`,UI_Property_Money:`家境`,UI_Property_Spirit:`快乐`,UI_Title_Remake:`人生重开模拟器`,UI_Title_Subsequent:`这垃圾人生一秒也不想待了`,UI_Remake:`↻立即重开`,UI_Thanks:`感谢`,UI_Achievement:`成就`,UI_Cyber_Theme_Art_Design:`UI 设计 by 晰晰`,UI_Banner:`作者的新作《纸上谈亲》已上线小程序
微信/抖音搜索纸上谈亲即可游玩`,UI_Title_Talent:`天赋抽卡`,UI_Talent_Draw:`10连抽`,UI_Talent_Select_Uncomplete:`请选取 3 个天赋`,UI_Title_Property:`调整初始属性`,UI_Left_Property_Point:`剩余属性点`,UI_Selected_Talent:`已选天赋`,UI_Random_Allocate:`随机分配`,UI_Make_New_Life:`开始新人生`,UI_Manual:`手动`,UI_Auto:`自动`,UI_Goto_Summary:`人生总结`,UI_Title_Summary:`人生总结`,UI_Talent_Extend:`天赋你可以选择一个下辈子还能抽到`,UI_Remake_Again:`再次重开`,UI_Final_Age:`享年`,UI_Total_Judge:`总评`,UI_Achievement_Count:`获得成就`,UI_Remake_Times:`重开次数`,UI_Event_Collection_Rate:`事件收集率`,UI_Talent_Collection_Rate:`天赋收集率`,UI_Statistics:`统计`,UI_Rank:`排行榜`,UI_Achievement_Achieve:`获得成就`,UI_Judge_Level_0:`地狱`,UI_Judge_Level_1:`折磨`,UI_Judge_Level_2:`不佳`,UI_Judge_Level_3:`普通`,UI_Judge_Level_4:`优秀`,UI_Judge_Level_5:`罕见`,UI_Judge_Level_6:`逆天`,UI_Judge_Level_7:`传说`,UI_Spirit_Judge_Level_0:`地狱`,UI_Spirit_Judge_Level_1:`折磨`,UI_Spirit_Judge_Level_2:`不幸`,UI_Spirit_Judge_Level_3:`普通`,UI_Spirit_Judge_Level_4:`幸福`,UI_Spirit_Judge_Level_5:`极乐`,UI_Spirit_Judge_Level_6:`天命`,UI_AGE_Judge_Level_0:`胎死腹中`,UI_AGE_Judge_Level_1:`早夭`,UI_AGE_Judge_Level_2:`少年`,UI_AGE_Judge_Level_3:`盛年`,UI_AGE_Judge_Level_4:`中年`,UI_AGE_Judge_Level_5:`花甲`,UI_AGE_Judge_Level_6:`古稀`,UI_AGE_Judge_Level_7:`杖朝`,UI_AGE_Judge_Level_8:`南山`,UI_AGE_Judge_Level_9:`不老`,UI_AGE_Judge_Level_10:`修仙`,UI_AGE_Judge_Level_11:`仙寿`,UI_Intelligence_Judge_Level_7:`识海`,UI_Intelligence_Judge_Level_8:`元神`,UI_Intelligence_Judge_Level_9:`仙魂`,UI_Strength_Judge_Level_7:`凝气`,UI_Strength_Judge_Level_8:`筑基`,UI_Strength_Judge_Level_9:`金丹`,UI_Strength_Judge_Level_10:`元婴`,UI_Strength_Judge_Level_11:`仙体`,UI_Remake_Times_Judge_Level_0:`抽到紫色概率不变`,UI_Remake_Times_Judge_Level_1:`抽到紫色概率翻倍`,UI_Remake_Times_Judge_Level_2:`抽到紫色概率三倍`,UI_Remake_Times_Judge_Level_3:`抽到紫色概率四倍`,UI_Remake_Times_Judge_Level_4:`抽到紫色概率五倍`,UI_Remake_Times_Judge_Level_5:`抽到紫色概率六倍`,UI_Achievement_Count_Judge_Level_0:`抽到橙色概率不变`,UI_Achievement_Count_Judge_Level_1:`抽到橙色概率翻倍`,UI_Achievement_Count_Judge_Level_2:`抽到橙色概率三倍`,UI_Achievement_Count_Judge_Level_3:`抽到橙色概率四倍`,UI_Achievement_Count_Judge_Level_4:`抽到橙色概率五倍`,UI_Achievement_Count_Judge_Level_5:`抽到橙色概率六倍`,UI_Support_Programmer:`打赏程序(顿顿饭)`,UI_Support_Designer:`打赏策划(爱发电)`,UI_Save:`存档`,UI_Load:`读档`,UI_Read:`复制`,UI_Write:`粘贴`,UI_LoadSuccess:`读档成功`,UI_LoadFailed:`读档失败`,UI_CopySuccess:`成功复制存档到剪贴板`,UI_CopyFailed:`复制存档到剪贴板失败请手动复制存档内容`,UI_PasteSuccessDecodeSuccess:`读档成功`,UI_PasteSuccessDecodeFailed:`粘贴剪贴板存档内容成功但剪贴板内容读档失败`,UI_PasteFailedDecodeSuccess:`粘贴剪贴板存档内容失败使用输入的内容读档成功`,UI_PasteFailedDecodeFailed:`粘贴剪贴板存档内容失败使用输入的内容读档失败`,UI_Title_Celebrity:`你的前世是...`,UI_CustomMode:`经典模式`,UI_CustomModeDescription:`10连抽天赋
自由分配属性`,UI_CelebrityMode:`名人模式`,UI_CelebrityModeDescription:`前世是古代名人
重开到了现代`,UI_AllNot:`都不是`,UI_UniqueWaTaShi:`独一无二的我`,UI_UniqueWaTaShiContent:`
6000万玩家中独一无二的角色卡
所有属性 所有天赋 随机生成
每人只能生成一次`,UI_GenerateNow:`立即生成`,M_NoRank:`别卷了没有排行榜`,M_PleaseSelectOne:`请选择一个名人`,M_UnGenerate:`独一无二的我还没有生成`,M_DisableExtendTalent:`名人模式不能继承天赋`,F_RemakeTimes:`已重开{0}`,F_AchievementCount:`成就达成{0}`,F_TalentSelection:`{name}{description}`,F_TalentConflict:`与已选的{0}天赋冲突`,F_TalentSelectLimit:`只能选 {0} 个天赋`,F_TalentSelectNotComplect:`要选满{0}个天赋`,F_PropertyPointLeft:`你还有 {0} 属性点没有分配完`,F_TalentReplace:`天赋替换{source.name}->{target.name}`,F_PropertyStr:`颜值{CHR} 智力{INT} 体质{STR} 家境{MNY}`};export{e as default};
+1
View File
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 99 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 84 KiB

-69
View File
@@ -1,69 +0,0 @@
D .
D fonts
R 39B4F491 方正像素12.ttf
D images
D images/accessories
P ADDDCB66 cardicon@3x.png
R 0E2F6E7F insert_coin@3x.png
R B45325FC title@3x.png
P 074FEF52 title_left@3x.png
R 97E72B92 title_neon@3x.png
P 2BA0101A title_right@3x.png
R E1602E15 titlebar@3x.png
D images/background
R 9343F3BB background_1@3x.png
R 0B49B27D background_2@3x.png
D images/border
P A2B33396 achievement@3x.png
R 45A1A604 achievement_complete@3x.png
R 6CF3EE8E border_1@3x.png
R AAEA6308 border_2@3x.png
R A57A026E card@3x.png
P C1EDDBED property@3x.png
R A8C7A5A5 talent_item@3x.png
R DCE4E73A talent_item_selected@3x.png
R 373CDF45 up@3x.png
D images/button
P 69FF5572 button_back@3x.png
R 441BFE78 button_main@3x.png
P F2B85B54 button_small@3x.png
D images/icons
P C677F3AE icon_achievement@3x.png
P 3D072134 icon_chr@3x.png
P C663FAF5 icon_discord.png
P 3FA91C13 icon_github.png
P AB934AEA icon_int@3x.png
P F1A0724B icon_mny@3x.png
P D5AADAC9 icon_rank@3x.png
P 0806E5F3 icon_save.png
P 2DB0325D icon_spr@3x.png
P 2EFA541B icon_str@3x.png
P 804842C9 icon_thanks@3x.png
P 96DD5D94 icon_themes.png
P 6ECB5FEC icon_up@3x.png
D images/progress
P E2BF0C93 progress_1@3x$bar.png
P B86E1D0F progress_1@3x.png
P E7F15BA7 progress_2$bar.png
P 641A22BF progress_2.png
P AF80A9AF progress_s$bar.png
P 41417E8D progress_s.png
D images/radio
P CCF63014 radio_cyber.png
P 040DE73C radio_dark.png
P BA975F5A radio_light.png
D images/resource
P F3659301 bottombreath.png
P 496D6FB9 circle.png
P B5087365 circleflash.png
D images/slider
P 9682C590 hslider_s$bar.png
P F6238BD4 hslider_s$down.png
P F4198287 hslider_s$up.png
P 2A785866 hslider_s.png
R 8B95E6D3 vslider_1@3x$bar.png
P 6581FBA8 vslider_1@3x$down.png
P 6581FBA8 vslider_1@3x$up.png
R C9587878 vslider_1@3x.png
D images/texture
P FD231754 texture_1.png
@@ -1 +0,0 @@
{"frames":{"cardicon@3x.png":{"frame":{"h":466,"idx":0,"w":455,"x":0,"y":0},"sourceSize":{"h":466,"w":455},"spriteSourceSize":{"x":0,"y":0}},"title_left@3x.png":{"frame":{"h":27,"idx":0,"w":48,"x":456,"y":0},"sourceSize":{"h":27,"w":48},"spriteSourceSize":{"x":0,"y":0}},"title_right@3x.png":{"frame":{"h":27,"idx":0,"w":48,"x":456,"y":28},"sourceSize":{"h":27,"w":48},"spriteSourceSize":{"x":0,"y":0}}},"meta":{"image":"accessories.png","prefix":"images/accessories/"}}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 76 KiB

-1
View File
@@ -1 +0,0 @@
{"frames":{"achievement@3x.png":{"frame":{"h":412,"idx":0,"w":486,"x":0,"y":0},"sourceSize":{"h":412,"w":486},"spriteSourceSize":{"x":0,"y":0}},"property@3x.png":{"frame":{"h":84,"idx":0,"w":257,"x":0,"y":413},"sourceSize":{"h":84,"w":257},"spriteSourceSize":{"x":0,"y":0}}},"meta":{"image":"border.png","prefix":"images/border/"}}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB

-1
View File
@@ -1 +0,0 @@
{"frames":{"button_back@3x.png":{"frame":{"h":114,"idx":0,"w":147,"x":0,"y":91},"sourceSize":{"h":114,"w":147},"spriteSourceSize":{"x":0,"y":0}},"button_small@3x.png":{"frame":{"h":90,"idx":0,"w":225,"x":0,"y":0},"sourceSize":{"h":90,"w":225},"spriteSourceSize":{"x":0,"y":0}}},"meta":{"image":"button.png","prefix":"images/button/"}}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.9 KiB

-1
View File
@@ -1 +0,0 @@
{"frames":{"icon_achievement@3x.png":{"frame":{"h":69,"idx":0,"w":65,"x":188,"y":385},"sourceSize":{"h":69,"w":65},"spriteSourceSize":{"x":0,"y":0}},"icon_chr@3x.png":{"frame":{"h":61,"idx":0,"w":57,"x":320,"y":448},"sourceSize":{"h":61,"w":57},"spriteSourceSize":{"x":0,"y":0}},"icon_discord.png":{"frame":{"h":384,"idx":0,"w":384,"x":0,"y":0},"sourceSize":{"h":384,"w":384},"spriteSourceSize":{"x":0,"y":0}},"icon_github.png":{"frame":{"h":384,"idx":0,"w":384,"x":385,"y":0},"sourceSize":{"h":384,"w":384},"spriteSourceSize":{"x":0,"y":0}},"icon_int@3x.png":{"frame":{"h":57,"idx":0,"w":54,"x":188,"y":455},"sourceSize":{"h":57,"w":54},"spriteSourceSize":{"x":0,"y":0}},"icon_mny@3x.png":{"frame":{"h":57,"idx":0,"w":54,"x":243,"y":455},"sourceSize":{"h":57,"w":54},"spriteSourceSize":{"x":0,"y":0}},"icon_rank@3x.png":{"frame":{"h":62,"idx":0,"w":72,"x":320,"y":385},"sourceSize":{"h":62,"w":72},"spriteSourceSize":{"x":0,"y":0}},"icon_save.png":{"frame":{"h":90,"idx":0,"w":90,"x":97,"y":385},"sourceSize":{"h":90,"w":90},"spriteSourceSize":{"x":0,"y":0}},"icon_spr@3x.png":{"frame":{"h":60,"idx":0,"w":57,"x":378,"y":448},"sourceSize":{"h":60,"w":57},"spriteSourceSize":{"x":0,"y":0}},"icon_str@3x.png":{"frame":{"h":57,"idx":0,"w":54,"x":393,"y":385},"sourceSize":{"h":57,"w":54},"spriteSourceSize":{"x":0,"y":0}},"icon_thanks@3x.png":{"frame":{"h":69,"idx":0,"w":65,"x":254,"y":385},"sourceSize":{"h":69,"w":65},"spriteSourceSize":{"x":0,"y":0}},"icon_themes.png":{"frame":{"h":96,"idx":0,"w":96,"x":0,"y":385},"sourceSize":{"h":96,"w":96},"spriteSourceSize":{"x":0,"y":0}},"icon_up@3x.png":{"frame":{"h":18,"idx":0,"w":33,"x":97,"y":476},"sourceSize":{"h":18,"w":33},"spriteSourceSize":{"x":0,"y":0}}},"meta":{"image":"icons.png","prefix":"images/icons/"}}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 53 KiB

@@ -1 +0,0 @@
{"frames":{"progress_1@3x$bar.png":{"frame":{"h":36,"idx":0,"w":203,"x":0,"y":262},"sourceSize":{"h":36,"w":203},"spriteSourceSize":{"x":0,"y":0}},"progress_1@3x.png":{"frame":{"h":36,"idx":0,"w":203,"x":204,"y":262},"sourceSize":{"h":36,"w":203},"spriteSourceSize":{"x":0,"y":0}},"progress_2$bar.png":{"frame":{"h":200,"idx":0,"w":200,"x":0,"y":0},"sourceSize":{"h":200,"w":200},"spriteSourceSize":{"x":0,"y":0}},"progress_2.png":{"frame":{"h":200,"idx":0,"w":200,"x":201,"y":0},"sourceSize":{"h":200,"w":200},"spriteSourceSize":{"x":0,"y":0}},"progress_s$bar.png":{"frame":{"h":60,"idx":0,"w":226,"x":0,"y":201},"sourceSize":{"h":60,"w":226},"spriteSourceSize":{"x":0,"y":0}},"progress_s.png":{"frame":{"h":60,"idx":0,"w":226,"x":227,"y":201},"sourceSize":{"h":60,"w":226},"spriteSourceSize":{"x":0,"y":0}}},"meta":{"image":"progress.png","prefix":"images/progress/"}}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

-1
View File
@@ -1 +0,0 @@
{"frames":{"radio_cyber.png":{"frame":{"h":300,"idx":0,"w":300,"x":0,"y":0},"sourceSize":{"h":300,"w":300},"spriteSourceSize":{"x":0,"y":0}},"radio_dark.png":{"frame":{"h":300,"idx":0,"w":300,"x":0,"y":301},"sourceSize":{"h":300,"w":300},"spriteSourceSize":{"x":0,"y":0}},"radio_light.png":{"frame":{"h":300,"idx":0,"w":300,"x":301,"y":0},"sourceSize":{"h":300,"w":300},"spriteSourceSize":{"x":0,"y":0}}},"meta":{"image":"radio.png","prefix":"images/radio/"}}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 83 KiB

@@ -1 +0,0 @@
{"frames":{"bottombreath.png":{"frame":{"h":200,"idx":0,"w":200,"x":0,"y":0},"sourceSize":{"h":200,"w":200},"spriteSourceSize":{"x":0,"y":0}},"circle.png":{"frame":{"h":200,"idx":0,"w":200,"x":0,"y":201},"sourceSize":{"h":200,"w":200},"spriteSourceSize":{"x":0,"y":0}},"circleflash.png":{"frame":{"h":200,"idx":0,"w":200,"x":201,"y":0},"sourceSize":{"h":200,"w":200},"spriteSourceSize":{"x":0,"y":0}}},"meta":{"image":"resource.png","prefix":"images/resource/"}}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

-1
View File
@@ -1 +0,0 @@
{"frames":{"hslider_s$bar.png":{"frame":{"h":180,"idx":0,"w":47,"x":0,"y":61},"sourceSize":{"h":180,"w":47},"spriteSourceSize":{"x":0,"y":0}},"hslider_s$down.png":{"frame":{"h":1,"idx":0,"w":1,"x":0,"y":242},"sourceSize":{"h":1,"w":1},"spriteSourceSize":{"x":0,"y":0}},"hslider_s$up.png":{"frame":{"h":1,"idx":0,"w":1,"x":0,"y":244},"sourceSize":{"h":1,"w":1},"spriteSourceSize":{"x":0,"y":0}},"hslider_s.png":{"frame":{"h":60,"idx":0,"w":226,"x":0,"y":0},"sourceSize":{"h":60,"w":226},"spriteSourceSize":{"x":0,"y":0}},"vslider_1@3x$down.png":{"frame":{"h":1,"idx":0,"w":1,"x":0,"y":246},"sourceSize":{"h":1,"w":1},"spriteSourceSize":{"x":0,"y":0}},"vslider_1@3x$up.png":{"frame":{"h":1,"idx":0,"w":1,"x":0,"y":248},"sourceSize":{"h":1,"w":1},"spriteSourceSize":{"x":0,"y":0}}},"meta":{"image":"slider.png","prefix":"images/slider/"}}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.0 KiB

-1
View File
@@ -1 +0,0 @@
{"frames":{"texture_1.png":{"frame":{"h":400,"idx":0,"w":400,"x":0,"y":0},"sourceSize":{"h":400,"w":400},"spriteSourceSize":{"x":0,"y":0}}},"meta":{"image":"texture.png","prefix":"images/texture/"}}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 426 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 502 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

Some files were not shown because too many files have changed in this diff Show More