koishi-plugin-ggcevo-game 1.2.9 → 1.2.10

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 +10 -5
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -718,19 +718,24 @@ ${itemDetails.join("\n")}`;
718
718
  }
719
719
  }
720
720
  let tickets = 3;
721
- let points = getRandomInt(10, 20);
721
+ let points = getRandomInt(20, 40);
722
722
  if (monthlyDays === 7) {
723
723
  tickets = 4;
724
- points = getRandomInt(20, 30);
725
724
  } else if (monthlyDays === 14) {
726
725
  tickets = 5;
727
- points = getRandomInt(30, 50);
728
726
  } else if (monthlyDays === 21) {
729
727
  tickets = 6;
730
- points = getRandomInt(50, 70);
731
728
  } else if (monthlyDays === 28) {
732
729
  tickets = 7;
733
- points = getRandomInt(70, 100);
730
+ }
731
+ if (monthlyDays >= 7 && monthlyDays < 14) {
732
+ points = getRandomInt(40, 60);
733
+ } else if (monthlyDays >= 14 && monthlyDays < 21) {
734
+ points = getRandomInt(60, 80);
735
+ } else if (monthlyDays >= 21 && monthlyDays < 28) {
736
+ points = getRandomInt(80, 100);
737
+ } else if (monthlyDays >= 28) {
738
+ points = getRandomInt(100, 200);
734
739
  }
735
740
  await ctx.database.upsert("ggcevo_sign", [{
736
741
  handle,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "koishi-plugin-ggcevo-game",
3
3
  "description": "《星际争霸2》咕咕虫-evolved地图的专属游戏助手插件,集成天梯排行、抽奖系统、签到福利、兑换商城等丰富功能。",
4
- "version": "1.2.9",
4
+ "version": "1.2.10",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",
7
7
  "files": [