v1.9.96.3

This commit is contained in:
Spmario233 2019-12-13 22:33:56 +08:00 committed by GitHub
parent 281b1b9a9f
commit dfda88e144
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 3 deletions

View File

@ -978,11 +978,12 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
eff1:{
sub:true,
equipSkill:true,
noHidden:true,
trigger:{global:'phaseDrawBegin'},
//priority:8,
forced:true,
filter:function(event,player){
if(event.player!=player||event.num<=0) return false;
if(event.player!=player||event.num<=0||player.isDisabled(5)) return false;
return !game.hasPlayer(function(current){
return current.getEquip('yuxi');
})
@ -995,9 +996,10 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
trigger:{global:'phaseUseBegin'},
//priority:8,
forced:true,
noHidden:true,
equipSkill:true,
filter:function(event,player){
if(event.player!=player) return false;
if(event.player!=player||player.isDisabled(5)) return false;
return game.hasPlayer(function(current){
return player.canUse('zhibi',current);
})&&!game.hasPlayer(function(current){
@ -1011,7 +1013,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
},
eff3:{
sub:true,
trigger:{global:'useCardToBegin'},
trigger:{global:'useCardToTargeted'},
//priority:16,
forced:true,
filter:function(event,player){