修正花鬘技能嬉战语音的播放
This commit is contained in:
parent
b6ba520c1a
commit
533d60cc57
Binary file not shown.
|
@ -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();
|
||||
}
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
|
@ -56,6 +56,7 @@ export default {
|
|||
"#spxizhan2": "本姑娘只是戏耍一番,尔等怎下如此重手!",
|
||||
"#spxizhan3": "哎呀~母亲放心,鬘儿不会捣乱的。",
|
||||
"#spxizhan4": "嘻嘻,这样才好玩嘛。",
|
||||
"#spxizhan5": "哼!让你瞧瞧本姑娘的厉害!",
|
||||
"#sp_huaman:die": "战事已定,吾愿终亦得偿……",
|
||||
"#spjungong1": "曹军营守,不能野战,此乃攻敌之机!",
|
||||
"#spjungong2": "若此营攻之不下,览何颜面见袁公!",
|
||||
|
|
Loading…
Reference in New Issue