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