This commit is contained in:
libccy 2017-07-21 22:44:03 +08:00
parent d03c83571e
commit ac9e59d5aa
4 changed files with 14 additions and 6 deletions

View File

@ -5079,6 +5079,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
longfan_info:'出牌阶段限一次,你可以进行一次判定,然后按花色执行以下效果。红桃:你回复一点体力;方片:你摸一张牌;梅花:你弃置一名其他角色的一张牌;黑桃:无事发生', longfan_info:'出牌阶段限一次,你可以进行一次判定,然后按花色执行以下效果。红桃:你回复一点体力;方片:你摸一张牌;梅花:你弃置一名其他角色的一张牌;黑桃:无事发生',
// longfan_info:'0000翻面1111弃手牌2222弃装备牌3333受伤害4444流失体力5555连环6666摸牌7777回复体力8888弃置判定牌9999置衡', // longfan_info:'0000翻面1111弃手牌2222弃装备牌3333受伤害4444流失体力5555连环6666摸牌7777回复体力8888弃置判定牌9999置衡',
guiyoujie:'鬼幽结', guiyoujie:'鬼幽结',
guiyoujie_bg:'结',
guiyoujie_info:'出牌阶段,对一名其他角色使用。若判定结果为黑色,其摸一张牌并翻面。', guiyoujie_info:'出牌阶段,对一名其他角色使用。若判定结果为黑色,其摸一张牌并翻面。',
yufulu:'御夫录', yufulu:'御夫录',
yufulu_info:'出牌阶段,可弃置一张武器牌令一名角色受到一点伤害,然后该角色获得此武器牌', yufulu_info:'出牌阶段,可弃置一张武器牌令一名角色受到一点伤害,然后该角色获得此武器牌',
@ -5268,7 +5269,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
// ['club',1,'fengyinzhidan'], // ['club',1,'fengyinzhidan'],
// ['diamond',1,'fengyinzhidan'], // ['diamond',1,'fengyinzhidan'],
['heart',1,'fengyinzhidan'], // ['heart',1,'fengyinzhidan'],
['spade',1,'fengyinzhidan'], ['spade',1,'fengyinzhidan'],
['heart',9,'yuruyi'], ['heart',9,'yuruyi'],

View File

@ -91,17 +91,23 @@ game.import('character',function(lib,game,ui,get,ai,_status){
trigger:{player:'phaseEnd'}, trigger:{player:'phaseEnd'},
frequent:true, frequent:true,
filter:function(event,player){ filter:function(event,player){
return player.storage.zhengjun.length>=2; return player.storage.zhengjun.length>=1;
}, },
content:function(){ content:function(){
'step 0' 'step 0'
if(player.storage.zhengjun.length==1){
player.draw();
event.finish();
return;
}
event.cards=get.cards(player.storage.zhengjun.length); event.cards=get.cards(player.storage.zhengjun.length);
player.chooseCardButton('整军:获得其中一张牌',true).set('ai',function(button){ player.chooseCardButton('整军:获得其中一张牌',true,event.cards).set('ai',function(button){
return get.useful(button.link); return get.useful(button.link);
}); });
'step 1' 'step 1'
if(result.bool){ if(result.bool){
var card=result.cards[0]; var card=result.links[0];
card.fix();
player.gain(card,'draw'); player.gain(card,'draw');
event.cards.remove(card); event.cards.remove(card);
} }
@ -1784,7 +1790,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
gw_zhuoertan:'卓尔坦', gw_zhuoertan:'卓尔坦',
zhengjun:'整军', zhengjun:'整军',
zhengjun_info:'结束阶段,若X不小于2你可以观看牌堆顶的X张牌并获得其中一张X为你在本局游戏中累计使用或打出过至少两张同名牌的牌数每当X的值增加你增加一点体力和体力上限', zhengjun_info:'结束阶段,你可以观看牌堆顶的X张牌并获得其中一张X为你在本局游戏中累计使用或打出过至少两张同名牌的牌数每当X的值增加你增加一点体力和体力上限',
gwxuezhan:'血战', gwxuezhan:'血战',
gwxuezhan_info:'准备阶段,若你的手牌数为全场最少或之一,你可以获得一张十字召唤', gwxuezhan_info:'准备阶段,若你的手牌数为全场最少或之一,你可以获得一张十字召唤',
jielue:'劫掠', jielue:'劫掠',

View File

@ -987,6 +987,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
frequent:true, frequent:true,
filter:function(event,player){ filter:function(event,player){
if(event.player.hp<=player.hp) return false; if(event.player.hp<=player.hp) return false;
if(event.targets.length>1) return false;
var hs=player.getCards('h'); var hs=player.getCards('h');
var names=['sha','shan','tao','jiu']; var names=['sha','shan','tao','jiu'];
for(var i=0;i<hs.length;i++){ for(var i=0;i<hs.length;i++){

View File

@ -8105,7 +8105,7 @@
var mode=lib.config.all.mode.slice(0); var mode=lib.config.all.mode.slice(0);
mode.remove('connect'); mode.remove('connect');
mode.remove('brawl'); mode.remove('brawl');
var banned=['yxs_luzhishen','xuhuang','zhenji','shen_guanyu','zhurong', var banned=['yxs_luzhishen','xuhuang','zhenji','shen_guanyu','shen_caocao','zhurong',
'daqiao','lingcao','liuzan','lusu','luxun','yanwen','zhouyu','xiahouyuan', 'daqiao','lingcao','liuzan','lusu','luxun','yanwen','zhouyu','xiahouyuan',
'zhuzhi','old_caozhen','guojia','simayi','sp_pangde','swd_kangnalishi']; 'zhuzhi','old_caozhen','guojia','simayi','sp_pangde','swd_kangnalishi'];
var bannedcards=['zengbin','toulianghuanzhu','huoshan','hongshui','guiyoujie','fengyinzhidan']; var bannedcards=['zengbin','toulianghuanzhu','huoshan','hongshui','guiyoujie','fengyinzhidan'];