v1.9.95.9.1

This commit is contained in:
Spmario233 2019-12-06 12:56:09 +08:00 committed by GitHub
parent 945a369920
commit a3fadfdc8a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 3 deletions

View File

@ -242,7 +242,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
value:[7,2], value:[7,2],
}, },
result:{player:1}, result:{player:1},
expose:0.2 //expose:0.2
} }
}, },
tao:{ tao:{
@ -1807,7 +1807,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
trigger:{player:['chooseToRespondBegin','chooseToUseBegin']}, trigger:{player:['chooseToRespondBegin','chooseToUseBegin']},
filter:function(event,player){ filter:function(event,player){
if(event.responded) return false; if(event.responded) return false;
if(!event.filterCard({name:'shan'})) return false; if(!event.filterCard({name:'shan'},player,event)) return false;
if(event.name=='chooseToRespond'&&!lib.filter.cardRespondable({name:'shan'},player,event)) return false; if(event.name=='chooseToRespond'&&!lib.filter.cardRespondable({name:'shan'},player,event)) return false;
if(player.hasSkillTag('unequip2')) return false; if(player.hasSkillTag('unequip2')) return false;
var evt=event.getParent(); var evt=event.getParent();
@ -1820,7 +1820,8 @@ game.import('card',function(lib,game,ui,get,ai,_status){
}, },
audio:true, audio:true,
check:function(event,player){ check:function(event,player){
if(get.damageEffect(player,event.player,player)>=0) return false; var source=event.getParent().player;
if(get.damageEffect(player,source,player)>0) return false;
return true; return true;
}, },
content:function(){ content:function(){