koishi-plugin-ggcevo-game 1.6.52 → 1.6.53
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 +8 -2
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -8086,6 +8086,12 @@ ${itemDetails.join("\n")}`;
|
|
|
8086
8086
|
let totalBonus = 0;
|
|
8087
8087
|
let baseTickets = 0;
|
|
8088
8088
|
if (!config2.enablePlayRequirement || hasRecentPlay) {
|
|
8089
|
+
if (monthlyDays < 7) baseTickets = 3;
|
|
8090
|
+
else if (monthlyDays === 7) baseTickets = 4;
|
|
8091
|
+
else if (monthlyDays === 14) baseTickets = 5;
|
|
8092
|
+
else if (monthlyDays === 21) baseTickets = 6;
|
|
8093
|
+
else if (monthlyDays === 28) baseTickets = 7;
|
|
8094
|
+
else baseTickets = 3;
|
|
8089
8095
|
}
|
|
8090
8096
|
const basePoints = getRandomInt(50, 100);
|
|
8091
8097
|
const [careerData] = await ctx.database.get("ggcevo_careers", { handle });
|
|
@@ -8128,7 +8134,7 @@ ${itemDetails.join("\n")}`;
|
|
|
8128
8134
|
let multiplier = 1;
|
|
8129
8135
|
if (meowEffect) {
|
|
8130
8136
|
multiplier = 2;
|
|
8131
|
-
messages.push("🐾 喵喵财源祈愿:金币×2");
|
|
8137
|
+
messages.push("🐾 喵喵财源祈愿:金币×2,咕咕币x2");
|
|
8132
8138
|
}
|
|
8133
8139
|
const finalPoints = Math.round(baseFinalPoints * multiplier);
|
|
8134
8140
|
const finalTickets = Math.round(baseFinalTickets * multiplier);
|
|
@@ -12866,7 +12872,7 @@ PK同玩家限战:1次/日
|
|
|
12866
12872
|
🔮 稀有祈愿池(5%概率)
|
|
12867
12873
|
🗡️ 悲鸣之锋:攻击伤害提高10%,武器每等级提高5%伤害
|
|
12868
12874
|
🧚 精灵双倍:下一次击败主宰时可获得双倍的资源兑换券
|
|
12869
|
-
🐾
|
|
12875
|
+
🐾 喵喵财源:签到获得双倍的金币和咕咕币
|
|
12870
12876
|
🎵 暴击韵律:攻击暴击率提高20%
|
|
12871
12877
|
⚠️ 酥手空空:立即失去50枚金币(可触发彩蛋)
|
|
12872
12878
|
`.trim();
|