koishi-plugin-ggcevo-game 1.4.18 → 1.4.20
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 +10 -8
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -6011,10 +6011,8 @@ ${items.join("、")}
|
|
|
6011
6011
|
`⚔️【对战结果】${isWin ? "胜利" : "失败"}`,
|
|
6012
6012
|
`🏅 挑战者:${initiatorRankname}(战斗力 ${initiatorPower})`,
|
|
6013
6013
|
`💼 职业:${initiatorCareer?.career || "无"}`,
|
|
6014
|
-
// 显示职业
|
|
6015
6014
|
`🛡️ 应战者:${targetRankname}(战斗力 ${targetPower})`,
|
|
6016
6015
|
`💼 职业:${targetCareer?.career || "无"}`,
|
|
6017
|
-
// 显示职业
|
|
6018
6016
|
`📊 胜率预测:${winRate.toFixed(1)}%`,
|
|
6019
6017
|
`🎰 金币变动:${stealPercentage}%`
|
|
6020
6018
|
];
|
|
@@ -6025,21 +6023,25 @@ ${items.join("、")}
|
|
|
6025
6023
|
} else {
|
|
6026
6024
|
result.push(`💸 您从口袋里拿出了${goldTransfer}枚金币上交给对方`);
|
|
6027
6025
|
}
|
|
6028
|
-
|
|
6026
|
+
const bonusEffects = [];
|
|
6029
6027
|
if (targetCareer.group === "人类联盟" && isWin) {
|
|
6030
|
-
|
|
6028
|
+
bonusEffects.push(`▸ 🛡️ 人类联盟:应战者PK失败时仅损失1%的金币`);
|
|
6031
6029
|
}
|
|
6032
6030
|
if (mp3Effect) {
|
|
6033
|
-
|
|
6031
|
+
bonusEffects.push(`▸ 💿 MP3播放器生效:挑战者PK失败时上交的金币减少50%`);
|
|
6034
6032
|
}
|
|
6035
6033
|
if (hornEffect) {
|
|
6036
|
-
|
|
6034
|
+
bonusEffects.push(`▸ 📯 气喇叭生效:辛迪加海盗总部为您发放了额外${extraGold}金币奖励!`);
|
|
6037
6035
|
}
|
|
6038
6036
|
if (initiatorCareer?.group === "辛迪加海盗") {
|
|
6039
|
-
|
|
6037
|
+
bonusEffects.push(`▸ 🔴 辛迪加海盗阵营:+1枚红晶`);
|
|
6040
6038
|
}
|
|
6041
6039
|
if (isWin && initiatorCareer?.career === "辛迪加财务经理") {
|
|
6042
|
-
|
|
6040
|
+
bonusEffects.push(`▸ 🎖️ 辛迪加财务经理职业:+1枚红晶`);
|
|
6041
|
+
}
|
|
6042
|
+
if (bonusEffects.length > 0) {
|
|
6043
|
+
result.push(`⚡ 加成效果:`);
|
|
6044
|
+
result.push(...bonusEffects);
|
|
6043
6045
|
}
|
|
6044
6046
|
result.push(`📅 剩余挑战次数:${config.dailyPKLimit - (initiatorPK.todayCount + 1)}`);
|
|
6045
6047
|
return result.join("\n");
|