koishi-plugin-ggcevo-game 1.3.17 → 1.3.18
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 +7 -5
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -516,15 +516,15 @@ function apply(ctx, config) {
|
|
|
516
516
|
rare: [
|
|
517
517
|
{
|
|
518
518
|
name: "悲鸣之锋",
|
|
519
|
-
effect: "
|
|
519
|
+
effect: "获得基于武器等级的伤害加成(0级为10%,每等级增加10%)"
|
|
520
520
|
},
|
|
521
521
|
{
|
|
522
522
|
name: "精灵双倍",
|
|
523
|
-
effect: "
|
|
523
|
+
effect: "下一次击败首领时可获得双倍金币和咕咕币奖励"
|
|
524
524
|
},
|
|
525
525
|
{
|
|
526
526
|
name: "喵喵财源",
|
|
527
|
-
effect: "
|
|
527
|
+
effect: "签到金币和咕咕币奖励翻倍"
|
|
528
528
|
},
|
|
529
529
|
{
|
|
530
530
|
name: "暴击韵律",
|
|
@@ -1626,7 +1626,9 @@ function apply(ctx, config) {
|
|
|
1626
1626
|
if (targetBoss.skills.includes("吸血唾液")) {
|
|
1627
1627
|
const reduction = bloodStacks * 0.05;
|
|
1628
1628
|
damageMultiplier -= reduction;
|
|
1629
|
-
|
|
1629
|
+
if (bloodStacks > 0) {
|
|
1630
|
+
messages.push(`🩸 【吸血唾液】生效:受到的伤害-${bloodStacks * 5}%`);
|
|
1631
|
+
}
|
|
1630
1632
|
}
|
|
1631
1633
|
if (targetBoss.skills.includes("嗜血狂暴") && currentHP / maxHP < 0.5) {
|
|
1632
1634
|
damageMultiplier -= 0.2;
|
|
@@ -4085,7 +4087,7 @@ ${achievementList.join("\n")}`;
|
|
|
4085
4087
|
return `状态切换冷却中,${remaining}天后再试(下次可切换时间:${new Date(lastToggle.getTime() + 3 * 864e5).toLocaleDateString("zh-CN")})。`;
|
|
4086
4088
|
}
|
|
4087
4089
|
const [careers] = await ctx.database.get("ggcevo_careers", { handle });
|
|
4088
|
-
if (careers?.group === "辛迪加海盗") return "
|
|
4090
|
+
if (careers?.group === "辛迪加海盗") return "您已经加入了辛迪加海盗阵营,无法切换PK状态!";
|
|
4089
4091
|
const action = currentState ? "关闭" : "开启";
|
|
4090
4092
|
await session.send(`您当前的PK状态为【${currentState ? "开启" : "关闭"}】,确认要${action}吗?(请在30秒内回复“是”确认)`);
|
|
4091
4093
|
const confirm = await session.prompt(3e4);
|