v1.9.95.0.1

This commit is contained in:
Spmario233 2019-11-08 22:25:46 +08:00 committed by GitHub
parent b814c80491
commit dd20b4a35d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 13 additions and 15 deletions

View File

@ -2957,10 +2957,13 @@ game.import('character',function(lib,game,ui,get,ai,_status){
jiang:{
audio:2,
audioname:['sp_lvmeng'],
trigger:{global:['useCard']},
trigger:{
player:'useCardToPlayered',
target:'useCardToTargeted',
},
filter:function(event,player){
if(!(event.card.name=='juedou'||(event.card.name=='sha'&&get.color(event.card)=='red'))) return false;
return player==event.player||event.targets.contains(player);
return player==event.target||event.getParent().triggeredTargets3.length==1;
},
frequent:true,
content:function(){
@ -4317,15 +4320,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){
return 0.5;
},
maixie:true,
effect:{
target:function(card,player,target){
if(target.maxHp<=3) return;
if(get.tag(card,'damage')){
if(target.hp==target.maxHp) return [0,1];
}
if(get.tag(card,'recover')&&player.hp>=player.maxHp-1) return [0,0];
}
}
}
},
jiuchi:{

View File

@ -570,6 +570,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
skill:{
//新1v1
yanhuo:{
audio:2,
trigger:{player:'die'},
forceDie:true,
filter:function(event,player){
@ -603,6 +604,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
},
},
mouzhu:{
audio:2,
enable:'phaseUse',
usable:1,
filterTarget:function(card,player,target){
@ -648,6 +650,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
viewAs:{name:'sha'},
filterCard:{color:'black'},
position:'he',
check:function(card){return 5-get.value(card)},
},
cuorui:{
audio:2,
@ -666,6 +669,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
player:'phaseJudgeBefore',
},
forced:true,
audio:'cuorui',
filter:function(event,player){
return !player.storage.cuorui&&(get.is.single()||player.countCards('j'));
},
@ -719,9 +723,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){
audio:'lianhua',
sub:true,
trigger:{player:'phaseBegin'},
filter:function(event,player){
return player.storage.lianhua&&player.storage.lianhua.red+player.storage.lianhua.black>0;
},
//filter:function(event,player){
// return player.storage.lianhua&&player.storage.lianhua.red+player.storage.lianhua.black>0;
//},
forced:true,
content:function(){
var cards=[];

View File

@ -4960,7 +4960,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
audio:2,
filter:function (event,player){
if(event.name=='dying') return true;
return event.bySelf!=true;
return event.player!=player&&event.bySelf!=true;
},
check:function (event,player){
return get.attitude(player,event.player)>0;