koishi-plugin-ggcevo-game 1.0.0 → 1.0.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.
Files changed (2) hide show
  1. package/lib/index.js +3 -3
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -766,7 +766,7 @@ ID:${activity.id}
766
766
  await ctx.database.upsert("ggcevo_rank", [{
767
767
  handle,
768
768
  name: record.profile.name,
769
- rank: record.decision === "win" ? (ggcrank?.rank || 0) + 200 : (ggcrank?.rank || 0) - 50,
769
+ rank: record.decision === "win" ? (ggcrank?.rank || 0) + 150 : (ggcrank?.rank || 0) - 50,
770
770
  matches: (ggcrank?.matches || 0) + 1
771
771
  }]);
772
772
  }
@@ -825,7 +825,7 @@ ID:${activity.id}
825
825
  await ctx.database.upsert("ggcevo_rank", [{
826
826
  handle,
827
827
  name: record.profile.name,
828
- rank: record.decision === "win" ? (ggcrank?.rank || 0) + 200 : (ggcrank?.rank || 0) - 50,
828
+ rank: record.decision === "win" ? (ggcrank?.rank || 0) + 150 : (ggcrank?.rank || 0) - 50,
829
829
  matches: (ggcrank?.matches || 0) + 1
830
830
  }]);
831
831
  }
@@ -865,7 +865,7 @@ ID:${activity.id}
865
865
  ).join("\n");
866
866
  return [
867
867
  `🏆 GGCEvo S1赛季胜点榜 🏆`,
868
- `本赛季至331日23点结算`,
868
+ `本赛季至515日23点结算`,
869
869
  `第 ${pageNum} 页 共 ${totalPages} 页`,
870
870
  "------------------------------",
871
871
  rankingText,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "koishi-plugin-ggcevo-game",
3
3
  "description": "星际争霸2游戏大厅咕咕虫-Evo地图专属插件",
4
- "version": "1.0.0",
4
+ "version": "1.0.1",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",
7
7
  "files": [