This commit is contained in:
libccy 2017-06-07 16:10:45 +08:00
parent 8fe1123497
commit de7cd57eb3
2 changed files with 11 additions and 14 deletions

View File

@ -924,6 +924,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
order:7,
}
},
gw_zirankuizeng:{
fullborder:'silver',
type:'spell',
@ -967,7 +968,6 @@ game.import('card',function(lib,game,ui,get,ai,_status){
order:7,
}
},
gw_qinpendayu:{
fullborder:'bronze',
type:'spell',
@ -1027,9 +1027,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
subtype:'spell_bronze',
enable:true,
usable:1,
filterTarget:function(card,player,target){
return !target.isLinked();
},
filterTarget:true,
selectTarget:-1,
content:function(){
target.addSkill('gw_ciguhanshuang');

View File

@ -443,7 +443,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){
},
hunmo:{
enable:'phaseUse',
usable:1,
filter:function(event,player){
return game.hasPlayer(function(current){
return lib.skill.hunmo.filterTarget(null,player,current);
@ -451,10 +450,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){
},
filterTarget:function(card,player,target){
if(target==player) return false;
if(target.hasSkill('hunmo2')) return false;
if(target.countCards('h')==2) return false;
return true;
},
selectTarget:[1,Infinity],
content:function(){
var nh=target.countCards('h');
if(nh<2){
@ -463,18 +462,17 @@ game.import('character',function(lib,game,ui,get,ai,_status){
else if(nh>2){
target.chooseToDiscard('h',true);
}
},
contentAfter:function(){
var nh=player.countCards('h');
if(nh<targets.length){
player.draw(targets.length-nh);
target.addTempSkill('hunmo2');
if(player.countCards('h')<=player.hp){
player.draw();
}
},
ai:{
order:function(){
var player=_status.event.player;
if(player.countCards('h')<2) return 11;
return (_status.event.getRand()<0.5)?4:1;
if(player.countCards('h')<=player.hp) return 11;
return (_status.event.getRand()<0.5)?3.5:1;
},
threaten:1.2,
result:{
@ -491,6 +489,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
}
}
},
hunmo2:{},
shuijian:{
trigger:{player:'phaseBegin'},
direct:true,
@ -1501,7 +1500,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
gwbaquan:'霸权',
gwbaquan_info:'出牌阶段限一次,你可以获得一名其他角色的所有牌,然后还给其等量的牌,若你归还的牌均为你获得的牌且该角色体力值不小于你,你对其造成一点伤害',
hunmo:'魂墨',
hunmo_info:'出牌阶段限一次你可以选择任意名手牌数不等于2的其他角色令其中手牌数小于2的角色摸一张牌手牌数大于2的角色弃置一张手牌然后你将手牌数补至选定的目标数',
hunmo_info:'出牌阶段你可以令一名手牌数小于2的其他角色摸一张牌或令一名手牌数大于2的其他角色弃置一张手牌若你的手牌数不大于当前体力值你摸一张牌',
huihun:'回魂',
huihun_info:'结束阶段,你可以从弃牌堆中获得本回合使用的前两张红色牌',
lanquan:'远略',