koishi-plugin-smmcat-gensokyo 0.0.19 → 0.0.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/index.js +51 -3
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -87,7 +87,8 @@ var GensokyoMap = {
87
87
  areaName: "蜘蛛森林三",
88
88
  type: "冒险区" /* 冒险区 */,
89
89
  needLv: 1,
90
- left: "蜘蛛森林一"
90
+ left: "蜘蛛森林一",
91
+ monster: [{ name: "大妖精", lv: 3 }]
91
92
  },
92
93
  "蜘蛛森林通道": {
93
94
  floor: 1,
@@ -218,7 +219,8 @@ var GensokyoMap = {
218
219
  areaName: "野猪巢穴",
219
220
  type: "冒险区" /* 冒险区 */,
220
221
  needLv: 1,
221
- top: "绿野平原四"
222
+ top: "绿野平原四",
223
+ monster: [{ name: "蓬莱山辉夜", lv: 20 }]
222
224
  }
223
225
  }
224
226
  };
@@ -541,6 +543,52 @@ var monsterData = {
541
543
  giveProps: [
542
544
  { name: "初级复活卷轴", val: 1, radomVal: 50 }
543
545
  ]
546
+ },
547
+ "大妖精": {
548
+ name: "大妖精",
549
+ type: "野怪" /* 野怪 */,
550
+ info: "活泼好动且喜欢搞恶作剧的妖怪,常常与琪露诺一起溜达",
551
+ pic: "http://smmcat.cn/run/gensokyo/大妖精.png",
552
+ hp: 120,
553
+ maxHp: 120,
554
+ mp: 40,
555
+ maxMp: 40,
556
+ atk: 18,
557
+ def: 5,
558
+ chr: 100,
559
+ csr: 0,
560
+ evasion: 100,
561
+ hit: -400,
562
+ ghd: 1.2,
563
+ speed: 5,
564
+ giveExp: 15,
565
+ giveMonetary: 3,
566
+ giveProps: [
567
+ { name: "初级复活卷轴", val: 1, radomVal: 50 }
568
+ ]
569
+ },
570
+ "蓬莱山辉夜": {
571
+ name: "蓬莱山辉夜",
572
+ type: "野怪" /* 野怪 */,
573
+ info: "永远与须臾的公主,隐居于永远亭的辉夜姬。 对于拥有无限光阴的蓬莱人而言,过去与未来都是无穷无尽的。",
574
+ pic: "http://smmcat.cn/run/gensokyo/蓬莱山辉夜.png",
575
+ hp: 120,
576
+ maxHp: 120,
577
+ mp: 70,
578
+ maxMp: 70,
579
+ atk: 26,
580
+ def: 2,
581
+ chr: 100,
582
+ csr: 0,
583
+ evasion: 200,
584
+ hit: 1e3,
585
+ ghd: 1.5,
586
+ speed: 6,
587
+ giveExp: 20,
588
+ giveMonetary: 5,
589
+ giveProps: [
590
+ { name: "初级复活卷轴", val: 1, radomVal: 50 }
591
+ ]
544
592
  }
545
593
  };
546
594
 
@@ -1393,7 +1441,7 @@ var propsData = {
1393
1441
  price: 10,
1394
1442
  cooling: 3600,
1395
1443
  fn: /* @__PURE__ */ __name(async function(session) {
1396
- if (!BattleData.isBattleByUserId(session.userId)) {
1444
+ if (BattleData.isBattleByUserId(session.userId)) {
1397
1445
  session.send(`该道具在战斗中无法使用!请在小队脱离战斗后使用。`);
1398
1446
  return { err: true };
1399
1447
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "koishi-plugin-smmcat-gensokyo",
3
3
  "description": "名为《幻想乡》的文字冒险游戏",
4
- "version": "0.0.19",
4
+ "version": "0.0.21",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",
7
7
  "files": [