koishi-plugin-ggcevo-game 1.6.77 → 1.6.79

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.
package/lib/index.js CHANGED
@@ -714,7 +714,12 @@ var initDefaultItems = {
714
714
  "🥈S2赛季亚军勋章": { id: 112, type: "勋章", description: "" },
715
715
  "🥉S2赛季季军勋章": { id: 113, type: "勋章", description: "" },
716
716
  "🏅S2赛季前十勋章": { id: 114, type: "勋章", description: "" },
717
- "🎖S2赛季前二十勋章": { id: 115, type: "勋章", description: "" }
717
+ "🎖S2赛季前二十勋章": { id: 115, type: "勋章", description: "" },
718
+ "🥇S3赛季冠军勋章": { id: 116, type: "勋章", description: "" },
719
+ "🥈S3赛季亚军勋章": { id: 117, type: "勋章", description: "" },
720
+ "🥉S3赛季季军勋章": { id: 118, type: "勋章", description: "" },
721
+ "🏅S3赛季前十勋章": { id: 119, type: "勋章", description: "" },
722
+ "🎖S3赛季前二十勋章": { id: 120, type: "勋章", description: "" }
718
723
  };
719
724
  var itemConfig = {
720
725
  "拾荒者": { quality: "t3", type: "皮肤", cost: 3, quantity: 8, isLimited: false },
@@ -8650,12 +8655,12 @@ ${ticketMessage}${effectMessage}`;
8650
8655
  for (const [index, player] of rankedPlayers.entries()) {
8651
8656
  const rank = index + 1;
8652
8657
  const coins = getCoinsByRank(rank);
8653
- await updateBackpack(player.handle, 8, coins);
8658
+ await updateBackpack(player.handle, 1, coins);
8654
8659
  const medalType = getMedalType(rank);
8655
8660
  const medalName = requiredMedals[medalType];
8656
8661
  const medalId = initDefaultItems[medalName].id;
8657
8662
  await updateBackpack(player.handle, medalId, 1);
8658
- playerDetails.push(`✦ 第${rank}名:${player.handle} - ${coins}资源兑换券 + ${medalName}`);
8663
+ playerDetails.push(`✦ 第${rank}名:${player.name} - ${coins}咕咕币 + ${medalName}`);
8659
8664
  }
8660
8665
  report += "🏆 精英玩家奖励:\n" + playerDetails.join("\n") + "\n\n";
8661
8666
  const otherPlayers = await ctx.database.get("ggcevo_rank", {
@@ -8666,16 +8671,16 @@ ${ticketMessage}${effectMessage}`;
8666
8671
  for (const player of otherPlayers) {
8667
8672
  if (player.rank > 0) {
8668
8673
  positiveCount++;
8669
- await updateBackpack(player.handle, 8, 20);
8674
+ await updateBackpack(player.handle, 1, 20);
8670
8675
  } else {
8671
8676
  negativeCount++;
8672
- await updateBackpack(player.handle, 8, 10);
8677
+ await updateBackpack(player.handle, 1, 10);
8673
8678
  }
8674
8679
  }
8675
8680
  report += "🎉 参与奖励发放:\n";
8676
- report += `✦ 积极玩家(分数>0):${positiveCount}人 × 20资源兑换券
8681
+ report += `✦ 积极玩家(分数>0):${positiveCount}人 x 20咕咕币
8677
8682
  `;
8678
- report += `✦ 奋斗玩家(分数≤0):${negativeCount}人 × 10资源兑换券
8683
+ report += `✦ 奋斗玩家(分数≤0):${negativeCount}人 x 10咕咕币
8679
8684
 
8680
8685
  `;
8681
8686
  report += `✅ 总计发放:
@@ -12398,6 +12403,7 @@ ${Spacestationtechnology.map((t) => t.techname).join("、")}`;
12398
12403
  const explorers = await ctx.database.get("ggcevo_explore", {
12399
12404
  galaxy: galaxyName,
12400
12405
  status: "探索中",
12406
+ plunderbonus: { $gte: 0 },
12401
12407
  handle: { $ne: handle }
12402
12408
  });
12403
12409
  if (explorers.length > 0) {
@@ -13164,18 +13170,18 @@ PK同玩家限战:1次/日
13164
13170
  return `
13165
13171
  🏆 赛季排名奖励规则:
13166
13172
  🥇 第1名:
13167
- 100 资源兑换券 + 🥇 赛季冠军勋章
13173
+ 100 咕咕币 + 🥇 赛季冠军勋章
13168
13174
  🥈 第2名:
13169
- 90 资源兑换券 + 🥈 赛季亚军勋章
13175
+ 90 咕咕币 + 🥈 赛季亚军勋章
13170
13176
  🥉 第3名:
13171
- 80 资源兑换券 + 🥉 赛季季军勋章
13177
+ 80 咕咕币 + 🥉 赛季季军勋章
13172
13178
  🏅 第4-10名:
13173
- 60 资源兑换券 + 🏅 赛季前十勋章
13179
+ 60 咕咕币 + 🏅 赛季前十勋章
13174
13180
  🎖 第11-20名:
13175
- 40 资源兑换券 + 🎖 赛季前二十勋章
13181
+ 40 咕咕币 + 🎖 赛季前二十勋章
13176
13182
  💝 参与奖励:
13177
- ▸ 所有积分 > 0 玩家:20 资源兑换券
13178
- ▸ 所有积分 ≤ 0 玩家:10 资源兑换券
13183
+ ▸ 所有积分 > 0 玩家:20 咕咕币
13184
+ ▸ 所有积分 ≤ 0 玩家:10 咕咕币
13179
13185
 
13180
13186
  📦 勋章系统:
13181
13187
  ● 每个勋章对应专属成就
package/lib/items.d.ts CHANGED
@@ -206,6 +206,31 @@ export declare const initDefaultItems: {
206
206
  type: string;
207
207
  description: string;
208
208
  };
209
+ '\uD83E\uDD47S3\u8D5B\u5B63\u51A0\u519B\u52CB\u7AE0': {
210
+ id: number;
211
+ type: string;
212
+ description: string;
213
+ };
214
+ '\uD83E\uDD48S3\u8D5B\u5B63\u4E9A\u519B\u52CB\u7AE0': {
215
+ id: number;
216
+ type: string;
217
+ description: string;
218
+ };
219
+ '\uD83E\uDD49S3\u8D5B\u5B63\u5B63\u519B\u52CB\u7AE0': {
220
+ id: number;
221
+ type: string;
222
+ description: string;
223
+ };
224
+ '\uD83C\uDFC5S3\u8D5B\u5B63\u524D\u5341\u52CB\u7AE0': {
225
+ id: number;
226
+ type: string;
227
+ description: string;
228
+ };
229
+ '\uD83C\uDF96S3\u8D5B\u5B63\u524D\u4E8C\u5341\u52CB\u7AE0': {
230
+ id: number;
231
+ type: string;
232
+ description: string;
233
+ };
209
234
  };
210
235
  export declare const itemConfig: {
211
236
  拾荒者: {
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.6.77",
4
+ "version": "1.6.79",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",
7
7
  "files": [