6 Commits

Author SHA1 Message Date
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
12 changed files with 147 additions and 85 deletions

View File

@@ -1,6 +1,6 @@
# lifeRestart
![Discord](https://img.shields.io/discord/883382868427014255?color=%23FEE75C&label=Discord&logo=discord&logoColor=white&style=for-the-badge)
<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) | 简体中文
@@ -10,6 +10,8 @@
## 使用
### 网页版
1. 下载项目代码。
```bash
@@ -41,12 +43,12 @@ yarn dev
npm run dev
```
5. 控制台版本
4. 启动完成后会自动打开浏览器访问 [http://localhost:8081/view/index.html](http://localhost:8081/view/index.html)。
### 控制台版本
```bash
node repl
```
5. 启动完成后会自动打开浏览器访问 [http://localhost:8081/view/index.html](http://localhost:8081/view/index.html)。
> 更多信息请参考 [官网文档](https://liferestart.syaro.io/)。

View File

@@ -1,6 +1,6 @@
# lifeRestart
![Discord](https://img.shields.io/discord/883382868427014255?color=%23FEE75C&label=Discord&logo=discord&logoColor=white&style=for-the-badge)
<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)
@@ -10,6 +10,8 @@ English | [简体中文](./README-zh_CN.md)
## Usage
### Web Version
1. Clone project code.
```bash
@@ -41,12 +43,12 @@ Or
npm run dev
```
4. Command Line version
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).
### Command Line Version
```bash
node repl
```
5. After the startup is complete, will automatically open a browser and visit [http://localhost:8081/view/index.html](http://localhost:8081/view/index.html).
> More instructions at [documentation](https://liferestart.syaro.io/)。

View File

@@ -1390,7 +1390,8 @@
"11347*0.01",
"11348*0.01",
"11349",
"10008*0.1"
"10008*0.1",
"11468*0.1"
]
},
"12": {
@@ -2738,7 +2739,8 @@
"11466*33333333333333333",
"11467*33333333333333333",
"11458*99999999999999999",
"11459*99999999999999999"
"11459*99999999999999999",
"11468*0.1"
]
},
"19": {
@@ -2902,7 +2904,8 @@
"11466*33333333333333333",
"11467*33333333333333333",
"11458*99999999999999999",
"11459*99999999999999999"
"11459*99999999999999999",
"11468*0.1"
]
},
"20": {
@@ -3234,7 +3237,8 @@
"11466*33333333333333333",
"11467*33333333333333333",
"11458*99999999999999999",
"11459*99999999999999999"
"11459*99999999999999999",
"11468*0.1"
]
},
"22": {
@@ -3689,7 +3693,8 @@
"11466*33333333333333333",
"11467*33333333333333333",
"11458*99999999999999999",
"11459*99999999999999999"
"11459*99999999999999999",
"11468*0.1"
]
},
"25": {
@@ -5489,7 +5494,8 @@
"11467*333333333333333333",
"11458*99999999999999999",
"11459*99999999999999999",
"30001*0.1"
"30001*0.1",
"11468*0.1"
]
},
"32": {
@@ -5986,7 +5992,8 @@
"11467*333333333333333333",
"11458*99999999999999999",
"11459*99999999999999999",
"30001*0.1"
"30001*0.1",
"11468*0.1"
]
},
"34": {
@@ -9462,7 +9469,8 @@
"11447*0.01",
"11448*0.01",
"11449*0.01",
"11450*0.01"
"11450*0.01",
"11468*0.1"
]
},
"47": {
@@ -12160,7 +12168,8 @@
"11447*0.05",
"11448*0.05",
"11449*0.05",
"11450*0.05"
"11450*0.05",
"11469"
]
},
"61": {
@@ -12359,7 +12368,8 @@
"11447*0.05",
"11448*0.05",
"11449*0.05",
"11450*0.05"
"11450*0.05",
"11469"
]
},
"62": {
@@ -12562,7 +12572,8 @@
"11447*0.05",
"11448*0.05",
"11449*0.05",
"11450*0.05"
"11450*0.05",
"11469"
]
},
"63": {
@@ -12763,7 +12774,8 @@
"11447*0.05",
"11448*0.05",
"11449*0.05",
"11450*0.05"
"11450*0.05",
"11469"
]
},
"64": {
@@ -12964,7 +12976,8 @@
"11447*0.05",
"11448*0.05",
"11449*0.05",
"11450*0.05"
"11450*0.05",
"11469"
]
},
"65": {
@@ -13165,7 +13178,8 @@
"11447*0.05",
"11448*0.05",
"11449*0.05",
"11450*0.05"
"11450*0.05",
"11469"
]
},
"66": {
@@ -13360,7 +13374,8 @@
"11447*0.05",
"11448*0.05",
"11449*0.05",
"11450*0.05"
"11450*0.05",
"11469"
]
},
"67": {
@@ -13554,7 +13569,8 @@
"11447*0.05",
"11448*0.05",
"11449*0.05",
"11450*0.05"
"11450*0.05",
"11469"
]
},
"68": {
@@ -13747,7 +13763,8 @@
"11447*0.05",
"11448*0.05",
"11449*0.05",
"11450*0.05"
"11450*0.05",
"11469"
]
},
"69": {
@@ -13940,7 +13957,8 @@
"11447*0.05",
"11448*0.05",
"11449*0.05",
"11450*0.05"
"11450*0.05",
"11469"
]
},
"70": {
@@ -14132,7 +14150,8 @@
"11447*0.05",
"11448*0.05",
"11449*0.05",
"11450*0.05"
"11450*0.05",
"11469"
]
},
"71": {
@@ -14319,7 +14338,8 @@
"11447*0.05",
"11448*0.05",
"11449*0.05",
"11450*0.05"
"11450*0.05",
"11469"
]
},
"72": {
@@ -14506,7 +14526,8 @@
"11447*0.05",
"11448*0.05",
"11449*0.05",
"11450*0.05"
"11450*0.05",
"11469"
]
},
"73": {
@@ -14693,7 +14714,8 @@
"11447*0.05",
"11448*0.05",
"11449*0.05",
"11450*0.05"
"11450*0.05",
"11469"
]
},
"74": {
@@ -15014,7 +15036,8 @@
"11447*0.05",
"11448*0.05",
"11449*0.05",
"11450*0.05"
"11450*0.05",
"11469"
]
},
"76": {
@@ -15190,7 +15213,8 @@
"11447*0.05",
"11448*0.05",
"11449*0.05",
"11450*0.05"
"11450*0.05",
"11469"
]
},
"77": {
@@ -15365,7 +15389,8 @@
"11447*0.05",
"11448*0.05",
"11449*0.05",
"11450*0.05"
"11450*0.05",
"11469"
]
},
"78": {
@@ -15540,7 +15565,8 @@
"11447*0.05",
"11448*0.05",
"11449*0.05",
"11450*0.05"
"11450*0.05",
"11469"
]
},
"79": {
@@ -15715,7 +15741,8 @@
"11447*0.05",
"11448*0.05",
"11449*0.05",
"11450*0.05"
"11450*0.05",
"11469"
]
},
"80": {
@@ -15857,7 +15884,8 @@
"11346*0.1",
"11347*0.01",
"11348*0.01",
"11349"
"11349",
"11469"
]
},
"81": {
@@ -15999,7 +16027,8 @@
"11346*0.1",
"11347*0.01",
"11348*0.01",
"11349"
"11349",
"11469"
]
},
"82": {
@@ -16162,7 +16191,8 @@
"11447*0.05",
"11448*0.05",
"11449*0.05",
"11450*0.05"
"11450*0.05",
"11469"
]
},
"83": {
@@ -16323,7 +16353,8 @@
"11447*0.05",
"11448*0.05",
"11449*0.05",
"11450*0.05"
"11450*0.05",
"11469"
]
},
"84": {
@@ -16484,7 +16515,8 @@
"11447*0.05",
"11448*0.05",
"11449*0.05",
"11450*0.05"
"11450*0.05",
"11469"
]
},
"85": {
@@ -16645,7 +16677,8 @@
"11447*0.05",
"11448*0.05",
"11449*0.05",
"11450*0.05"
"11450*0.05",
"11469"
]
},
"86": {
@@ -18164,7 +18197,8 @@
"100": {
"age": "100",
"event": [
10323
10323,
"20410*99999999999"
]
},
"101": {

Binary file not shown.

View File

@@ -2011,7 +2011,7 @@
"id": 10236,
"event": "你年龄大了,随便找了一个将就着结婚了。",
"include": "EVT?[10009]",
"exclude": "(EVT?[10235,10236,10234,10233,10231,10230,10229,10610,10611,10612,10088])|(TLT?[1027])"
"exclude": "(EVT?[10235,10236,10234,10250,10233,10231,10230,10229,10610,10611,10612,10088])|(TLT?[1027])"
},
"10237": {
"id": 10237,
@@ -3357,7 +3357,6 @@
"id": 10391,
"event": "开始渡劫。九重雷劫开始。",
"include": "EVT?[10377]",
"exclude": "EVT?[10391]",
"branch": [
"EVT?[10377]:10392"
]
@@ -3366,9 +3365,9 @@
"id": 10392,
"event": "第一重雷劫落下。",
"NoRandom": 1,
"exclude": "EVT?[10392]",
"branch": [
"STR>1100:10393",
"(STR<1101)&(TLT?[1134]):20409",
"STR<1101:10000"
]
},
@@ -3376,9 +3375,9 @@
"id": 10393,
"event": "第二重雷劫落下。",
"NoRandom": 1,
"exclude": "EVT?[10393]",
"branch": [
"STR>1200:10394",
"(STR<1201)&(TLT?[1134]):20409",
"STR<1201:10000"
]
},
@@ -3386,9 +3385,9 @@
"id": 10394,
"event": "第三重雷劫落下。",
"NoRandom": 1,
"exclude": "EVT?[10394]",
"branch": [
"STR>1300:10395",
"(STR<1301)&(TLT?[1134]):20409",
"STR<1301:10000"
]
},
@@ -3396,9 +3395,9 @@
"id": 10395,
"event": "第四重雷劫落下。",
"NoRandom": 1,
"exclude": "EVT?[10395]",
"branch": [
"STR>1400:10396",
"(STR<1401)&(TLT?[1134]):20409",
"STR<1401:10000"
]
},
@@ -3406,9 +3405,9 @@
"id": 10396,
"event": "第五重雷劫落下。",
"NoRandom": 1,
"exclude": "EVT?[10396]",
"branch": [
"STR>1500:10397",
"(STR<1501)&(TLT?[1134]):20409",
"STR<1501:10000"
]
},
@@ -3416,9 +3415,9 @@
"id": 10397,
"event": "第六重雷劫落下。",
"NoRandom": 1,
"exclude": "EVT?[10397]",
"branch": [
"STR>1600:10398",
"(STR<1601)&(TLT?[1134]):20409",
"STR<1601:10000"
]
},
@@ -3426,9 +3425,9 @@
"id": 10398,
"event": "第七重雷劫落下。",
"NoRandom": 1,
"exclude": "EVT?[10398]",
"branch": [
"STR>1700:10399",
"(STR<1701)&(TLT?[1134]):20409",
"STR<1701:10000"
]
},
@@ -3436,9 +3435,9 @@
"id": 10399,
"event": "第八重雷劫落下。",
"NoRandom": 1,
"exclude": "EVT?[10399]",
"branch": [
"STR>1800:10400",
"(STR<1801)&(TLT?[1134]):20409",
"STR<1801:10000"
]
},
@@ -3446,9 +3445,9 @@
"id": 10400,
"event": "第九重雷劫落下。",
"NoRandom": 1,
"exclude": "EVT?[10400]",
"branch": [
"STR>2000:10401",
"(STR<2001)&(TLT?[1134]):20409",
"STR<2001:10000"
]
},
@@ -3456,7 +3455,6 @@
"id": 10401,
"event": "雷劫度过,元神劫开始。",
"NoRandom": 1,
"exclude": "EVT?[10401]",
"branch": [
"EVT?[10377]:10402"
]
@@ -3465,9 +3463,9 @@
"id": 10402,
"event": "金之元神劫落下。",
"NoRandom": 1,
"exclude": "EVT?[10402]",
"branch": [
"EVT?[10382,20367]:10403",
"(EVT?[10377])&(TLT?[1134]):20409",
"EVT?[10377]:10000"
]
},
@@ -3475,9 +3473,9 @@
"id": 10403,
"event": "木之元神劫落下。",
"NoRandom": 1,
"exclude": "EVT?[10403]",
"branch": [
"EVT?[10383,20367]:10404",
"(EVT?[10377])&(TLT?[1134]):20409",
"EVT?[10377]:10000"
]
},
@@ -3485,9 +3483,9 @@
"id": 10404,
"event": "水之元神劫落下。",
"NoRandom": 1,
"exclude": "EVT?[10404]",
"branch": [
"EVT?[10380,20367]:10405",
"(EVT?[10377])&(TLT?[1134]):20409",
"EVT?[10377]:10000"
]
},
@@ -3495,9 +3493,9 @@
"id": 10405,
"event": "火之元神劫落下。",
"NoRandom": 1,
"exclude": "EVT?[10405]",
"branch": [
"EVT?[10381,20367]:10406",
"(EVT?[10377])&(TLT?[1134]):20409",
"EVT?[10377]:10000"
]
},
@@ -3505,9 +3503,9 @@
"id": 10406,
"event": "土之元神劫落下。",
"NoRandom": 1,
"exclude": "EVT?[10406]",
"branch": [
"EVT?[10384,20367]:10407",
"(EVT?[10377])&(TLT?[1134]):20409",
"EVT?[10377]:10000"
]
},
@@ -3515,9 +3513,9 @@
"id": 10407,
"event": "本源元神劫落下。",
"NoRandom": 1,
"exclude": "EVT?[10407]",
"branch": [
"EVT?[10386,10387,10388,10389,10390,20367]:10408",
"(EVT?[10377])&(TLT?[1134]):20409",
"EVT?[10377]:10000"
]
},
@@ -3525,9 +3523,9 @@
"id": 10408,
"event": "心魔劫降临。",
"NoRandom": 1,
"exclude": "EVT?[10408]",
"branch": [
"SPR>10:10409",
"(EVT?[10377])&(TLT?[1134]):20409",
"EVT?[10377]:10000"
]
},
@@ -3538,8 +3536,7 @@
"effect": {
"LIF": -1
},
"NoRandom": 1,
"exclude": "EVT?[10409]"
"NoRandom": 1
},
"10410": {
"id": 10410,
@@ -5070,7 +5067,7 @@
"id": 10622,
"event": "你的爱人也来你的公司工作。",
"include": "EVT?[10608]",
"exclude": "EVT?[10622]"
"exclude": "(EVT?[10622])|(TLT?[1027])"
},
"10623": {
"id": 10623,
@@ -6043,13 +6040,13 @@
},
"10771": {
"id": 10771,
"event": "【绝密消息】你捡到一张纸条上面写着一位策划的联系方式846945492",
"event": "【绝密消息】你捡到一张纸条上面写着一位策划的联系方式846945492。纸条背面又写着:加的人太多了!不加了不加了",
"include": "TLT?[1112]",
"exclude": "EVT?[10771,10772]"
},
"10772": {
"id": 10772,
"event": "【绝密消息】你捡到一张纸条上面写着一位程序的联系方式1281616438。",
"event": "【绝密消息】你捡到一张纸条上面写着一位程序的联系方式1281616438。纸条背面又写着:加的人太多了!不加了不加了",
"include": "TLT?[1112]",
"exclude": "EVT?[10772,10771]"
},
@@ -10736,19 +10733,21 @@
},
"11468": {
"id": 11468,
"include": "EVT?[10010]",
"exclude": "EVT?[11468]"
"event": "时光突然倒流了。",
"effect": {
"AGE": -5
},
"include": "TLT?[1133]"
},
"11469": {
"id": 11469,
"include": "EVT?[10010]",
"event": "你突然回到了年轻的时候。",
"effect": {
"AGE": -50
},
"include": "TLT?[1132]",
"exclude": "EVT?[11469]"
},
"11470": {
"id": 11470,
"include": "EVT?[10010]",
"exclude": "EVT?[11470]"
},
"20007": {
"id": 20007,
"event": "你喜欢看画面人设好看的动漫。",
@@ -10973,7 +10972,7 @@
"id": 20339,
"event": "你喜欢上了宗门的一个小师妹。",
"include": "((EVT?[20335])&(EVT?[10001]))|((EVT?[20335])&(EVT?[10002])&(TLT?[1026]))",
"exclude": "(EVT?[20339])|(TLT?[1027])"
"exclude": "(EVT?[20339])|(TLT?[1027,1134])"
},
"20340": {
"id": 20340,
@@ -11072,6 +11071,16 @@
},
"include": "(EVT?[10365])&(INT>520)&(TLT?[1048])"
},
"20409": {
"id": 20409,
"event": "你没有扛过这一劫。灵魂碎片侥幸逃出,你转世重生了。",
"postEvent": "身体变弱,记忆尽失,但你的道之境界还在。",
"effect": {
"STR": -1000,
"AGE": -500
},
"NoRandom": 1
},
"20410": {
"id": 20410,
"event": "你还喜欢在萌战吧、S1和bangumi茶话会发钓鱼帖。",

Binary file not shown.

View File

@@ -1151,5 +1151,23 @@
"name": "魔法棒",
"description": "不知道有什么用……",
"grade": 2
},
"1132": {
"id": 1132,
"name": "返老还童",
"description": "可能会回到年轻的时候",
"grade": 2
},
"1133": {
"id": 1133,
"name": "时光倒流",
"description": "或许时间会倒流",
"grade": 1
},
"1134": {
"id": 1134,
"name": "转世重修",
"description": "渡劫失败重生",
"grade": 3
}
}

Binary file not shown.

File diff suppressed because one or more lines are too long

View File

@@ -153,12 +153,9 @@ class App{
<div id="total" style="font-size:1rem; font-weight:normal;">可用属性点0</div>
</div>
<ul id="propertyAllocation" class="propinitial"></ul>
<ul class="propinitial" style="top:auto; bottom:23rem">
<li>已选天赋</li>
</ul>
<ul class="selectlist" id="talentSelectedView" style="top:auto; bottom:16rem"></ul>
<button id="random" class="mainbtn" style="top:auto; bottom:7rem">随机分配</button>
<button id="start" class="mainbtn" style="top:auto; bottom:0.1rem">开始新人生</button>
<ul class="selectlist" id="talentSelectedView" style="top:calc(100% - 17rem); bottom:7rem"></ul>
<button id="random" class="mainbtn" style="top:auto; bottom:0.1rem; left:auto; right:50%; transform: translate(-2rem,-50%);">随机分配</button>
<button id="start" class="mainbtn" style="top:auto; bottom:0.1rem; left:50%; right:auto; transform: translate(2rem,-50%);">开始新人生</button>
</div>
`);
propertyPage.mounted = ()=>{

View File

@@ -274,7 +274,7 @@ body {
.propinitial {
top: 5rem;
bottom: 14rem;
bottom: 17rem;
}
.propbtn:hover{

View File

@@ -164,7 +164,7 @@ body {
overflow: auto;
transform: translateX(-50%);
display: flex;
color: white;
color: black;
}
.lifeProperty > li {
@@ -270,7 +270,7 @@ body {
.propinitial {
top: 5rem;
bottom: 14rem;
bottom: 17rem;
}
.propinitial > li {