koishi-plugin-toram 0.8.0 → 0.8.1

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.
@@ -12090,17 +12090,17 @@
12090
12090
  [
12091
12091
  1191,
12092
12092
  "update",
12093
- "赏月活动结束,配方额外持续1周至10月6日。",
12093
+ "暂无",
12094
12094
  null,
12095
12095
  null,
12096
12096
  null,
12097
12097
  null,
12098
- "1695978000000"
12098
+ null
12099
12099
  ],
12100
12100
  [
12101
12101
  1192,
12102
12102
  "update",
12103
- "①新剧情任务\/地图\/配方(12章:带孩子的龙人夫妻),等级上限提升至255。②万圣节活动开启,持续5周至11月10日。③秋季美食活动结束,配方额外持续1周至10月13日。④撤除赏月活动配方。",
12103
+ "①新剧情任务\/地图\/配方(12章:带孩子的龙人夫妻),等级上限提升至255。②万圣节活动开启,持续5周至11月10日。③秋季美食活动结束,配方额外持续1周至10月13日。④赏月活动结束,配方额外持续1周至10月13日。",
12104
12104
  null,
12105
12105
  null,
12106
12106
  null,
@@ -12110,7 +12110,7 @@
12110
12110
  [
12111
12111
  1193,
12112
12112
  "update",
12113
- "①史东迪的实验开放210级难度。②撤除秋季美食活动的配方。",
12113
+ "①史东迪的实验开放210级难度。②撤除秋季美食活动的配方。③撤除赏月活动配方。",
12114
12114
  null,
12115
12115
  null,
12116
12116
  null,
package/lib/index.js CHANGED
@@ -25,7 +25,7 @@ async function apply(ctx, config) {
25
25
  SubType: 'string',
26
26
  Values: 'string' // 对象的值
27
27
  }, { primary: 'id' });
28
- const ver = '0.8.0'; //当前版本
28
+ const ver = '0.8.1'; //当前版本
29
29
  const 等级_经验倍率数组 = [11, 11, 11, 11, 11, 10, 9, 7, 3];
30
30
  const 简中_数字转化 = { '一': '1', '二': '2', '三': '3', '四': '4', '五': '5', '六': '6', '七': '7', '八': '8', '九': '9', '十': '10' };
31
31
  const InfoSetting = [{ 'type': '定点王', 'setting': config.升级_定点王数量 }, { 'type': '野王', 'setting': config.升级_野王数量 }];
@@ -293,7 +293,7 @@ async function apply(ctx, config) {
293
293
  const DishesType = GetDishesType[0]?.Type || 'none';
294
294
  if (DishesType == 'none') {
295
295
  var regex = new RegExp(DishesName);
296
- var GetOnesDishes = GetDishes.filter(dishes => regex.test(dishes));
296
+ var GetOnesDishes = GetDishes.filter(dishes => regex.test(dishes.Name));
297
297
  a = GetOnesDishes.length;
298
298
  // 判断玩家昵称是否匹配有料理 是 返回信息
299
299
  if (a != 0) {
@@ -311,7 +311,7 @@ async function apply(ctx, config) {
311
311
  }
312
312
  // 判断参数是否为料理简写 是 获取该简写相关料理
313
313
  var AllLevelDishes = GetDishes
314
- .filter(player => { player.Type == DishesType; })
314
+ .filter(player => player.Type == DishesType)
315
315
  .sort((player1, player2) => { return player1.Name.localeCompare(player2.Name); });
316
316
  // 检查是否存在指定等级 否 开始返回预设列表
317
317
  if (DishesLevelChoice == undefined) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "koishi-plugin-toram",
3
3
  "description": "托拉姆物语小工具",
4
- "version": "0.8.0",
4
+ "version": "0.8.1",
5
5
  "contributors": [
6
6
  "青灯 <1874053520@qq.com>"
7
7
  ],