国战禁用任意变更势力的技能

This commit is contained in:
157 2024-04-15 18:17:47 +08:00 committed by Rintim
parent 9f169acf73
commit 4796780139
No known key found for this signature in database
GPG Key ID: BE9E1EA615BACFCF
5 changed files with 70 additions and 62 deletions

View File

@ -487,11 +487,12 @@ game.import("character", function () {
},
//姜维
jsrgjinfa:{
forbid:['guozhan'],
audio:2,
enable: "phaseUse",
enable:'phaseUse',
usable:1,
filterCard:true,
position: "h",
position:'h',
discard:false,
lose:false,
delay:false,
@ -5060,9 +5061,10 @@ game.import("character", function () {
},
//许攸
jsrglipan:{
forbid:['guozhan'],
audio:2,
trigger:{
player: "phaseEnd",
player:'phaseEnd',
},
direct: true,
content: function () {
@ -5328,10 +5330,11 @@ game.import("character", function () {
},
//吕布
jsrgwuchang:{
forbid:['guozhan'],
audio:2,
trigger:{
player: "gainAfter",
global: "loseAsyncAfter",
player:'gainAfter',
global:'loseAsyncAfter',
},
forced: true,
filter: function (event, player) {
@ -5475,12 +5478,13 @@ game.import("character", function () {
},
//张郃
jsrgqiongtu:{
//forbid:['guozhan'],
audio:2,
enable: "chooseToUse",
enable:'chooseToUse',
groupSkill:true,
viewAs:{
name: "wuxie",
suit: "none",
name:'wuxie',
suit:'none',
number:null,
isCard:true,
},
@ -6504,11 +6508,12 @@ game.import("character", function () {
},
//张辽
jsrgzhengbing:{
//forbid:['guozhan'],
audio:2,
enable: "phaseUse",
enable:'phaseUse',
usable:3,
filter:function(event,player){
return player.group == "qun";
return player.group=='qun';
},
filterCard: lib.filter.cardRecastable,
check: function (card) {

View File

@ -227,6 +227,7 @@ game.import("character", function () {
},
//魏武帝
junkguixin:{
forbid:['guozhan'],
init:function(){
if(!_status.junkguixin){
_status.junkguixin=[];

View File

@ -7598,13 +7598,14 @@ game.import("character", function () {
},
//孙尚香
sbjieyin:{
trigger: { player: "phaseUseBegin" },
//forbid:['guozhan'],
trigger:{player:'phaseUseBegin'},
forced:true,
locked:false,
dutySkill:true,
group: ["sbjieyin_init", "sbjieyin_fail"],
group:['sbjieyin_init','sbjieyin_fail'],
filter:function(event,player){
return game.hasPlayer((current) => current.hasMark("sbjieyin_mark"));
return game.hasPlayer(current=>current.hasMark('sbjieyin_mark'));
},
content: function () {
"step 0";

View File

@ -6603,7 +6603,7 @@ game.import("character", function () {
olgoude:{
audio:2,
trigger:{
global: "phaseEnd",
global:'phaseEnd',
},
filter: function (event, player) {
var list = [];

View File

@ -19978,15 +19978,16 @@ game.import("character", function () {
},
},
renshe:{
forbid:['guozhan'],
audio:2,
trigger: { player: "damageEnd" },
trigger:{player:'damageEnd'},
direct:true,
content:function(){
"step 0";
'step 0'
var choiceList=[
"将势力变更为场上现存的一个其他势力",
"令〖外使〗的发动次数+1直到下个出牌阶段结束",
"与另一名其他角色各摸一张牌",
'将势力变更为场上现存的一个其他势力',
'令〖外使〗的发动次数+1直到下个出牌阶段结束',
'与另一名其他角色各摸一张牌',
];
var controls = ["选项二"];
if (