diff --git a/audio/skill/spxizhan5.mp3 b/audio/skill/spxizhan5.mp3 new file mode 100644 index 000000000..c8ad2fc81 Binary files /dev/null and b/audio/skill/spxizhan5.mp3 differ diff --git a/character/shiji/skill.js b/character/shiji/skill.js index 504ff522e..ca0e69924 100644 --- a/character/shiji/skill.js +++ b/character/shiji/skill.js @@ -1304,7 +1304,7 @@ const skills = { }, }, spxizhan: { - audio: 4, + audio: 5, group: "spxizhan_effect", locked: false, subSkill: { @@ -1351,7 +1351,7 @@ const skills = { suit = get.suit(card, player); if (!lib.suit.includes(suit) || ((!target || !target.isIn()) && suit != "heart")) return; game.broadcastAll(function (suit) { - if (lib.config.background_speak) game.playAudio("skill", "spxizhan" + (4 - lib.suit.indexOf(suit))); + if (lib.config.background_speak) game.playAudio("skill", "spxizhan" + [null, "spade", null, "heart", "club", "diamond"].indexOf(suit)); }, suit); switch (suit) { case "spade": @@ -1393,7 +1393,12 @@ const skills = { ); break; } - } else player.loseHp(); + } else { + game.broadcastAll(function () { + if (lib.config.background_speak) game.playAudio("skill", "spxizhan2"); + }); + player.loseHp(); + } }, }, }, diff --git a/character/shiji/voices.js b/character/shiji/voices.js index 645fde0d2..b853b5f3d 100644 --- a/character/shiji/voices.js +++ b/character/shiji/voices.js @@ -56,6 +56,7 @@ export default { "#spxizhan2": "本姑娘只是戏耍一番,尔等怎下如此重手!", "#spxizhan3": "哎呀~母亲放心,鬘儿不会捣乱的。", "#spxizhan4": "嘻嘻,这样才好玩嘛。", + "#spxizhan5": "哼!让你瞧瞧本姑娘的厉害!", "#sp_huaman:die": "战事已定,吾愿终亦得偿……", "#spjungong1": "曹军营守,不能野战,此乃攻敌之机!", "#spjungong2": "若此营攻之不下,览何颜面见袁公!",