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