v1.9.92.2(Part 1)

This commit is contained in:
Spmario233 2019-08-30 22:57:11 +08:00 committed by GitHub
parent 0a42399d58
commit aebff71b78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 2 deletions

View File

@ -489,8 +489,14 @@ game.import('card',function(lib,game,ui,get,ai,_status){
},
tengjia2:{
trigger:{player:'damageBegin'},
filter:function(event){
if(event.nature=='fire') return true;
filter:function(event,player){
if(event.nature!='fire') return false;
if(event.source&&event.source.hasSkillTag('unequip',false,{
name:event.card?event.card.name:null,
target:player,
card:event.card
})) return false;
return true;
},
audio:true,
forced:true,