This commit is contained in:
libccy 2018-02-07 00:09:01 +08:00
parent 065404f622
commit be9ec4290d
4 changed files with 14 additions and 3 deletions

View File

@ -285,7 +285,11 @@ game.import('card',function(lib,game,ui,get,ai,_status){
type:'spell', type:'spell',
subtype:'spell_gold', subtype:'spell_gold',
vanish:true, vanish:true,
enable:true, enable:function(card,player){
return game.hasPlayer(function(current){
return get.distance(player,current,'pure')==1;
});
},
notarget:true, notarget:true,
contentBefore:function(){ contentBefore:function(){
player.$skill('阿尔德印','legend','metal'); player.$skill('阿尔德印','legend','metal');

View File

@ -1931,6 +1931,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
player.addTempSkill('zhufangshenshi'); player.addTempSkill('zhufangshenshi');
}, },
ai:{ ai:{
norepeat:1,
value:4, value:4,
wuxie:function(){ wuxie:function(){
return 0; return 0;

View File

@ -71,6 +71,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){
characterFilter:{ characterFilter:{
ns_duangui:function(mode){ ns_duangui:function(mode){
return mode=='identity'&&_status.mode=='normal'; return mode=='identity'&&_status.mode=='normal';
},
diy_liuyan:function(mode){
return mode!='chess'&&mode!='tafang';
} }
}, },
characterIntro:{ characterIntro:{

View File

@ -3350,7 +3350,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){
mark:true, mark:true,
discard:false, discard:false,
delay:0, delay:0,
check:function(card){return 6-get.value(card);}, check:function(card){
if(_status.event.player.hp==1) return 8-get.value(card);
return 6-get.value(card);
},
selectTarget:2, selectTarget:2,
multitarget:true, multitarget:true,
content:function(){ content:function(){