v1.9.97.2.1

This commit is contained in:
Spmario233 2020-01-18 13:32:04 +08:00 committed by GitHub
parent 4d489b35b4
commit 7de210fb7e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 19 deletions

View File

@ -1077,7 +1077,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
g_taipingyaoshu:{}, g_taipingyaoshu:{},
yuxi_skill:{ yuxi_skill:{
equipSkill:true, equipSkill:true,
trigger:{player:'phaseDrawBegin2'}, trigger:{player:'phaseDrawBegin'},
forced:true, forced:true,
filter:function(event,player){ filter:function(event,player){
return !player.isUnseen(); return !player.isUnseen();
@ -1127,10 +1127,15 @@ game.import('card',function(lib,game,ui,get,ai,_status){
}, },
g_chiling1:{ g_chiling1:{
mode:['guozhan'], mode:['guozhan'],
trigger:{player:'discardAfter'}, trigger:{
player:'loseEnd',
global:'cardsDiscardEnd',
},
filter:function(event,player){ filter:function(event,player){
var evt=event.getParent().relatedEvent;
if(evt&&evt.name=='useCard') return false;
for(var i=0;i<event.cards.length;i++){ for(var i=0;i<event.cards.length;i++){
if(event.cards[i].name=='chiling'&&get.position(event.cards[i])=='d'){ if(event.cards[i].name=='chiling'&&get.position(event.cards[i],true)=='d'){
return true; return true;
} }
} }
@ -1153,22 +1158,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
} }
}, },
}, },
g_chiling2:{ g_chiling2:{},
mode:['guozhan'],
trigger:{player:'judgeAfter'},
forced:true,
popup:false,
filter:function(event,player){
if(get.position(event.result.card)!='d') return false;
return event.result.card.name=='chiling';
},
content:function(){
_status.chiling=true;
game.cardsGotoSpecial(trigger.result.card);
game.log(trigger.result.card,'已被移出游戏');
player.popup('敕令');
}
},
g_chiling3:{ g_chiling3:{
mode:['guozhan'], mode:['guozhan'],
trigger:{player:'phaseAfter'}, trigger:{player:'phaseAfter'},

View File

@ -7,6 +7,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
jinchan:{ jinchan:{
audio:true, audio:true,
fullskin:true, fullskin:true,
wuxieable:true,
type:'trick', type:'trick',
notarget:true, notarget:true,
global:['g_jinchan','g_jinchan2'], global:['g_jinchan','g_jinchan2'],