koishi-plugin-ggcevo-game 1.2.8 → 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.
- package/lib/index.js +11 -6
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -312,7 +312,7 @@ function apply(ctx, config) {
|
|
|
312
312
|
// 新增专属模块
|
|
313
313
|
"裂甲核心": {
|
|
314
314
|
cost: 2050,
|
|
315
|
-
effect: "伤害+40
|
|
315
|
+
effect: "伤害+40%,对重甲目标变更为造成120%伤害",
|
|
316
316
|
exclusiveTo: "高斯步枪",
|
|
317
317
|
// 指定专属武器
|
|
318
318
|
isExclusive: true
|
|
@@ -718,19 +718,24 @@ ${itemDetails.join("\n")}`;
|
|
|
718
718
|
}
|
|
719
719
|
}
|
|
720
720
|
let tickets = 3;
|
|
721
|
-
let points = getRandomInt(
|
|
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
|
-
|
|
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,
|