This commit is contained in:
libccy 2017-07-21 21:55:32 +08:00
parent 536e39531f
commit d03c83571e
2 changed files with 19 additions and 4 deletions

View File

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

View File

@ -182,6 +182,7 @@ window.noname_character_rank={
'xizhicai',
],
am:[
'gw_fuertaisite',
'gw_hengsaite',
'gw_kuite',
'sunqian',