为【伪帝】【出师】【制皇】添加available

This commit is contained in:
157 2024-05-11 14:22:37 +08:00
parent 4468ec4676
commit b78e15e96d
3 changed files with 13 additions and 0 deletions

View File

@ -1918,6 +1918,13 @@ const skills = {
},
},
nszhihuang: {
available(mode) {
return (
mode == "identity" ||
mode == "versus" && (_status.mode == "four" || _status.mode == "guandu") ||
mode == "guozhan"
);
},
group: "nszhihuang_damage",
trigger: { global: "useCard" },
usable: 1,

View File

@ -137,6 +137,9 @@ const skills = {
},
},
jsrgchushi: {
available(mode) {
return mode == "identity" || mode == "versus" && (_status.mode == "four" || _status.mode == "guandu");
},
audio: 2,
enable: "phaseUse",
usable: 1,

View File

@ -20368,6 +20368,9 @@ const skills = {
charlotte: true,
},
weidi: {
available(mode) {
return mode == "identity" || mode == "versus" && _status.mode == "four";
},
init(player) {
const list = [];
const zhu = get.zhu(player);