This commit is contained in:
libccy 2017-05-11 19:37:52 +08:00
parent 13393f457c
commit 132025fcb3
1 changed files with 20 additions and 16 deletions

View File

@ -286,6 +286,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
useful:[6,1], useful:[6,1],
result:{ result:{
player:function(player,target){ player:function(player,target){
if(player.hasUnknown()) return 0;
return -game.countPlayer(function(current){ return -game.countPlayer(function(current){
return current.countCards('he')*get.sgn(get.attitude(player,current)); return current.countCards('he')*get.sgn(get.attitude(player,current));
}); });
@ -302,10 +303,10 @@ game.import('card',function(lib,game,ui,get,ai,_status){
vanish:true, vanish:true,
enable:true, enable:true,
filterTarget:true, filterTarget:true,
contentBefore:function(){ // contentBefore:function(){
player.$skill('卜天术','legend','water'); // player.$skill('卜天术','legend','water');
game.delay(2); // game.delay(2);
}, // },
content:function(){ content:function(){
'step 0' 'step 0'
var list=[]; var list=[];
@ -374,10 +375,10 @@ game.import('card',function(lib,game,ui,get,ai,_status){
return target==player; return target==player;
}, },
selectTarget:-1, selectTarget:-1,
contentBefore:function(){ // contentBefore:function(){
player.$skill('十字召唤','legend','water'); // player.$skill('十字召唤','legend','water');
game.delay(2); // game.delay(2);
}, // },
content:function(){ content:function(){
var list=[]; var list=[];
list.push(get.cardPile('sha','cardPile')); list.push(get.cardPile('sha','cardPile'));
@ -407,10 +408,10 @@ game.import('card',function(lib,game,ui,get,ai,_status){
return target==player; return target==player;
}, },
selectTarget:-1, selectTarget:-1,
contentBefore:function(){ // contentBefore:function(){
player.$skill('最后愿望','legend','water'); // player.$skill('最后愿望','legend','water');
game.delay(2); // game.delay(2);
}, // },
content:function(){ content:function(){
'step 0' 'step 0'
event.num=game.countPlayer(); event.num=game.countPlayer();
@ -446,10 +447,10 @@ game.import('card',function(lib,game,ui,get,ai,_status){
return true; return true;
}, },
notarget:true, notarget:true,
contentBefore:function(){ // contentBefore:function(){
player.$skill('自然馈赠','legend','water'); // player.$skill('自然馈赠','legend','water');
game.delay(2); // game.delay(2);
}, // },
content:function(){ content:function(){
'step 0' 'step 0'
var info=player.storage.gw_zirankuizeng; var info=player.storage.gw_zirankuizeng;
@ -515,6 +516,9 @@ game.import('card',function(lib,game,ui,get,ai,_status){
if(target.hujia){ if(target.hujia){
threaten*=(target.hujia+1); threaten*=(target.hujia+1);
} }
else if(target.hasSkill('fengyin')){
return 0;
}
return -threaten; return -threaten;
} }
}, },