君刘备、法正、吕玲绮语音修复

This commit is contained in:
lieren2023 2024-06-05 09:55:17 +08:00 committed by GitHub
parent e7bea20db3
commit b52f6eabb1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 37 additions and 13 deletions

View File

@ -859,7 +859,7 @@ game.import("mode", function (lib, game, ui, get, ai, _status) {
gz_cuimao: ["male", "wei", 3, ["gzzhengbi", "gzfengying"], []], gz_cuimao: ["male", "wei", 3, ["gzzhengbi", "gzfengying"], []],
gz_yujin: ["male", "wei", 4, ["gzjieyue"], ["gzskin"]], gz_yujin: ["male", "wei", 4, ["gzjieyue"], ["gzskin"]],
gz_wangping: ["male", "shu", 4, ["jianglue"], ["gzskin"]], gz_wangping: ["male", "shu", 4, ["jianglue"], ["gzskin"]],
gz_fazheng: ["male", "shu", 3, ["gzxuanhuo", "gzenyuan"], ["gzskin"]], gz_fazheng: ["male", "shu", 3, ["gzxuanhuo", "gzenyuan"], ["gzskin", "die:xin_fazheng"]],
gz_wuguotai: ["female", "wu", 3, ["gzbuyi", "ganlu"], ["gzskin"]], gz_wuguotai: ["female", "wu", 3, ["gzbuyi", "ganlu"], ["gzskin"]],
gz_lukang: ["male", "wu", 4, ["fakejueyan", "fakekeshou"], ["gzskin"]], gz_lukang: ["male", "wu", 4, ["fakejueyan", "fakekeshou"], ["gzskin"]],
gz_yuanshu: ["male", "qun", 4, ["gzweidi", "gzyongsi"], ["gzskin"]], gz_yuanshu: ["male", "qun", 4, ["gzweidi", "gzyongsi"], ["gzskin"]],
@ -9824,6 +9824,7 @@ game.import("mode", function (lib, game, ui, get, ai, _status) {
//黄忠 //黄忠
gzliegong: { gzliegong: {
audio: "liegong", audio: "liegong",
audioname2: { gz_jun_liubei: "shouyue_liegong" },
locked: false, locked: false,
mod: { mod: {
targetInRange: function (card, player, target) { targetInRange: function (card, player, target) {
@ -9942,7 +9943,7 @@ game.import("mode", function (lib, game, ui, get, ai, _status) {
gzwushuang: { gzwushuang: {
shaRelated: true, shaRelated: true,
audio: "wushuang", audio: "wushuang",
audioname: ["re_lvbu", "shen_lvbu", "lvlingqi"], audioname2: { gz_lvlingqi: "wushuang_lvlingqi" },
forced: true, forced: true,
locked: true, locked: true,
group: ["wushuang1", "wushuang2"], group: ["wushuang1", "wushuang2"],
@ -10085,6 +10086,7 @@ game.import("mode", function (lib, game, ui, get, ai, _status) {
}, },
derivation: "gzwushuang", derivation: "gzwushuang",
}, },
wushuang_lvlingqi: { audio: 2 },
//荀谌 //荀谌
gzfenglve: { gzfenglve: {
audio: "refenglve", audio: "refenglve",
@ -16486,11 +16488,11 @@ game.import("mode", function (lib, game, ui, get, ai, _status) {
}, },
}, },
gzxuanhuo: { gzxuanhuo: {
audio: "rexuanhuo", audio: "xinxuanhuo",
global: "gzxuanhuo_others", global: "gzxuanhuo_others",
derivation: [ derivation: [
"fz_new_rewusheng", "fz_wusheng",
"fz_gzpaoxiao", "fz_new_paoxiao",
"fz_new_longdan", "fz_new_longdan",
"fz_new_tieji", "fz_new_tieji",
"fz_liegong", "fz_liegong",
@ -16509,7 +16511,7 @@ game.import("mode", function (lib, game, ui, get, ai, _status) {
}, },
subSkill: { subSkill: {
others: { others: {
audio: "rexuanhuo", audio: "xinxuanhuo",
forceaudio: true, forceaudio: true,
enable: "phaseUse", enable: "phaseUse",
usable: 1, usable: 1,
@ -16560,7 +16562,15 @@ game.import("mode", function (lib, game, ui, get, ai, _status) {
.set("prompt", "选择并获得一项技能直到回合结束"); .set("prompt", "选择并获得一项技能直到回合结束");
"step 1"; "step 1";
player.popup(result.control); player.popup(result.control);
player.addTempSkill("fz_" + result.control); var map = {
new_rewusheng: "fz_wusheng",
gzpaoxiao: "fz_new_paoxiao",
new_longdan: "fz_new_longdan",
new_tieji: "fz_new_tieji",
liegong: "fz_liegong",
xinkuanggu: "fz_xinkuanggu"
};
player.addTempSkill(map[result.control]);
game.log(player, "获得了技能", "#g【" + get.translation(result.control) + "】"); game.log(player, "获得了技能", "#g【" + get.translation(result.control) + "】");
game.delay(); game.delay();
}, },
@ -16575,7 +16585,7 @@ game.import("mode", function (lib, game, ui, get, ai, _status) {
}, },
// audio:['xuanhuo',2], // audio:['xuanhuo',2],
}, },
fz_gzpaoxiao: { fz_new_paoxiao: {
audio: true, audio: true,
inherit: "gzpaoxiao", inherit: "gzpaoxiao",
}, },
@ -16583,7 +16593,7 @@ game.import("mode", function (lib, game, ui, get, ai, _status) {
audio: true, audio: true,
inherit: "new_tieji", inherit: "new_tieji",
}, },
fz_new_rewusheng: { fz_wusheng: {
audio: true, audio: true,
inherit: "new_rewusheng", inherit: "new_rewusheng",
}, },
@ -16756,7 +16766,7 @@ game.import("mode", function (lib, game, ui, get, ai, _status) {
}, },
gzenyuan: { gzenyuan: {
locked: true, locked: true,
audio: "reenyuan", audio: "xinenyuan",
group: ["gzenyuan_gain", "gzenyuan_damage"], group: ["gzenyuan_gain", "gzenyuan_damage"],
preHidden: true, preHidden: true,
ai: { ai: {
@ -16771,7 +16781,7 @@ game.import("mode", function (lib, game, ui, get, ai, _status) {
}, },
subSkill: { subSkill: {
gain: { gain: {
audio: "reenyuan", audio: "xinenyuan",
trigger: { target: "useCardToTargeted" }, trigger: { target: "useCardToTargeted" },
forced: true, forced: true,
filter: function (event, player) { filter: function (event, player) {
@ -16783,7 +16793,7 @@ game.import("mode", function (lib, game, ui, get, ai, _status) {
}, },
}, },
damage: { damage: {
audio: "reenyuan", audio: "xinenyuan",
trigger: { player: "damageEnd" }, trigger: { player: "damageEnd" },
forced: true, forced: true,
filter: function (event, player) { filter: function (event, player) {
@ -17299,6 +17309,8 @@ game.import("mode", function (lib, game, ui, get, ai, _status) {
}, },
}, },
new_longdan: { new_longdan: {
audio: "longdan_sha",
audioname2: { gz_jun_liubei: "shouyue_longdan" },
group: [ group: [
"new_longdan_sha", "new_longdan_sha",
"new_longdan_shan", "new_longdan_shan",
@ -17310,6 +17322,7 @@ game.import("mode", function (lib, game, ui, get, ai, _status) {
shanafter: { shanafter: {
sub: true, sub: true,
audio: "longdan_sha", audio: "longdan_sha",
audioname2: { gz_jun_liubei: "shouyue_longdan" },
trigger: { trigger: {
player: "useCard", player: "useCard",
}, },
@ -17345,6 +17358,7 @@ game.import("mode", function (lib, game, ui, get, ai, _status) {
shamiss: { shamiss: {
sub: true, sub: true,
audio: "longdan_sha", audio: "longdan_sha",
audioname2: { gz_jun_liubei: "shouyue_longdan" },
trigger: { trigger: {
player: "shaMiss", player: "shaMiss",
}, },
@ -17377,6 +17391,7 @@ game.import("mode", function (lib, game, ui, get, ai, _status) {
player: ["useCard", "respond"], player: ["useCard", "respond"],
}, },
audio: "longdan_sha", audio: "longdan_sha",
audioname2: { gz_jun_liubei: "shouyue_longdan" },
forced: true, forced: true,
locked: false, locked: false,
filter: function (event, player) { filter: function (event, player) {
@ -17391,6 +17406,7 @@ game.import("mode", function (lib, game, ui, get, ai, _status) {
}, },
sha: { sha: {
audio: "longdan_sha", audio: "longdan_sha",
audioname2: { gz_jun_liubei: "shouyue_longdan" },
enable: ["chooseToUse", "chooseToRespond"], enable: ["chooseToUse", "chooseToRespond"],
filterCard: { filterCard: {
name: "shan", name: "shan",
@ -17424,6 +17440,7 @@ game.import("mode", function (lib, game, ui, get, ai, _status) {
}, },
shan: { shan: {
audio: "longdan_sha", audio: "longdan_sha",
audioname2: { gz_jun_liubei: "shouyue_longdan" },
enable: ["chooseToRespond", "chooseToUse"], enable: ["chooseToRespond", "chooseToUse"],
filterCard: { filterCard: {
name: "sha", name: "sha",
@ -17456,6 +17473,7 @@ game.import("mode", function (lib, game, ui, get, ai, _status) {
}, },
gzpaoxiao: { gzpaoxiao: {
audio: "paoxiao", audio: "paoxiao",
audioname2: { gz_jun_liubei: "shouyue_paoxiao" },
trigger: { trigger: {
player: "useCard", player: "useCard",
}, },
@ -17961,6 +17979,7 @@ game.import("mode", function (lib, game, ui, get, ai, _status) {
}, },
new_tieji: { new_tieji: {
audio: "retieji", audio: "retieji",
audioname2: { gz_jun_liubei: "shouyue_tieji" },
trigger: { trigger: {
player: "useCardToPlayered", player: "useCardToPlayered",
}, },
@ -20221,13 +20240,18 @@ game.import("mode", function (lib, game, ui, get, ai, _status) {
unique: true, unique: true,
forceunique: true, forceunique: true,
global: "wuhujiangdaqi", global: "wuhujiangdaqi",
derivation: "wuhujiangdaqi", derivation: ["wuhujiangdaqi", "new_rewusheng", "gzpaoxiao", "new_longdan", "new_tieji", "gzliegong"],
mark: true, mark: true,
lordSkill: true, lordSkill: true,
init(player) { init(player) {
player.markSkill("wuhujiangdaqi"); player.markSkill("wuhujiangdaqi");
}, },
}, },
shouyue_wusheng: { audio: 2 },
shouyue_paoxiao: { audio: 2 },
shouyue_longdan: { audio: 2 },
shouyue_tieji: { audio: 2 },
shouyue_liegong: { audio: 2 },
wuhujiangdaqi: { wuhujiangdaqi: {
unique: true, unique: true,
forceunique: true, forceunique: true,