unique标签补充,bugfix
This commit is contained in:
parent
15ca7ff26c
commit
c57bf686db
|
@ -807,6 +807,7 @@ const skills = {
|
||||||
},
|
},
|
||||||
noname_duocai2: { charlotte: true },
|
noname_duocai2: { charlotte: true },
|
||||||
nsbizhao: {
|
nsbizhao: {
|
||||||
|
unique: true,
|
||||||
trigger: { player: "showCharacterAfter" },
|
trigger: { player: "showCharacterAfter" },
|
||||||
forced: true,
|
forced: true,
|
||||||
hiddenSkill: true,
|
hiddenSkill: true,
|
||||||
|
|
|
@ -12193,7 +12193,9 @@ const skills = {
|
||||||
filter: function (event, player, name) {
|
filter: function (event, player, name) {
|
||||||
if (player.hasSkill("zhiwei2")) return false;
|
if (player.hasSkill("zhiwei2")) return false;
|
||||||
if (!game.hasPlayer(current => current != player)) return false;
|
if (!game.hasPlayer(current => current != player)) return false;
|
||||||
if (get.mode() == "guozhan") return event.name == "showCharacter" && (event.toShow.includes("gz_luyusheng") || event.toShow.includes("luyusheng"));
|
if (get.mode() == "guozhan") return event.name == "showCharacter" && event.toShow(name => {
|
||||||
|
return get.character(name, 3).includes("zhiwei");
|
||||||
|
});
|
||||||
return event.name != "showCharacter" && (name != "phaseBefore" || game.phaseNumber == 0);
|
return event.name != "showCharacter" && (name != "phaseBefore" || game.phaseNumber == 0);
|
||||||
},
|
},
|
||||||
content: function () {
|
content: function () {
|
||||||
|
|
|
@ -4754,6 +4754,7 @@ const skills = {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
yukito_yaxiang: {
|
yukito_yaxiang: {
|
||||||
|
unique: true,
|
||||||
forceunique: true,
|
forceunique: true,
|
||||||
enable: "chooseToUse",
|
enable: "chooseToUse",
|
||||||
limited: true,
|
limited: true,
|
||||||
|
@ -10573,6 +10574,7 @@ const skills = {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
umi_qihuan: {
|
umi_qihuan: {
|
||||||
|
unique: true,
|
||||||
forceunique: true,
|
forceunique: true,
|
||||||
enable: "chooseToUse",
|
enable: "chooseToUse",
|
||||||
filter(summer, umi) {
|
filter(summer, umi) {
|
||||||
|
|
|
@ -5075,6 +5075,7 @@ const skills = {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
dcxunbie: {
|
dcxunbie: {
|
||||||
|
unique: true,
|
||||||
audio: 2,
|
audio: 2,
|
||||||
trigger: {
|
trigger: {
|
||||||
player: "dying",
|
player: "dying",
|
||||||
|
|
|
@ -946,6 +946,7 @@ const skills = {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
gaoling: {
|
gaoling: {
|
||||||
|
unique: true,
|
||||||
audio: 2,
|
audio: 2,
|
||||||
trigger: { player: "showCharacterAfter" },
|
trigger: { player: "showCharacterAfter" },
|
||||||
hiddenSkill: true,
|
hiddenSkill: true,
|
||||||
|
|
|
@ -2674,8 +2674,15 @@ game.import("mode", function (lib, game, ui, get, ai, _status) {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
fakezhiwei: {
|
fakezhiwei: {
|
||||||
|
unique: true,
|
||||||
audio: "zhiwei",
|
audio: "zhiwei",
|
||||||
inherit: "zhiwei",
|
inherit: "zhiwei",
|
||||||
|
filter: function (event, player, name) {
|
||||||
|
if (!game.hasPlayer(current => current != player)) return false;
|
||||||
|
return event.name == "showCharacter" && event.toShow(name => {
|
||||||
|
return get.character(name, 3).includes("fakezhiwei");
|
||||||
|
});
|
||||||
|
},
|
||||||
content() {
|
content() {
|
||||||
"step 0";
|
"step 0";
|
||||||
player
|
player
|
||||||
|
@ -4914,6 +4921,7 @@ game.import("mode", function (lib, game, ui, get, ai, _status) {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
fakebaoqie: {
|
fakebaoqie: {
|
||||||
|
unique: true,
|
||||||
audio: "baoqie",
|
audio: "baoqie",
|
||||||
trigger: { player: "showCharacterEnd" },
|
trigger: { player: "showCharacterEnd" },
|
||||||
filter(event, player) {
|
filter(event, player) {
|
||||||
|
@ -5087,6 +5095,7 @@ game.import("mode", function (lib, game, ui, get, ai, _status) {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
fakehuirong: {
|
fakehuirong: {
|
||||||
|
unique: true,
|
||||||
audio: "huirong",
|
audio: "huirong",
|
||||||
trigger: { player: "showCharacterEnd" },
|
trigger: { player: "showCharacterEnd" },
|
||||||
filter(event, player) {
|
filter(event, player) {
|
||||||
|
@ -5258,6 +5267,7 @@ game.import("mode", function (lib, game, ui, get, ai, _status) {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
fakeshiren: {
|
fakeshiren: {
|
||||||
|
unique: true,
|
||||||
audio: "shiren",
|
audio: "shiren",
|
||||||
trigger: { player: "showCharacterEnd" },
|
trigger: { player: "showCharacterEnd" },
|
||||||
filter(event, player) {
|
filter(event, player) {
|
||||||
|
@ -7524,6 +7534,7 @@ game.import("mode", function (lib, game, ui, get, ai, _status) {
|
||||||
},
|
},
|
||||||
//黄权
|
//黄权
|
||||||
gzdianhu: {
|
gzdianhu: {
|
||||||
|
unique: true,
|
||||||
audio: "xinfu_dianhu",
|
audio: "xinfu_dianhu",
|
||||||
trigger: { player: "showCharacterAfter" },
|
trigger: { player: "showCharacterAfter" },
|
||||||
forced: true,
|
forced: true,
|
||||||
|
@ -20613,6 +20624,7 @@ game.import("mode", function (lib, game, ui, get, ai, _status) {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
gzguixiu: {
|
gzguixiu: {
|
||||||
|
unique: true,
|
||||||
audio: "guixiu",
|
audio: "guixiu",
|
||||||
trigger: { player: ["showCharacterAfter", "removeCharacterBefore"] },
|
trigger: { player: ["showCharacterAfter", "removeCharacterBefore"] },
|
||||||
filter: function (event, player) {
|
filter: function (event, player) {
|
||||||
|
|
Loading…
Reference in New Issue