2015-06-13 07:57:52 +00:00
|
|
|
|
'use strict';
|
2015-04-29 03:25:17 +00:00
|
|
|
|
character.refresh={
|
2016-04-15 16:20:05 +00:00
|
|
|
|
connect:true,
|
2015-04-29 03:25:17 +00:00
|
|
|
|
character:{
|
2015-11-26 00:50:57 +00:00
|
|
|
|
re_caocao:['male','wei',4,['hujia','rejianxiong'],['zhu']],
|
|
|
|
|
re_simayi:['male','wei',3,['refankui','reguicai']],
|
|
|
|
|
re_guojia:['male','wei',3,['tiandu','reyiji']],
|
|
|
|
|
re_lidian:['male','wei',3,['xunxun','wangxi']],
|
|
|
|
|
re_zhangliao:['male','wei',4,['retuxi']],
|
|
|
|
|
re_xuzhu:['male','wei',4,['reluoyi']],
|
|
|
|
|
re_xiahoudun:['male','wei',4,['reganglie','qingjian']],
|
|
|
|
|
re_zhangfei:['male','shu',4,['paoxiao','retishen']],
|
|
|
|
|
re_zhaoyun:['male','shu',4,['longdan','reyajiao']],
|
|
|
|
|
re_guanyu:['male','shu',4,['wusheng','yijue']],
|
|
|
|
|
re_machao:['male','shu',4,['mashu','retieji']],
|
|
|
|
|
re_xushu:['male','shu',4,['zhuhai','qianxin']],
|
|
|
|
|
re_zhouyu:['male','wu',3,['reyingzi','refanjian']],
|
|
|
|
|
re_lvmeng:['male','wu',4,['keji','qinxue']],
|
|
|
|
|
re_ganning:['male','wu',4,['qixi','fenwei']],
|
|
|
|
|
re_luxun:['male','wu',3,['reqianxun','relianying']],
|
|
|
|
|
re_daqiao:['female','wu',3,['reguose','liuli']],
|
|
|
|
|
re_huanggai:['male','wu',4,['rekurou','zhaxiang']],
|
2015-12-09 12:17:15 +00:00
|
|
|
|
re_lvbu:['male','qun',5,['wushuang','liyu']],
|
2015-11-26 00:50:57 +00:00
|
|
|
|
re_gongsunzan:['male','qun',4,['qiaomeng','reyicong']],
|
|
|
|
|
re_huatuo:['male','qun',3,['chulao','jijiu']],
|
2016-05-09 11:51:47 +00:00
|
|
|
|
re_liubei:['male','shu',4,['rerende','jijiang'],['zhu']],
|
2015-04-29 03:25:17 +00:00
|
|
|
|
},
|
2017-02-19 15:45:26 +00:00
|
|
|
|
characterIntro:{
|
|
|
|
|
re_gongsunzan:'群雄之一。出身贵族,因母地位卑贱,只当了郡中小吏。他貌美,声音洪亮,机智善辩。后随卢植于缑氏山中读书,粗通经传。',
|
|
|
|
|
re_lidian:'字曼成,曹操麾下将领。李典深明大义,不与人争功,崇尚学习与高贵儒雅,尊重博学之士,在军中被称为长者。李典有长者之风,官至破虏将军,三十六岁去世。魏文帝曹丕继位后追谥号为愍侯。',
|
|
|
|
|
},
|
2015-04-29 03:25:17 +00:00
|
|
|
|
skill:{
|
2016-05-09 11:51:47 +00:00
|
|
|
|
rerende:{
|
|
|
|
|
audio:2,
|
|
|
|
|
group:['rerende1'],
|
|
|
|
|
enable:'phaseUse',
|
|
|
|
|
filterCard:true,
|
|
|
|
|
selectCard:[1,Infinity],
|
|
|
|
|
discard:false,
|
2017-01-14 04:56:52 +00:00
|
|
|
|
prepare:'give2',
|
2016-05-09 11:51:47 +00:00
|
|
|
|
filterTarget:function(card,player,target){
|
|
|
|
|
if(player.storage.rerende2&&player.storage.rerende2.contains(target)) return false;
|
|
|
|
|
return player!=target;
|
|
|
|
|
},
|
2017-02-05 03:56:18 +00:00
|
|
|
|
onremove:['rerende','rerende2'],
|
2016-05-09 11:51:47 +00:00
|
|
|
|
check:function(card){
|
2016-07-09 15:23:11 +00:00
|
|
|
|
if(ui.selected.cards.length&&ui.selected.cards[0].name=='du') return 0;
|
|
|
|
|
if(!ui.selected.cards.length&&card.name=='du') return 20;
|
2016-05-09 11:51:47 +00:00
|
|
|
|
var player=get.owner(card);
|
2017-03-27 08:48:22 +00:00
|
|
|
|
if(ui.selected.cards.length>=Math.max(2,player.countCards('h')-player.hp)) return 0;
|
|
|
|
|
if(player.hp==player.maxHp||player.storage.rerende<0||player.countCards('h')<=1){
|
2017-02-12 02:25:24 +00:00
|
|
|
|
var players=game.filterPlayer();
|
|
|
|
|
for(var i=0;i<players.length;i++){
|
2017-03-28 04:06:07 +00:00
|
|
|
|
if(players[i].hasSkill('haoshi')&&
|
2017-02-12 02:25:24 +00:00
|
|
|
|
!players[i].isTurnedOver()&&
|
2017-03-27 10:15:30 +00:00
|
|
|
|
!players[i].hasJudge('lebu')&&
|
2017-02-12 02:25:24 +00:00
|
|
|
|
ai.get.attitude(player,players[i])>=3&&
|
|
|
|
|
ai.get.attitude(players[i],player)>=3){
|
2016-05-09 11:51:47 +00:00
|
|
|
|
return 11-ai.get.value(card);
|
|
|
|
|
}
|
|
|
|
|
}
|
2017-03-27 08:48:22 +00:00
|
|
|
|
if(player.countCards('h')>player.hp) return 10-ai.get.value(card);
|
|
|
|
|
if(player.countCards('h')>2) return 6-ai.get.value(card);
|
2016-05-09 11:51:47 +00:00
|
|
|
|
return -1;
|
|
|
|
|
}
|
|
|
|
|
return 10-ai.get.value(card);
|
|
|
|
|
},
|
|
|
|
|
content:function(){
|
|
|
|
|
'step 0'
|
|
|
|
|
if(!Array.isArray(player.storage.rerende2)){
|
|
|
|
|
player.storage.rerende2=[];
|
|
|
|
|
}
|
|
|
|
|
player.storage.rerende2.push(target);
|
2017-01-13 18:51:13 +00:00
|
|
|
|
target.gain(cards,player);
|
2016-05-09 11:51:47 +00:00
|
|
|
|
if(typeof player.storage.rerende!='number'){
|
|
|
|
|
player.storage.rerende=0;
|
|
|
|
|
}
|
|
|
|
|
if(player.storage.rerende>=0){
|
|
|
|
|
player.storage.rerende+=cards.length;
|
|
|
|
|
if(player.storage.rerende>=2){
|
|
|
|
|
var list=[];
|
2017-02-08 14:30:02 +00:00
|
|
|
|
if(lib.filter.cardUsable({name:'sha'},player,event.getParent('chooseToUse'))){
|
2017-02-12 02:25:24 +00:00
|
|
|
|
if(game.hasPlayer(function(current){
|
|
|
|
|
return player.canUse('sha',current);
|
|
|
|
|
})){
|
2017-03-22 04:35:25 +00:00
|
|
|
|
list.push(['基本','','sha']);
|
|
|
|
|
list.push(['基本','','sha','fire']);
|
|
|
|
|
list.push(['基本','','sha','thunder']);
|
2016-05-09 11:51:47 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
if(player.canUse('tao',player,true,true)){
|
2017-03-22 04:35:25 +00:00
|
|
|
|
list.push(['基本','','tao']);
|
2016-07-09 15:23:11 +00:00
|
|
|
|
}
|
2016-05-09 11:51:47 +00:00
|
|
|
|
if(player.canUse('jiu',player,true,true)){
|
2017-03-22 04:35:25 +00:00
|
|
|
|
list.push(['基本','','jiu']);
|
2016-07-09 15:23:11 +00:00
|
|
|
|
}
|
2016-05-09 11:51:47 +00:00
|
|
|
|
if(list.length){
|
2017-03-22 04:35:25 +00:00
|
|
|
|
player.chooseButton(['是否视为使用一张基本牌?',[list,'vcard']]).set('ai',function(button){
|
2016-05-10 10:45:06 +00:00
|
|
|
|
var player=_status.event.player;
|
2017-03-22 04:35:25 +00:00
|
|
|
|
var card={name:button.link[2],nature:button.link[3]};
|
|
|
|
|
if(card.name=='tao'){
|
|
|
|
|
if(player.hp==1||(player.hp==2&&!player.hasShan())||player.needsToDiscard()){
|
|
|
|
|
return 5;
|
2016-05-10 10:45:06 +00:00
|
|
|
|
}
|
2017-03-22 04:35:25 +00:00
|
|
|
|
return 1;
|
2016-05-10 10:45:06 +00:00
|
|
|
|
}
|
2017-03-22 04:35:25 +00:00
|
|
|
|
if(card.name=='sha'){
|
|
|
|
|
if(game.hasPlayer(function(current){
|
2017-03-24 01:41:01 +00:00
|
|
|
|
return player.canUse(card,current)&&ai.get.effect(current,card,player,player)>0
|
2017-03-22 04:35:25 +00:00
|
|
|
|
})){
|
|
|
|
|
if(card.nature=='fire') return 2.95;
|
|
|
|
|
if(card.nature=='thunder') return 2.92;
|
|
|
|
|
return 2.9;
|
|
|
|
|
}
|
2017-03-24 01:41:01 +00:00
|
|
|
|
return 0;
|
2017-03-22 04:35:25 +00:00
|
|
|
|
}
|
|
|
|
|
if(card.name=='jiu'){
|
|
|
|
|
return 0.5;
|
|
|
|
|
}
|
2017-03-24 01:41:01 +00:00
|
|
|
|
return 0;
|
2017-03-22 04:35:25 +00:00
|
|
|
|
});
|
2016-05-09 11:51:47 +00:00
|
|
|
|
}
|
|
|
|
|
else{
|
|
|
|
|
event.finish();
|
|
|
|
|
}
|
|
|
|
|
player.storage.rerende=-1;
|
|
|
|
|
}
|
|
|
|
|
else{
|
|
|
|
|
event.finish();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
else{
|
|
|
|
|
event.finish();
|
|
|
|
|
}
|
|
|
|
|
'step 1'
|
2017-03-22 04:35:25 +00:00
|
|
|
|
if(result&&result.bool&&result.links[0]){
|
|
|
|
|
var card={name:result.links[0][2],nature:result.links[0][3]};
|
|
|
|
|
if(card.name=='sha'){
|
|
|
|
|
event.fakecard=card;
|
2016-05-09 11:51:47 +00:00
|
|
|
|
player.chooseTarget(function(card,player,target){
|
2017-03-22 04:35:25 +00:00
|
|
|
|
return player.canUse(_status.event.fakecard,target,true,true);
|
2016-05-10 10:45:06 +00:00
|
|
|
|
},true,'选择出杀目标').set('ai',function(target){
|
|
|
|
|
var player=_status.event.player;
|
2017-03-22 04:35:25 +00:00
|
|
|
|
return ai.get.effect(target,_status.event.fakecard,player,player);
|
|
|
|
|
}).set('fakecard',card);
|
2016-05-09 11:51:47 +00:00
|
|
|
|
}
|
|
|
|
|
else{
|
2017-03-22 04:35:25 +00:00
|
|
|
|
player.useCard(card,player);
|
2016-05-09 11:51:47 +00:00
|
|
|
|
event.finish();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
else{
|
|
|
|
|
event.finish();
|
|
|
|
|
}
|
|
|
|
|
'step 2'
|
|
|
|
|
if(result.bool&&result.targets&&result.targets.length){
|
2017-03-22 04:35:25 +00:00
|
|
|
|
player.useCard(event.fakecard,result.targets);
|
2016-05-09 11:51:47 +00:00
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
ai:{
|
|
|
|
|
order:function(skill,player){
|
2017-03-27 08:48:22 +00:00
|
|
|
|
if(player.hp<player.maxHp&&player.storage.rerende<2&&player.countCards('h')>1){
|
2016-05-09 11:51:47 +00:00
|
|
|
|
return 10;
|
|
|
|
|
}
|
|
|
|
|
return 4;
|
|
|
|
|
},
|
|
|
|
|
result:{
|
|
|
|
|
target:function(player,target){
|
2016-07-09 15:23:11 +00:00
|
|
|
|
if(ui.selected.cards.length&&ui.selected.cards[0].name=='du'){
|
2017-03-17 09:28:56 +00:00
|
|
|
|
if(target.hasSkillTag('nodu')) return 0;
|
2016-07-09 15:23:11 +00:00
|
|
|
|
return -10;
|
|
|
|
|
}
|
2017-03-27 10:15:30 +00:00
|
|
|
|
if(target.hasJudge('lebu')) return 0;
|
2017-03-27 08:48:22 +00:00
|
|
|
|
var nh=target.countCards('h');
|
|
|
|
|
var np=player.countCards('h');
|
|
|
|
|
if(player.hp==player.maxHp||player.storage.rerende<0||player.countCards('h')<=1){
|
2017-03-28 04:06:07 +00:00
|
|
|
|
if(nh>=np-1&&np<=player.hp&&!target.hasSkill('haoshi')) return 0;
|
2016-05-09 11:51:47 +00:00
|
|
|
|
}
|
|
|
|
|
return Math.max(1,5-nh);
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
effect:{
|
|
|
|
|
target:function(card,player,target){
|
|
|
|
|
if(player==target&&get.type(card)=='equip'){
|
2017-03-27 09:42:45 +00:00
|
|
|
|
if(player.countCards('e',{subtype:get.subtype(card)})){
|
2017-02-12 02:25:24 +00:00
|
|
|
|
if(game.hasPlayer(function(current){
|
|
|
|
|
return current!=player&&ai.get.attitude(player,current)>0;
|
|
|
|
|
})){
|
|
|
|
|
return 0;
|
2016-05-09 11:51:47 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
threaten:0.8
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
rerende1:{
|
|
|
|
|
trigger:{player:'phaseUseBegin'},
|
|
|
|
|
forced:true,
|
|
|
|
|
popup:false,
|
|
|
|
|
silent:true,
|
|
|
|
|
content:function(){
|
|
|
|
|
player.storage.rerende=0;
|
|
|
|
|
player.storage.rerende2=[];
|
|
|
|
|
}
|
|
|
|
|
},
|
2015-12-09 12:17:15 +00:00
|
|
|
|
liyu:{
|
|
|
|
|
audio:2,
|
2015-11-28 07:19:04 +00:00
|
|
|
|
trigger:{source:'damageEnd'},
|
2016-04-19 03:16:11 +00:00
|
|
|
|
forced:true,
|
2015-11-28 07:19:04 +00:00
|
|
|
|
filter:function(event,player){
|
2017-03-27 08:48:22 +00:00
|
|
|
|
return event.card&&event.card.name=='sha'&&event.player.isAlive()&&event.player.countCards('he')>0;
|
2015-11-28 07:19:04 +00:00
|
|
|
|
},
|
2016-04-19 03:16:11 +00:00
|
|
|
|
check:function(){
|
|
|
|
|
return false;
|
|
|
|
|
},
|
2015-11-28 07:19:04 +00:00
|
|
|
|
content:function(){
|
|
|
|
|
'step 0'
|
2016-04-15 16:20:05 +00:00
|
|
|
|
trigger.player.chooseTarget(function(card,player,target){
|
|
|
|
|
var evt=_status.event.getParent();
|
|
|
|
|
return evt.player.canUse({name:'juedou'},target)&&target!=_status.event.player;
|
2016-09-20 05:06:35 +00:00
|
|
|
|
},get.prompt('liyu')).set('ai',function(target){
|
2016-04-15 16:20:05 +00:00
|
|
|
|
var evt=_status.event.getParent();
|
|
|
|
|
return ai.get.effect(target,{name:'juedou'},evt.player,_status.event.player)-2;
|
|
|
|
|
});
|
2015-11-28 07:19:04 +00:00
|
|
|
|
'step 1'
|
|
|
|
|
if(result.bool){
|
|
|
|
|
player.gainPlayerCard(trigger.player,'he',true);
|
|
|
|
|
event.target=result.targets[0];
|
|
|
|
|
trigger.player.line(player,'green');
|
|
|
|
|
}
|
|
|
|
|
else{
|
|
|
|
|
event.finish();
|
|
|
|
|
}
|
|
|
|
|
'step 2'
|
|
|
|
|
if(event.target){
|
|
|
|
|
player.useCard({name:'juedou'},event.target);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
2015-04-29 03:25:17 +00:00
|
|
|
|
reqicai:{
|
|
|
|
|
trigger:{player:'equipEnd'},
|
|
|
|
|
frequent:true,
|
|
|
|
|
content:function(){
|
|
|
|
|
player.draw();
|
|
|
|
|
},
|
|
|
|
|
mod:{
|
|
|
|
|
targetInRange:function(card,player,target,now){
|
|
|
|
|
var type=get.type(card);
|
|
|
|
|
if(type=='trick'||type=='delay') return true;
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
rejizhi:{
|
2015-06-13 07:57:52 +00:00
|
|
|
|
audio:2,
|
2017-01-08 04:09:34 +00:00
|
|
|
|
usable:3,
|
2015-04-29 03:25:17 +00:00
|
|
|
|
trigger:{player:'useCard'},
|
|
|
|
|
frequent:true,
|
|
|
|
|
filter:function(event){
|
|
|
|
|
var type=get.type(event.card,'trick');
|
|
|
|
|
return (type=='trick'||type=='equip')&&event.cards[0]&&event.cards[0]==event.card;
|
|
|
|
|
},
|
|
|
|
|
content:function(){
|
|
|
|
|
"step 0"
|
|
|
|
|
var cards=get.cards();
|
2017-02-05 11:55:50 +00:00
|
|
|
|
player.gain(cards,'gain2','log');
|
2015-04-29 03:25:17 +00:00
|
|
|
|
if(get.type(cards[0])!='basic'){
|
|
|
|
|
event.finish();
|
|
|
|
|
}
|
|
|
|
|
"step 1"
|
|
|
|
|
player.chooseToDiscard('h',true);
|
|
|
|
|
},
|
|
|
|
|
ai:{
|
|
|
|
|
threaten:1.4
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
retuxi:{
|
2015-06-13 07:57:52 +00:00
|
|
|
|
audio:2,
|
2015-04-29 03:25:17 +00:00
|
|
|
|
trigger:{player:'phaseDrawBefore'},
|
|
|
|
|
direct:true,
|
|
|
|
|
content:function(){
|
|
|
|
|
"step 0"
|
2016-09-20 05:06:35 +00:00
|
|
|
|
player.chooseTarget(get.prompt('retuxi'),[1,2],function(card,player,target){
|
2017-03-27 08:48:22 +00:00
|
|
|
|
return target.countCards('h')>0&&player!=target&&target.countCards('h')>=player.countCards('h');
|
2015-04-29 03:25:17 +00:00
|
|
|
|
},function(target){
|
2016-04-16 05:10:01 +00:00
|
|
|
|
var att=ai.get.attitude(_status.event.player,target);
|
2016-08-12 08:26:31 +00:00
|
|
|
|
if(target.hasSkill('tuntian')) return att/10;
|
2016-04-16 05:10:01 +00:00
|
|
|
|
return 1-att;
|
2015-04-29 03:25:17 +00:00
|
|
|
|
});
|
|
|
|
|
"step 1"
|
|
|
|
|
if(result.bool){
|
2016-04-15 16:20:05 +00:00
|
|
|
|
player.logSkill('retuxi',result.targets);
|
2017-03-01 04:19:48 +00:00
|
|
|
|
player.gainMultiple(result.targets);
|
2017-02-08 04:02:19 +00:00
|
|
|
|
trigger.num-=result.targets.length;
|
2015-04-29 03:25:17 +00:00
|
|
|
|
}
|
2017-02-08 04:02:19 +00:00
|
|
|
|
else{
|
|
|
|
|
event.finish();
|
|
|
|
|
}
|
|
|
|
|
"step 2"
|
|
|
|
|
if(trigger.num<=0) game.delay();
|
2015-04-29 03:25:17 +00:00
|
|
|
|
},
|
|
|
|
|
ai:{
|
|
|
|
|
threaten:1.6,
|
|
|
|
|
expose:0.2
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
reguicai:{
|
2015-06-13 07:57:52 +00:00
|
|
|
|
audio:2,
|
2015-04-29 03:25:17 +00:00
|
|
|
|
trigger:{global:'judge'},
|
|
|
|
|
direct:true,
|
|
|
|
|
filter:function(event,player){
|
2017-03-27 08:48:22 +00:00
|
|
|
|
return player.countCards('he')>0;
|
2015-04-29 03:25:17 +00:00
|
|
|
|
},
|
|
|
|
|
content:function(){
|
|
|
|
|
"step 0"
|
2015-07-08 04:14:53 +00:00
|
|
|
|
player.chooseCard(get.translation(trigger.player)+'的'+(trigger.judgestr||'')+'判定为'+
|
2016-09-20 05:06:35 +00:00
|
|
|
|
get.translation(trigger.player.judging[0])+','+get.prompt('reguicai'),'he').set('ai',function(card){
|
2016-05-07 03:12:04 +00:00
|
|
|
|
var trigger=_status.event.getTrigger();
|
2015-04-29 03:25:17 +00:00
|
|
|
|
var player=_status.event.player;
|
2016-04-15 16:20:05 +00:00
|
|
|
|
var judging=_status.event.judging;
|
|
|
|
|
var result=trigger.judge(card)-trigger.judge(judging);
|
2015-04-29 03:25:17 +00:00
|
|
|
|
var attitude=ai.get.attitude(player,trigger.player);
|
|
|
|
|
if(attitude==0||result==0) return 0;
|
|
|
|
|
if(attitude>0){
|
|
|
|
|
return result-ai.get.value(card)/2;
|
|
|
|
|
}
|
|
|
|
|
else{
|
|
|
|
|
return -result-ai.get.value(card)/2;
|
|
|
|
|
}
|
2016-04-15 16:20:05 +00:00
|
|
|
|
}).set('judging',trigger.player.judging[0]);
|
2015-04-29 03:25:17 +00:00
|
|
|
|
"step 1"
|
|
|
|
|
if(result.bool){
|
2015-11-06 10:05:08 +00:00
|
|
|
|
player.respond(result.cards,'highlight');
|
2015-04-29 03:25:17 +00:00
|
|
|
|
}
|
|
|
|
|
else{
|
|
|
|
|
event.finish();
|
|
|
|
|
}
|
|
|
|
|
"step 2"
|
|
|
|
|
if(result.bool){
|
2015-04-29 05:33:18 +00:00
|
|
|
|
player.logSkill('reguicai');
|
2015-12-12 08:37:15 +00:00
|
|
|
|
if(trigger.player.judging[0].clone){
|
2016-04-15 16:20:05 +00:00
|
|
|
|
trigger.player.judging[0].clone.classList.remove('thrownhighlight');
|
|
|
|
|
game.broadcast(function(card){
|
|
|
|
|
if(card.clone){
|
|
|
|
|
card.clone.classList.remove('thrownhighlight');
|
|
|
|
|
}
|
|
|
|
|
},trigger.player.judging[0]);
|
2015-12-12 08:37:15 +00:00
|
|
|
|
game.addVideo('deletenode',player,get.cardsInfo([trigger.player.judging[0].clone]));
|
2015-11-04 01:59:00 +00:00
|
|
|
|
}
|
2015-12-12 08:37:15 +00:00
|
|
|
|
ui.discardPile.appendChild(trigger.player.judging[0]);
|
|
|
|
|
trigger.player.judging[0]=result.cards[0];
|
2016-04-12 07:49:02 +00:00
|
|
|
|
if(!get.owner(result.cards[0],'judge')){
|
|
|
|
|
trigger.position.appendChild(result.cards[0]);
|
|
|
|
|
}
|
2015-12-08 13:54:44 +00:00
|
|
|
|
game.log(trigger.player,'的判定牌改为',result.cards[0]);
|
2015-04-29 03:25:17 +00:00
|
|
|
|
game.delay(2);
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
ai:{
|
|
|
|
|
tag:{
|
|
|
|
|
rejudge:1,
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
refankui:{
|
2015-06-13 07:57:52 +00:00
|
|
|
|
audio:2,
|
2015-04-29 03:25:17 +00:00
|
|
|
|
trigger:{player:'damageEnd'},
|
|
|
|
|
direct:true,
|
|
|
|
|
filter:function(event,player){
|
2017-03-27 08:48:22 +00:00
|
|
|
|
return (event.source&&event.source.countCards('he')&&event.num>0&&event.source!=player);
|
2015-04-29 03:25:17 +00:00
|
|
|
|
},
|
|
|
|
|
content:function(){
|
2017-02-16 01:34:35 +00:00
|
|
|
|
player.gainPlayerCard([1,trigger.num],get.prompt('fankui',trigger.source),trigger.source,ai.get.buttonValue,'he').set('logSkill',['refankui',trigger.source]);
|
2015-04-29 03:25:17 +00:00
|
|
|
|
},
|
|
|
|
|
ai:{
|
2016-04-15 16:20:05 +00:00
|
|
|
|
effect:{
|
2015-04-29 03:25:17 +00:00
|
|
|
|
target:function(card,player,target){
|
2017-03-27 08:48:22 +00:00
|
|
|
|
if(player.countCards('he')>1&&get.tag(card,'damage')){
|
2017-03-25 15:36:28 +00:00
|
|
|
|
if(player.hasSkillTag('jueqing')) return [1,-1.5];
|
2015-04-29 03:25:17 +00:00
|
|
|
|
if(ai.get.attitude(target,player)<0) return [1,1];
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
reluoyi:{
|
2015-06-13 07:57:52 +00:00
|
|
|
|
audio:2,
|
2015-04-29 03:25:17 +00:00
|
|
|
|
trigger:{player:'phaseDrawBegin'},
|
|
|
|
|
check:function(event,player){
|
2017-03-27 09:30:25 +00:00
|
|
|
|
if(player.countCards('h','sha')) return true;
|
2015-04-29 03:25:17 +00:00
|
|
|
|
return Math.random()<0.5;
|
|
|
|
|
},
|
|
|
|
|
content:function(){
|
|
|
|
|
"step 0"
|
2015-12-04 03:16:44 +00:00
|
|
|
|
player.addTempSkill('reluoyi2',{player:'phaseBefore'});
|
2015-04-29 03:25:17 +00:00
|
|
|
|
trigger.untrigger();
|
|
|
|
|
trigger.finish();
|
|
|
|
|
"step 1"
|
|
|
|
|
event.cards=get.cards(3);
|
2015-11-05 02:34:35 +00:00
|
|
|
|
player.showCards(event.cards,'裸衣');
|
2015-04-29 03:25:17 +00:00
|
|
|
|
"step 2"
|
|
|
|
|
for(var i=0;i<cards.length;i++){
|
2017-02-07 00:42:26 +00:00
|
|
|
|
if(get.type(cards[i])!='basic'&&cards[i].name!='juedou'&&
|
|
|
|
|
(get.type(cards[i])!='equip'||get.subtype(cards[i])!='equip1')){
|
2015-04-29 03:25:17 +00:00
|
|
|
|
ui.discardPile.appendChild(cards[i]);
|
2017-02-07 00:42:26 +00:00
|
|
|
|
cards.splice(i--,1);
|
2015-04-29 03:25:17 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
2016-04-02 14:51:26 +00:00
|
|
|
|
player.gain(cards,'gain2');
|
2015-04-29 03:25:17 +00:00
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
reluoyi2:{
|
|
|
|
|
trigger:{source:'damageBegin'},
|
|
|
|
|
filter:function(event){
|
2016-04-04 11:20:05 +00:00
|
|
|
|
return event.card&&(event.card.name=='sha'||event.card.name=='juedou')&&event.notLink();
|
2015-04-29 03:25:17 +00:00
|
|
|
|
},
|
|
|
|
|
forced:true,
|
|
|
|
|
content:function(){
|
|
|
|
|
trigger.num++;
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
reganglie:{
|
2015-06-13 07:57:52 +00:00
|
|
|
|
audio:2,
|
2015-04-29 03:25:17 +00:00
|
|
|
|
trigger:{player:'damageEnd'},
|
|
|
|
|
filter:function(event,player){
|
2017-01-18 12:54:45 +00:00
|
|
|
|
return (event.source!=undefined&&event.num>0);
|
2015-04-29 03:25:17 +00:00
|
|
|
|
},
|
|
|
|
|
check:function(event,player){
|
|
|
|
|
return (ai.get.attitude(player,event.source)<=0);
|
|
|
|
|
},
|
2017-01-18 12:54:45 +00:00
|
|
|
|
logTarget:'source',
|
2015-04-29 03:25:17 +00:00
|
|
|
|
content:function(){
|
|
|
|
|
"step 0"
|
2017-01-18 12:54:45 +00:00
|
|
|
|
event.num=trigger.num;
|
|
|
|
|
"step 1"
|
2015-04-29 03:25:17 +00:00
|
|
|
|
player.judge(function(card){
|
|
|
|
|
if(get.color(card)=='red') return 2;
|
|
|
|
|
return 1;
|
|
|
|
|
})
|
2017-01-18 12:54:45 +00:00
|
|
|
|
"step 2"
|
2017-03-27 08:48:22 +00:00
|
|
|
|
if(result.judge==1&&trigger.source.countCards('he')){
|
2015-04-29 03:25:17 +00:00
|
|
|
|
player.discardPlayerCard(trigger.source,'he',true);
|
|
|
|
|
}
|
|
|
|
|
else{
|
|
|
|
|
if(result.judge==2){
|
|
|
|
|
trigger.source.damage();
|
|
|
|
|
}
|
|
|
|
|
}
|
2017-01-18 12:54:45 +00:00
|
|
|
|
event.num--;
|
|
|
|
|
if(event.num>0){
|
|
|
|
|
player.chooseBool('是否继续发动?');
|
|
|
|
|
}
|
|
|
|
|
else{
|
|
|
|
|
event.finish();
|
|
|
|
|
}
|
|
|
|
|
"step 3"
|
|
|
|
|
if(result.bool){
|
|
|
|
|
event.goto(1);
|
|
|
|
|
}
|
2015-04-29 03:25:17 +00:00
|
|
|
|
},
|
|
|
|
|
ai:{
|
|
|
|
|
expose:0.4
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
qinxue:{
|
2015-12-30 04:00:49 +00:00
|
|
|
|
skillAnimation:true,
|
2015-06-18 14:42:44 +00:00
|
|
|
|
audio:2,
|
2015-04-29 03:25:17 +00:00
|
|
|
|
unique:true,
|
2017-02-19 05:54:28 +00:00
|
|
|
|
derivation:'gongxin',
|
2015-04-29 03:25:17 +00:00
|
|
|
|
trigger:{player:'phaseBegin'},
|
|
|
|
|
forced:true,
|
|
|
|
|
filter:function(event,player){
|
|
|
|
|
if(player.storage.qinxue) return false;
|
2017-03-27 08:48:22 +00:00
|
|
|
|
if(player.countCards('h')>=player.hp+3) return true;
|
|
|
|
|
if(player.countCards('h')>=player.hp+2&&game.players.length+game.dead.length>=7) return true;
|
2015-04-29 03:25:17 +00:00
|
|
|
|
return false;
|
|
|
|
|
},
|
|
|
|
|
content:function(){
|
2015-05-05 09:23:31 +00:00
|
|
|
|
player.storage.qinxue=true;
|
2015-04-29 10:02:31 +00:00
|
|
|
|
player.loseMaxHp();
|
2015-04-29 03:25:17 +00:00
|
|
|
|
player.addSkill('gongxin');
|
2017-01-23 09:28:05 +00:00
|
|
|
|
player.awakenSkill('qinxue');
|
2015-04-29 03:25:17 +00:00
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
qingjian:{
|
2015-06-18 14:42:44 +00:00
|
|
|
|
audio:2,
|
2015-04-29 03:25:17 +00:00
|
|
|
|
unique:true,
|
|
|
|
|
trigger:{player:'gainAfter'},
|
|
|
|
|
direct:true,
|
2016-07-09 15:23:11 +00:00
|
|
|
|
usable:4,
|
2016-01-24 16:07:47 +00:00
|
|
|
|
filter:function(event,player){
|
2015-04-29 03:25:17 +00:00
|
|
|
|
if(event.parent.parent.name=='phaseDraw') return false;
|
|
|
|
|
return event.cards&&event.cards.length>0
|
|
|
|
|
},
|
|
|
|
|
content:function(){
|
|
|
|
|
"step 0"
|
|
|
|
|
event.cards=trigger.cards.slice(0);
|
|
|
|
|
"step 1"
|
|
|
|
|
player.chooseCardTarget({
|
|
|
|
|
filterCard:function(card){
|
2016-04-15 16:20:05 +00:00
|
|
|
|
return _status.event.getParent().cards.contains(card);
|
2015-04-29 03:25:17 +00:00
|
|
|
|
},
|
|
|
|
|
selectCard:[1,event.cards.length],
|
|
|
|
|
filterTarget:function(card,player,target){
|
|
|
|
|
return player!=target;
|
|
|
|
|
},
|
|
|
|
|
ai1:function(card){
|
|
|
|
|
if(ui.selected.cards.length>0) return -1;
|
2016-07-09 15:23:11 +00:00
|
|
|
|
if(card.name=='du') return 20;
|
2017-03-27 08:48:22 +00:00
|
|
|
|
return (_status.event.player.countCards('h')-_status.event.player.hp);
|
2015-04-29 03:25:17 +00:00
|
|
|
|
},
|
|
|
|
|
ai2:function(target){
|
2016-07-09 15:23:11 +00:00
|
|
|
|
var att=ai.get.attitude(_status.event.player,target);
|
|
|
|
|
if(ui.selected.cards.length&&ui.selected.cards[0].name=='du'){
|
2017-03-17 09:28:56 +00:00
|
|
|
|
if(target.hasSkillTag('nodu')) return 0;
|
2016-07-09 15:23:11 +00:00
|
|
|
|
return 1-att;
|
|
|
|
|
}
|
2017-03-27 08:48:22 +00:00
|
|
|
|
if(target.countCards('h')>_status.event.player.countCards('h')) return 0;
|
2016-07-09 15:23:11 +00:00
|
|
|
|
return att-4;
|
2015-04-29 03:25:17 +00:00
|
|
|
|
},
|
|
|
|
|
prompt:'请选择要送人的卡牌'
|
|
|
|
|
});
|
|
|
|
|
"step 2"
|
|
|
|
|
if(result.bool){
|
2016-01-24 16:07:47 +00:00
|
|
|
|
player.storage.qingjian++;
|
2015-04-29 03:25:17 +00:00
|
|
|
|
player.logSkill('qingjian',result.targets);
|
2017-01-13 18:51:13 +00:00
|
|
|
|
result.targets[0].gain(result.cards,player);
|
2015-04-29 03:25:17 +00:00
|
|
|
|
player.$give(result.cards.length,result.targets[0]);
|
|
|
|
|
for(var i=0;i<result.cards.length;i++){
|
|
|
|
|
event.cards.remove(result.cards[i]);
|
|
|
|
|
}
|
|
|
|
|
if(event.cards.length) event.goto(1);
|
|
|
|
|
}
|
2017-02-23 05:21:37 +00:00
|
|
|
|
else{
|
|
|
|
|
player.storage.counttrigger.qingjian--;
|
|
|
|
|
}
|
2015-04-29 03:25:17 +00:00
|
|
|
|
},
|
|
|
|
|
ai:{
|
|
|
|
|
expose:0.3
|
2016-01-24 16:07:47 +00:00
|
|
|
|
},
|
2015-04-29 03:25:17 +00:00
|
|
|
|
},
|
|
|
|
|
reyingzi:{
|
2015-06-13 07:57:52 +00:00
|
|
|
|
audio:2,
|
2016-03-29 13:43:15 +00:00
|
|
|
|
audioname:['sunce'],
|
2015-04-29 03:25:17 +00:00
|
|
|
|
trigger:{player:'phaseDrawBegin'},
|
|
|
|
|
forced:true,
|
|
|
|
|
content:function(){
|
|
|
|
|
trigger.num++;
|
|
|
|
|
},
|
|
|
|
|
ai:{
|
|
|
|
|
threaten:1.5
|
|
|
|
|
},
|
|
|
|
|
mod:{
|
|
|
|
|
maxHandcard:function(player,num){
|
|
|
|
|
if(player.hp<player.maxHp) return num+player.maxHp-player.hp;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
refanjian:{
|
2015-06-13 07:57:52 +00:00
|
|
|
|
audio:2,
|
2015-04-29 03:25:17 +00:00
|
|
|
|
enable:'phaseUse',
|
|
|
|
|
usable:1,
|
|
|
|
|
filter:function(event,player){
|
2017-03-27 08:48:22 +00:00
|
|
|
|
return player.countCards('h')>0;
|
2015-04-29 03:25:17 +00:00
|
|
|
|
},
|
|
|
|
|
filterTarget:function(card,player,target){
|
|
|
|
|
return player!=target;
|
|
|
|
|
},
|
|
|
|
|
filterCard:true,
|
|
|
|
|
check:function(card){
|
|
|
|
|
return 8-ai.get.value(card);
|
|
|
|
|
},
|
|
|
|
|
discard:false,
|
2017-01-14 04:56:52 +00:00
|
|
|
|
prepare:'give',
|
2015-04-29 03:25:17 +00:00
|
|
|
|
content:function(){
|
|
|
|
|
"step 0"
|
|
|
|
|
target.storage.refanjian=cards[0];
|
2017-01-13 18:51:13 +00:00
|
|
|
|
target.gain(cards[0],player);
|
2015-04-29 03:25:17 +00:00
|
|
|
|
"step 1"
|
|
|
|
|
target.chooseControl('refanjian_card','refanjian_hp').ai=function(event,player){
|
2017-03-27 09:12:10 +00:00
|
|
|
|
var cards=player.getCards('he',{suit:get.suit(player.storage.refanjian)});
|
2015-04-29 03:25:17 +00:00
|
|
|
|
if(cards.length==1) return 0;
|
2015-09-10 09:35:58 +00:00
|
|
|
|
if(cards.length>=2){
|
2015-04-29 03:25:17 +00:00
|
|
|
|
for(var i=0;i<cards.length;i++){
|
|
|
|
|
if(get.tag(cards[i],'save')) return 1;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
if(player.hp==1) return 0;
|
|
|
|
|
for(var i=0;i<cards.length;i++){
|
|
|
|
|
if(ai.get.value(cards[i])>=8) return 1;
|
|
|
|
|
}
|
|
|
|
|
if(cards.length>2&&player.hp>2) return 1;
|
|
|
|
|
if(cards.length>3) return 1;
|
|
|
|
|
return 0;
|
|
|
|
|
}
|
|
|
|
|
"step 2"
|
|
|
|
|
if(result.control=='refanjian_card'){
|
|
|
|
|
target.showHandcards();
|
|
|
|
|
}
|
|
|
|
|
else{
|
|
|
|
|
target.loseHp();
|
|
|
|
|
event.finish();
|
|
|
|
|
}
|
|
|
|
|
"step 3"
|
2017-03-27 09:12:10 +00:00
|
|
|
|
target.discard(target.getCards('he',{suit:get.suit(target.storage.refanjian)}))
|
2016-04-15 16:20:05 +00:00
|
|
|
|
delete target.storage.refanjian;
|
2015-04-29 03:25:17 +00:00
|
|
|
|
},
|
|
|
|
|
ai:{
|
|
|
|
|
order:9,
|
|
|
|
|
result:{
|
|
|
|
|
target:function(player,target){
|
2017-03-27 09:30:25 +00:00
|
|
|
|
return -target.countCards('he')-(player.countCards('h','du')?1:0);
|
2015-04-29 03:25:17 +00:00
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
threaten:2,
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
reqianxun:{
|
|
|
|
|
init:function(player){
|
|
|
|
|
player.storage.reqianxun2=[];
|
|
|
|
|
},
|
2015-11-25 12:34:54 +00:00
|
|
|
|
audio:2,
|
2015-11-13 09:12:47 +00:00
|
|
|
|
trigger:{target:'useCardToBegin',player:'judgeBefore'},
|
2015-04-29 03:25:17 +00:00
|
|
|
|
filter:function(event,player){
|
2017-03-27 08:48:22 +00:00
|
|
|
|
if(player.countCards('h')==0) return false;
|
2015-04-29 03:25:17 +00:00
|
|
|
|
if(event.parent.name=='phaseJudge'){
|
2015-11-13 09:12:47 +00:00
|
|
|
|
if(lib.skill.reqianxun.trigger.player=='judgeBefore'){
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
return event.result&&event.result.judge!=0;
|
2015-04-29 03:25:17 +00:00
|
|
|
|
}
|
|
|
|
|
if(event.name=='judge') return false;
|
|
|
|
|
if(event.targets&&event.targets.length>1) return false;
|
|
|
|
|
if(event.card&&get.type(event.card)=='trick'&&event.player!=player) return true;
|
|
|
|
|
},
|
|
|
|
|
content:function(){
|
2017-03-27 08:48:22 +00:00
|
|
|
|
player.storage.reqianxun2=player.storage.reqianxun2.concat(player.getCards('h'));
|
2015-11-04 01:59:00 +00:00
|
|
|
|
game.addVideo('storage',player,['reqianxun2',get.cardsInfo(player.storage.reqianxun2),'cards']);
|
2017-03-27 08:48:22 +00:00
|
|
|
|
player.lose(player.getCards('h'),ui.special);
|
2015-04-29 03:25:17 +00:00
|
|
|
|
player.addSkill('reqianxun2');
|
|
|
|
|
},
|
|
|
|
|
ai:{
|
|
|
|
|
effect:function(card,player,target){
|
2017-02-07 02:47:44 +00:00
|
|
|
|
if(!target.hasFriend()) return;
|
2017-03-29 05:29:34 +00:00
|
|
|
|
var type=get.type(card);
|
|
|
|
|
var nh=target.countCards();
|
|
|
|
|
if(type=='trick'){
|
|
|
|
|
if(!get.tag(card,'multitarget')||get.info(card).singleCard){
|
|
|
|
|
if(get.tag(card,'damage')){
|
|
|
|
|
if(nh<3||target.hp<=2) return 0.8;
|
|
|
|
|
}
|
|
|
|
|
return [1,nh];
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
else if(type=='delay'){
|
|
|
|
|
return [0.5,0.5];
|
|
|
|
|
}
|
2015-04-29 03:25:17 +00:00
|
|
|
|
},
|
2017-03-29 05:29:34 +00:00
|
|
|
|
}
|
2015-04-29 03:25:17 +00:00
|
|
|
|
},
|
|
|
|
|
reqianxun2:{
|
|
|
|
|
trigger:{global:'phaseAfter'},
|
|
|
|
|
forced:true,
|
2015-11-25 12:34:54 +00:00
|
|
|
|
audio:false,
|
2015-04-29 03:25:17 +00:00
|
|
|
|
content:function(){
|
|
|
|
|
player.gain(player.storage.reqianxun2);
|
|
|
|
|
player.removeSkill('reqianxun2');
|
|
|
|
|
player.storage.reqianxun2=[];
|
2015-11-04 01:59:00 +00:00
|
|
|
|
game.addVideo('storage',player,['reqianxun2',get.cardsInfo(player.storage.reqianxun2),'cards']);
|
2015-04-29 03:25:17 +00:00
|
|
|
|
},
|
|
|
|
|
mark:true,
|
|
|
|
|
intro:{
|
|
|
|
|
content:'cardCount'
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
relianying:{
|
2015-06-13 07:57:52 +00:00
|
|
|
|
audio:2,
|
2015-04-29 03:25:17 +00:00
|
|
|
|
trigger:{player:'loseEnd'},
|
|
|
|
|
direct:true,
|
|
|
|
|
filter:function(event,player){
|
2017-03-27 08:48:22 +00:00
|
|
|
|
if(player.countCards('h')) return false;
|
2015-04-29 03:25:17 +00:00
|
|
|
|
for(var i=0;i<event.cards.length;i++){
|
|
|
|
|
if(event.cards[i].original=='h') return true;
|
|
|
|
|
}
|
|
|
|
|
return false;
|
|
|
|
|
},
|
|
|
|
|
content:function(){
|
|
|
|
|
"step 0"
|
|
|
|
|
var num=0;
|
|
|
|
|
for(var i=0;i<trigger.cards.length;i++){
|
|
|
|
|
if(trigger.cards[i].original=='h') num++;
|
|
|
|
|
}
|
|
|
|
|
player.chooseTarget('选择发动连营的目标',[1,num]).ai=function(target){
|
2016-04-15 16:20:05 +00:00
|
|
|
|
var player=_status.event.player;
|
2015-04-29 03:25:17 +00:00
|
|
|
|
if(player==target) return ai.get.attitude(player,target)+10;
|
|
|
|
|
return ai.get.attitude(player,target);
|
|
|
|
|
}
|
|
|
|
|
"step 1"
|
|
|
|
|
if(result.bool){
|
|
|
|
|
player.logSkill('relianying',result.targets);
|
2015-04-30 16:30:29 +00:00
|
|
|
|
game.asyncDraw(result.targets);
|
2015-04-29 03:25:17 +00:00
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
ai:{
|
|
|
|
|
threaten:0.8,
|
|
|
|
|
effect:{
|
|
|
|
|
target:function(card){
|
|
|
|
|
if(card.name=='guohe'||card.name=='liuxinghuoyu') return 0.5;
|
|
|
|
|
}
|
2015-12-06 15:23:47 +00:00
|
|
|
|
},
|
|
|
|
|
noh:true,
|
2015-04-29 03:25:17 +00:00
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
retishen:{
|
2015-06-18 14:42:44 +00:00
|
|
|
|
audio:2,
|
2015-04-29 03:25:17 +00:00
|
|
|
|
unique:true,
|
|
|
|
|
mark:true,
|
2015-12-30 04:00:49 +00:00
|
|
|
|
skillAnimation:true,
|
2015-04-29 03:25:17 +00:00
|
|
|
|
trigger:{player:'phaseBegin'},
|
|
|
|
|
init:function(player){
|
|
|
|
|
player.storage.retishen=false;
|
|
|
|
|
},
|
|
|
|
|
filter:function(event,player){
|
|
|
|
|
if(player.storage.retishen) return false;
|
|
|
|
|
if(typeof player.storage.retishen2=='number'){
|
|
|
|
|
return player.hp<player.storage.retishen2;
|
|
|
|
|
}
|
|
|
|
|
return false;
|
|
|
|
|
},
|
|
|
|
|
check:function(event,player){
|
|
|
|
|
if(player.hp<=1) return true;
|
|
|
|
|
return player.hp<player.storage.retishen2-1;
|
|
|
|
|
},
|
|
|
|
|
content:function(){
|
2017-01-23 09:28:05 +00:00
|
|
|
|
player.awakenSkill('retishen');
|
2015-04-29 03:25:17 +00:00
|
|
|
|
player.recover(player.storage.retishen2-player.hp);
|
|
|
|
|
player.draw(player.storage.retishen2-player.hp);
|
|
|
|
|
player.storage.retishen=true;
|
|
|
|
|
},
|
|
|
|
|
intro:{
|
|
|
|
|
mark:function(dialog,content,player){
|
|
|
|
|
if(player.storage.retishen) return;
|
|
|
|
|
if(typeof player.storage.retishen2!='number'){
|
|
|
|
|
return '上回合体力:无';
|
|
|
|
|
}
|
|
|
|
|
return '上回合体力:'+player.storage.retishen2;
|
|
|
|
|
},
|
|
|
|
|
content:'limited'
|
|
|
|
|
},
|
|
|
|
|
group:['retishen2']
|
|
|
|
|
},
|
|
|
|
|
retishen2:{
|
|
|
|
|
trigger:{player:'phaseEnd'},
|
|
|
|
|
priority:-10,
|
|
|
|
|
forced:true,
|
|
|
|
|
popup:false,
|
|
|
|
|
silent:true,
|
|
|
|
|
content:function(){
|
|
|
|
|
player.storage.retishen2=player.hp;
|
2016-04-15 16:20:05 +00:00
|
|
|
|
game.broadcast(function(player){
|
|
|
|
|
player.storage.retishen2=player.hp;
|
|
|
|
|
},player);
|
2015-11-04 01:59:00 +00:00
|
|
|
|
game.addVideo('storage',player,['retishen2',player.storage.retishen2]);
|
2015-04-29 03:25:17 +00:00
|
|
|
|
},
|
|
|
|
|
intro:{
|
|
|
|
|
content:function(storage,player){
|
|
|
|
|
if(player.storage.retishen) return;
|
|
|
|
|
return '上回合体力:'+storage;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
reyajiao:{
|
2015-06-18 14:42:44 +00:00
|
|
|
|
audio:2,
|
2015-04-29 03:25:17 +00:00
|
|
|
|
trigger:{player:['respond','useCard']},
|
|
|
|
|
frequent:true,
|
|
|
|
|
filter:function(event,player){
|
|
|
|
|
return player!=_status.currentPhase&&get.itemtype(event.cards)=='cards';
|
|
|
|
|
},
|
|
|
|
|
content:function(){
|
|
|
|
|
"step 0"
|
|
|
|
|
event.card=get.cards()[0];
|
2016-04-15 16:20:05 +00:00
|
|
|
|
game.broadcast(function(card){
|
|
|
|
|
ui.arena.classList.add('thrownhighlight');
|
|
|
|
|
card.copy('thrown','center','thrownhighlight',ui.arena).animate('start');
|
|
|
|
|
},event.card);
|
2015-11-06 10:05:08 +00:00
|
|
|
|
event.node=event.card.copy('thrown','center','thrownhighlight',ui.arena).animate('start');
|
|
|
|
|
ui.arena.classList.add('thrownhighlight');
|
|
|
|
|
game.addVideo('thrownhighlight1');
|
2015-11-04 01:59:00 +00:00
|
|
|
|
game.addVideo('centernode',null,get.cardInfo(event.card));
|
2015-04-29 03:25:17 +00:00
|
|
|
|
if(get.type(event.card,'trick')==get.type(trigger.card,'trick')){
|
2016-07-09 15:23:11 +00:00
|
|
|
|
player.chooseTarget('选择获得此牌的角色').set('ai',function(target){
|
2016-04-15 16:20:05 +00:00
|
|
|
|
var att=ai.get.attitude(_status.event.player,target);
|
2016-07-09 15:23:11 +00:00
|
|
|
|
if(_status.event.du){
|
2017-03-17 09:28:56 +00:00
|
|
|
|
if(target.hasSkillTag('nodu')) return 0;
|
2016-07-09 15:23:11 +00:00
|
|
|
|
return -att;
|
|
|
|
|
}
|
2015-04-29 03:25:17 +00:00
|
|
|
|
if(att>0){
|
2017-03-27 08:48:22 +00:00
|
|
|
|
return att+Math.max(0,5-target.countCards('h'));
|
2015-04-29 03:25:17 +00:00
|
|
|
|
}
|
|
|
|
|
return att;
|
2016-07-09 15:23:11 +00:00
|
|
|
|
}).set('du',event.card.name=='du');
|
2015-04-29 03:25:17 +00:00
|
|
|
|
}
|
|
|
|
|
else{
|
|
|
|
|
player.chooseBool('是否弃置'+get.translation(event.card)+'?');
|
|
|
|
|
event.disbool=true;
|
|
|
|
|
}
|
|
|
|
|
game.delay(2);
|
|
|
|
|
"step 1"
|
|
|
|
|
if(event.disbool){
|
|
|
|
|
if(!result.bool){
|
2015-12-08 13:54:44 +00:00
|
|
|
|
game.log(player,'展示了',event.card);
|
2015-04-29 03:25:17 +00:00
|
|
|
|
ui.cardPile.insertBefore(event.card,ui.cardPile.firstChild);
|
|
|
|
|
}
|
|
|
|
|
else{
|
2015-12-08 13:54:44 +00:00
|
|
|
|
game.log(player,'展示并弃掉了',event.card);
|
2015-04-29 03:25:17 +00:00
|
|
|
|
ui.discardPile.appendChild(event.card);
|
|
|
|
|
}
|
2015-11-04 01:59:00 +00:00
|
|
|
|
game.addVideo('deletenode',player,[get.cardInfo(event.node)]);
|
2016-04-15 16:20:05 +00:00
|
|
|
|
event.node.delete();
|
|
|
|
|
game.broadcast(function(card){
|
|
|
|
|
ui.arena.classList.remove('thrownhighlight');
|
|
|
|
|
if(card.clone){
|
|
|
|
|
card.clone.delete();
|
|
|
|
|
}
|
|
|
|
|
},event.card);
|
2015-04-29 03:25:17 +00:00
|
|
|
|
}
|
|
|
|
|
else if(result.targets){
|
2016-04-15 16:20:05 +00:00
|
|
|
|
player.line(result.targets,'green');
|
2017-02-05 11:55:50 +00:00
|
|
|
|
result.targets[0].gain(event.card,'log');
|
2015-11-23 10:59:44 +00:00
|
|
|
|
event.node.moveDelete(result.targets[0]);
|
2015-11-04 01:59:00 +00:00
|
|
|
|
game.addVideo('gain2',result.targets[0],[get.cardInfo(event.node)]);
|
2016-04-15 16:20:05 +00:00
|
|
|
|
game.broadcast(function(card,target){
|
|
|
|
|
ui.arena.classList.remove('thrownhighlight');
|
|
|
|
|
if(card.clone){
|
|
|
|
|
card.clone.moveDelete(target);
|
|
|
|
|
}
|
|
|
|
|
},event.card,result.targets[0]);
|
2015-04-29 03:25:17 +00:00
|
|
|
|
}
|
|
|
|
|
else{
|
2015-12-08 13:54:44 +00:00
|
|
|
|
game.log(player,'展示并弃掉了',event.card);
|
2015-04-29 03:25:17 +00:00
|
|
|
|
ui.discardPile.appendChild(event.card);
|
2015-11-04 01:59:00 +00:00
|
|
|
|
game.addVideo('deletenode',player,[get.cardInfo(event.node)]);
|
2015-11-23 10:59:44 +00:00
|
|
|
|
event.node.delete();
|
2016-04-15 16:20:05 +00:00
|
|
|
|
game.broadcast(function(card){
|
|
|
|
|
ui.arena.classList.remove('thrownhighlight');
|
|
|
|
|
if(card.clone){
|
|
|
|
|
card.clone.delete();
|
|
|
|
|
}
|
|
|
|
|
},event.card);
|
2015-04-29 03:25:17 +00:00
|
|
|
|
}
|
2015-11-06 10:05:08 +00:00
|
|
|
|
game.addVideo('thrownhighlight2');
|
|
|
|
|
ui.arena.classList.remove('thrownhighlight');
|
2015-04-29 03:25:17 +00:00
|
|
|
|
},
|
|
|
|
|
ai:{
|
|
|
|
|
effect:{
|
|
|
|
|
target:function(card,player){
|
2017-03-27 08:48:22 +00:00
|
|
|
|
if(get.tag(card,'respond')&&player.countCards('h')>1) return [1,0.2];
|
2015-04-29 03:25:17 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
rejianxiong:{
|
2015-06-13 07:57:52 +00:00
|
|
|
|
audio:2,
|
2015-04-29 03:25:17 +00:00
|
|
|
|
trigger:{player:'damageEnd'},
|
|
|
|
|
direct:true,
|
|
|
|
|
content:function(){
|
|
|
|
|
"step 0"
|
|
|
|
|
if(get.itemtype(trigger.cards)=='cards'&&get.position(trigger.cards[0])=='d'){
|
2017-03-29 04:07:01 +00:00
|
|
|
|
player.chooseControl('rejianxiong_mopai','rejianxiong_napai','cancel2').set('prompt',get.prompt('rejianxiong')).ai=function(){
|
2016-05-07 03:12:04 +00:00
|
|
|
|
var trigger=_status.event.getTrigger();
|
2015-04-29 03:25:17 +00:00
|
|
|
|
if(trigger.cards.length==1&&trigger.cards[0].name=='sha') return 0;
|
|
|
|
|
return 1;
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
else{
|
2017-03-29 04:07:01 +00:00
|
|
|
|
player.chooseControl('rejianxiong_mopai','cancel2').set('prompt',get.prompt('rejianxiong'));
|
2015-04-29 03:25:17 +00:00
|
|
|
|
}
|
|
|
|
|
"step 1"
|
|
|
|
|
if(result.control=='rejianxiong_napai'){
|
|
|
|
|
player.logSkill('rejianxiong');
|
|
|
|
|
player.gain(trigger.cards);
|
|
|
|
|
player.$gain2(trigger.cards);
|
|
|
|
|
}
|
|
|
|
|
else if(result.control=='rejianxiong_mopai'){
|
|
|
|
|
player.logSkill('rejianxiong');
|
|
|
|
|
player.draw();
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
ai:{
|
|
|
|
|
maixie:true,
|
2017-03-21 11:16:35 +00:00
|
|
|
|
maixie_hp:true,
|
2015-04-29 03:25:17 +00:00
|
|
|
|
effect:{
|
|
|
|
|
target:function(card,player,target){
|
2017-03-25 15:36:28 +00:00
|
|
|
|
if(player.hasSkillTag('jueqing')) return [1,-1];
|
2017-02-01 06:25:39 +00:00
|
|
|
|
if(get.tag(card,'damage')&&player!=target) return [1,0.6];
|
2015-04-29 03:25:17 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
reyiji:{
|
2015-06-13 07:57:52 +00:00
|
|
|
|
audio:2,
|
2015-04-29 03:25:17 +00:00
|
|
|
|
trigger:{player:'damageEnd'},
|
|
|
|
|
frequent:true,
|
|
|
|
|
filter:function(event){
|
|
|
|
|
return (event.num>0)
|
|
|
|
|
},
|
|
|
|
|
content:function(){
|
|
|
|
|
"step 0"
|
|
|
|
|
event.num=1;
|
|
|
|
|
event.count=1;
|
|
|
|
|
"step 1"
|
|
|
|
|
player.gain(get.cards(2));
|
|
|
|
|
player.$draw(2);
|
|
|
|
|
"step 2"
|
|
|
|
|
player.chooseCardTarget({
|
|
|
|
|
filterCard:true,
|
|
|
|
|
selectCard:[1,2],
|
|
|
|
|
filterTarget:function(card,player,target){
|
|
|
|
|
return player!=target&&target!=event.temp;
|
|
|
|
|
},
|
|
|
|
|
ai1:function(card){
|
|
|
|
|
if(ui.selected.cards.length>0) return -1;
|
2016-07-09 15:23:11 +00:00
|
|
|
|
if(card.name=='du') return 20;
|
2017-03-27 08:48:22 +00:00
|
|
|
|
return (_status.event.player.countCards('h')-_status.event.player.hp);
|
2015-04-29 03:25:17 +00:00
|
|
|
|
},
|
|
|
|
|
ai2:function(target){
|
2016-07-09 15:23:11 +00:00
|
|
|
|
var att=ai.get.attitude(_status.event.player,target);
|
|
|
|
|
if(ui.selected.cards.length&&ui.selected.cards[0].name=='du'){
|
2017-03-17 09:28:56 +00:00
|
|
|
|
if(target.hasSkillTag('nodu')) return 0;
|
2016-07-09 15:23:11 +00:00
|
|
|
|
return 1-att;
|
|
|
|
|
}
|
|
|
|
|
return att-4;
|
2015-04-29 03:25:17 +00:00
|
|
|
|
},
|
|
|
|
|
prompt:'请选择要送人的卡牌'
|
|
|
|
|
});
|
|
|
|
|
"step 3"
|
|
|
|
|
if(result.bool){
|
|
|
|
|
player.lose(result.cards,ui.special);
|
2016-08-12 08:26:31 +00:00
|
|
|
|
if(result.targets[0].hasSkill('reyiji2')){
|
2015-04-29 03:25:17 +00:00
|
|
|
|
result.targets[0].storage.reyiji2=result.targets[0].storage.reyiji2.concat(result.cards);
|
|
|
|
|
}
|
|
|
|
|
else{
|
|
|
|
|
result.targets[0].addSkill('reyiji2');
|
|
|
|
|
result.targets[0].storage.reyiji2=result.cards;
|
|
|
|
|
}
|
|
|
|
|
player.$give(result.cards.length,result.targets[0]);
|
2016-04-15 16:20:05 +00:00
|
|
|
|
player.line(result.targets,'green');
|
2015-11-04 01:59:00 +00:00
|
|
|
|
game.addVideo('storage',result.targets[0],['reyiji2',get.cardsInfo(result.targets[0].storage.reyiji2),'cards']);
|
2015-04-29 03:25:17 +00:00
|
|
|
|
if(num==1){
|
|
|
|
|
event.temp=result.targets[0];
|
|
|
|
|
event.num++;
|
|
|
|
|
event.goto(2);
|
|
|
|
|
}
|
|
|
|
|
else if(event.count<trigger.num){
|
|
|
|
|
delete event.temp;
|
|
|
|
|
event.num=1;
|
|
|
|
|
event.count++;
|
|
|
|
|
event.goto(1);
|
|
|
|
|
}
|
|
|
|
|
}
|
2016-03-29 05:25:16 +00:00
|
|
|
|
else if(event.count<trigger.num){
|
|
|
|
|
delete event.temp;
|
|
|
|
|
event.num=1;
|
|
|
|
|
event.count++;
|
|
|
|
|
event.goto(1);
|
|
|
|
|
}
|
2015-04-29 03:25:17 +00:00
|
|
|
|
},
|
|
|
|
|
ai:{
|
|
|
|
|
maixie:true,
|
2017-03-21 11:16:35 +00:00
|
|
|
|
maixie_hp:true,
|
2015-04-29 03:25:17 +00:00
|
|
|
|
result:{
|
|
|
|
|
effect:function(card,player,target){
|
|
|
|
|
if(get.tag(card,'damage')){
|
2017-03-25 15:36:28 +00:00
|
|
|
|
if(player.hasSkillTag('jueqing')) return [1,-2];
|
2015-07-08 04:14:53 +00:00
|
|
|
|
if(player.hp>=4) return [1,get.tag(card,'damage')*2];
|
|
|
|
|
if(target.hp==3) return [1,get.tag(card,'damage')*1.5];
|
|
|
|
|
if(target.hp==2) return [1,get.tag(card,'damage')*0.5];
|
2015-04-29 03:25:17 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
threaten:0.6
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
reyiji2:{
|
|
|
|
|
trigger:{player:'phaseDrawBegin'},
|
|
|
|
|
forced:true,
|
|
|
|
|
mark:true,
|
|
|
|
|
popup:'遗计拿牌',
|
2015-11-25 12:34:54 +00:00
|
|
|
|
audio:false,
|
2015-04-29 03:25:17 +00:00
|
|
|
|
content:function(){
|
|
|
|
|
player.$draw(player.storage.reyiji2.length);
|
|
|
|
|
player.gain(player.storage.reyiji2);
|
|
|
|
|
delete player.storage.reyiji2;
|
|
|
|
|
player.removeSkill('reyiji2');
|
|
|
|
|
game.delay();
|
|
|
|
|
},
|
|
|
|
|
intro:{
|
|
|
|
|
content:'cardCount'
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
yijue:{
|
2015-06-18 14:42:44 +00:00
|
|
|
|
audio:2,
|
2015-04-29 03:25:17 +00:00
|
|
|
|
enable:'phaseUse',
|
|
|
|
|
usable:1,
|
|
|
|
|
filterTarget:function(card,player,target){
|
2017-03-27 08:48:22 +00:00
|
|
|
|
return player!=target&&target.countCards('h');
|
2015-04-29 03:25:17 +00:00
|
|
|
|
},
|
|
|
|
|
filter:function(event,player){
|
2017-03-27 08:48:22 +00:00
|
|
|
|
return player.countCards('h')>0;
|
2015-04-29 03:25:17 +00:00
|
|
|
|
},
|
|
|
|
|
content:function(){
|
|
|
|
|
"step 0"
|
2016-04-15 16:20:05 +00:00
|
|
|
|
player.chooseToCompare(target).set('small',true);
|
2015-04-29 03:25:17 +00:00
|
|
|
|
"step 1"
|
|
|
|
|
if(result.bool){
|
2017-01-28 03:10:59 +00:00
|
|
|
|
if(!target.hasSkill('fengyin')){
|
|
|
|
|
target.addTempSkill('fengyin','phaseAfter');
|
2015-04-29 03:25:17 +00:00
|
|
|
|
}
|
2017-01-28 03:10:59 +00:00
|
|
|
|
target.addTempSkill('yijue2','phaseAfter');
|
2015-04-29 03:25:17 +00:00
|
|
|
|
event.finish();
|
|
|
|
|
}
|
|
|
|
|
else if(target.hp<target.maxHp){
|
|
|
|
|
player.chooseBool('是否让目标回复一点体力?').ai=function(event,player){
|
|
|
|
|
return ai.get.recoverEffect(target,player,player)>0;
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
else{
|
|
|
|
|
event.finish();
|
|
|
|
|
}
|
|
|
|
|
"step 2"
|
|
|
|
|
if(result.bool){
|
|
|
|
|
target.recover();
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
ai:{
|
|
|
|
|
result:{
|
|
|
|
|
target:function(player,target){
|
2017-03-27 08:48:22 +00:00
|
|
|
|
var hs=player.getCards('h');
|
2015-12-27 08:09:12 +00:00
|
|
|
|
if(hs.length<3) return 0;
|
|
|
|
|
var bool=false;
|
|
|
|
|
for(var i=0;i<hs.length;i++){
|
|
|
|
|
if(hs[i].number>=9&&ai.get.value(hs[i])<7){
|
|
|
|
|
bool=true;
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
if(!bool) return 0;
|
2017-03-27 08:48:22 +00:00
|
|
|
|
if(target.countCards('h')>target.hp+1&&ai.get.recoverEffect(target)>0){
|
2015-04-29 03:25:17 +00:00
|
|
|
|
return 1;
|
|
|
|
|
}
|
2017-03-27 09:37:24 +00:00
|
|
|
|
if(player.canUse('sha',target)&&(player.countCards('h','sha')||player.countCards('he',{color:'red'}))){
|
2015-04-29 03:25:17 +00:00
|
|
|
|
return -2;
|
|
|
|
|
}
|
|
|
|
|
return -0.5;
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
order:9,
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
yijue2:{
|
|
|
|
|
mark:true,
|
|
|
|
|
mod:{
|
|
|
|
|
cardEnabled:function(){
|
|
|
|
|
return false;
|
|
|
|
|
},
|
|
|
|
|
cardUsable:function(){
|
|
|
|
|
return false;
|
|
|
|
|
},
|
|
|
|
|
cardRespondable:function(){
|
|
|
|
|
return false;
|
|
|
|
|
},
|
|
|
|
|
cardSavable:function(){
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
intro:{
|
2017-01-28 03:10:59 +00:00
|
|
|
|
content:'不能使用或打出卡牌'
|
2015-04-29 03:25:17 +00:00
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
retieji:{
|
2015-06-13 07:57:52 +00:00
|
|
|
|
audio:2,
|
2015-04-29 03:25:17 +00:00
|
|
|
|
trigger:{player:'shaBegin'},
|
|
|
|
|
check:function(event,player){
|
|
|
|
|
return ai.get.attitude(player,event.target)<0;
|
|
|
|
|
},
|
2017-02-27 05:30:32 +00:00
|
|
|
|
logTarget:'target',
|
2015-04-29 03:25:17 +00:00
|
|
|
|
content:function(){
|
|
|
|
|
"step 0"
|
|
|
|
|
player.judge(function(){return 0});
|
2017-01-28 03:10:59 +00:00
|
|
|
|
if(!trigger.target.hasSkill('fengyin')){
|
|
|
|
|
trigger.target.addTempSkill('fengyin','phaseAfter');
|
2015-04-29 03:25:17 +00:00
|
|
|
|
}
|
|
|
|
|
"step 1"
|
|
|
|
|
var suit=get.suit(result.card);
|
|
|
|
|
var target=trigger.target;
|
2017-03-27 09:30:25 +00:00
|
|
|
|
var num=target.countCards('h','shan');
|
2015-04-29 03:25:17 +00:00
|
|
|
|
target.chooseToDiscard('请弃置一张'+get.translation(suit)+'牌,否则不能使用闪抵消此杀','he',function(card){
|
2016-04-15 16:20:05 +00:00
|
|
|
|
return get.suit(card)==_status.event.suit;
|
|
|
|
|
}).set('ai',function(card){
|
|
|
|
|
var num=_status.event.num;
|
2015-04-29 03:25:17 +00:00
|
|
|
|
if(num==0) return 0;
|
2017-02-06 06:56:22 +00:00
|
|
|
|
if(card.name=='shan') return num>1?2:0;
|
2015-04-29 03:25:17 +00:00
|
|
|
|
return 8-ai.get.value(card);
|
2016-04-15 16:20:05 +00:00
|
|
|
|
}).set('num',num).set('suit',suit);
|
2015-04-29 03:25:17 +00:00
|
|
|
|
"step 2"
|
|
|
|
|
if(!result.bool){
|
|
|
|
|
trigger.directHit=true;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
reyicong:{
|
|
|
|
|
mod:{
|
|
|
|
|
globalFrom:function(from,to,current){
|
|
|
|
|
if(from.hp>2) return current-1;
|
|
|
|
|
},
|
|
|
|
|
globalTo:function(from,to,current){
|
|
|
|
|
if(to.hp<=2) return current+1;
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
ai:{
|
|
|
|
|
threaten:0.8
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
qiaomeng:{
|
2015-06-18 14:42:44 +00:00
|
|
|
|
audio:2,
|
2015-04-29 03:25:17 +00:00
|
|
|
|
trigger:{source:'damageEnd'},
|
|
|
|
|
direct:true,
|
|
|
|
|
filter:function(event){
|
|
|
|
|
return event.card&&event.card.name=='sha'&&event.cards&&
|
2017-03-27 08:48:22 +00:00
|
|
|
|
get.color(event.cards)=='black'&&event.player.countCards('e');
|
2015-04-29 03:25:17 +00:00
|
|
|
|
},
|
|
|
|
|
content:function(){
|
|
|
|
|
"step 0"
|
|
|
|
|
player.choosePlayerCard('e',trigger.player);
|
|
|
|
|
"step 1"
|
|
|
|
|
if(result.bool){
|
|
|
|
|
player.logSkill('qiaomeng');
|
|
|
|
|
trigger.player.discard(result.links[0]);
|
|
|
|
|
event.card=result.links[0];
|
|
|
|
|
}
|
|
|
|
|
else{
|
|
|
|
|
event.finish();
|
|
|
|
|
}
|
|
|
|
|
"step 2"
|
|
|
|
|
if(get.position(card)=='d'){
|
|
|
|
|
if(get.subtype(card)=='equip3'||get.subtype(card)=='equip4'){
|
2017-01-13 18:51:13 +00:00
|
|
|
|
player.gain(card,trigger.player);
|
2015-04-29 03:25:17 +00:00
|
|
|
|
player.$gain2(card);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
rekurou:{
|
2015-06-13 07:57:52 +00:00
|
|
|
|
audio:2,
|
2015-04-29 03:25:17 +00:00
|
|
|
|
enable:'phaseUse',
|
|
|
|
|
usable:1,
|
|
|
|
|
filterCard:true,
|
|
|
|
|
check:function(card){
|
2015-06-10 09:10:24 +00:00
|
|
|
|
return 8-ai.get.value(card);
|
2015-04-29 03:25:17 +00:00
|
|
|
|
},
|
|
|
|
|
position:'he',
|
|
|
|
|
content:function(){
|
|
|
|
|
player.loseHp();
|
|
|
|
|
},
|
|
|
|
|
ai:{
|
2015-06-10 09:10:24 +00:00
|
|
|
|
order:8,
|
2015-04-29 03:25:17 +00:00
|
|
|
|
result:{
|
|
|
|
|
player:function(player){
|
2017-03-27 08:48:22 +00:00
|
|
|
|
if(player.hp<=2) return player.countCards('h')==0?1:0;
|
2017-03-27 09:35:18 +00:00
|
|
|
|
if(player.countCards('h',{name:'sha',color:'red'})) return 1;
|
2017-03-27 08:48:22 +00:00
|
|
|
|
return player.countCards('h')<=player.hp?1:0;
|
2015-04-29 03:25:17 +00:00
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
effect:function(card,player){
|
|
|
|
|
if(get.tag(card,'damage')){
|
2017-03-25 15:36:28 +00:00
|
|
|
|
if(player.hasSkillTag('jueqing')) return [1,1];
|
2015-04-29 03:25:17 +00:00
|
|
|
|
return 1.2;
|
|
|
|
|
}
|
2015-06-10 09:10:24 +00:00
|
|
|
|
if(get.tag(card,'loseHp')){
|
|
|
|
|
if(player.hp<=1) return;
|
|
|
|
|
return [0,0];
|
|
|
|
|
}
|
2015-04-29 03:25:17 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
zhaxiang:{
|
|
|
|
|
trigger:{player:'loseHpEnd'},
|
|
|
|
|
forced:true,
|
2016-04-15 16:20:05 +00:00
|
|
|
|
audio:2,
|
2015-04-29 03:25:17 +00:00
|
|
|
|
content:function(){
|
|
|
|
|
player.draw(3);
|
|
|
|
|
if(_status.currentPhase==player){
|
|
|
|
|
player.addTempSkill('zhaxiang2',{player:'phaseAfter'});
|
|
|
|
|
}
|
2015-06-18 14:42:44 +00:00
|
|
|
|
else{
|
2016-04-15 16:20:05 +00:00
|
|
|
|
game.trySkillAudio('zhaxiang',player);
|
2015-06-18 14:42:44 +00:00
|
|
|
|
}
|
2015-04-29 03:25:17 +00:00
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
zhaxiang2:{
|
|
|
|
|
mod:{
|
|
|
|
|
targetInRange:function(card,player,target,now){
|
|
|
|
|
if(card.name=='sha'&&get.color(card)=='red') return true;
|
|
|
|
|
},
|
|
|
|
|
cardUsable:function(card,player,num){
|
|
|
|
|
if(card.name=='sha') return num+1;
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
trigger:{player:'shaBegin'},
|
|
|
|
|
forced:true,
|
|
|
|
|
filter:function(event,player){
|
|
|
|
|
return event.card&&get.color(event.card)=='red';
|
|
|
|
|
},
|
|
|
|
|
content:function(){
|
|
|
|
|
trigger.directHit=true;
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
zhuhai:{
|
|
|
|
|
trigger:{global:'phaseEnd'},
|
|
|
|
|
direct:true,
|
|
|
|
|
filter:function(event,player){
|
2015-10-20 17:44:00 +00:00
|
|
|
|
return event.player.isAlive()&&event.player.getStat('damage')&&
|
2017-01-15 06:58:39 +00:00
|
|
|
|
lib.filter.targetEnabled({name:'sha'},player,event.player)&&player.hasSha();
|
2015-04-29 03:25:17 +00:00
|
|
|
|
},
|
|
|
|
|
content:function(){
|
2016-09-20 05:06:35 +00:00
|
|
|
|
player.chooseToUse({name:'sha'},'诛害:是否对'+get.translation(trigger.player)+'使用一张杀?',
|
2017-01-26 11:13:30 +00:00
|
|
|
|
trigger.player,-1).set('logSkill','zhuhai');
|
2015-04-29 03:25:17 +00:00
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
qianxin:{
|
2016-01-04 08:59:37 +00:00
|
|
|
|
skillAnimation:true,
|
2015-06-18 14:42:44 +00:00
|
|
|
|
audio:2,
|
2015-04-29 03:25:17 +00:00
|
|
|
|
unique:true,
|
|
|
|
|
trigger:{source:'damageAfter'},
|
|
|
|
|
forced:true,
|
2017-02-19 05:54:28 +00:00
|
|
|
|
derivation:'jianyan',
|
2015-04-29 03:25:17 +00:00
|
|
|
|
filter:function(event,player){
|
|
|
|
|
return player.hp<player.maxHp;
|
|
|
|
|
},
|
|
|
|
|
content:function(){
|
2017-01-23 09:28:05 +00:00
|
|
|
|
player.awakenSkill('qianxin');
|
2015-04-29 03:25:17 +00:00
|
|
|
|
player.addSkill('jianyan');
|
2015-04-29 10:02:31 +00:00
|
|
|
|
player.loseMaxHp();
|
2015-04-29 03:25:17 +00:00
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
jianyan:{
|
2015-06-18 14:42:44 +00:00
|
|
|
|
audio:2,
|
2015-04-29 03:25:17 +00:00
|
|
|
|
enable:'phaseUse',
|
|
|
|
|
usable:1,
|
2015-12-27 09:27:25 +00:00
|
|
|
|
filter:function(event,player){
|
2017-02-12 02:25:24 +00:00
|
|
|
|
return game.hasPlayer(function(current){
|
|
|
|
|
return current.sex=='male';
|
|
|
|
|
});
|
2015-12-27 09:27:25 +00:00
|
|
|
|
},
|
2015-04-29 03:25:17 +00:00
|
|
|
|
content:function(){
|
|
|
|
|
"step 0"
|
2016-04-15 16:20:05 +00:00
|
|
|
|
player.chooseControl(['red','black','basic','trick','equip']).set('ai',function(){
|
|
|
|
|
var player=_status.event.player;
|
2017-03-28 04:05:02 +00:00
|
|
|
|
if(!player.hasShan()) return 'basic';
|
2017-03-27 08:48:22 +00:00
|
|
|
|
if(player.countCards('e')<=1) return 'equip';
|
|
|
|
|
if(player.countCards('h')>2) return 'trick';
|
2015-04-29 03:25:17 +00:00
|
|
|
|
return 'red';
|
2016-04-15 16:20:05 +00:00
|
|
|
|
});
|
2015-04-29 03:25:17 +00:00
|
|
|
|
"step 1"
|
|
|
|
|
var num=20;
|
|
|
|
|
var card;
|
|
|
|
|
event.cards=[];
|
|
|
|
|
while(num--){
|
|
|
|
|
card=get.cards(0);
|
|
|
|
|
event.cards.push(card);
|
|
|
|
|
if(get.color(card)==result.control) break;
|
|
|
|
|
else if(get.type(card,'trick')==result.control) break;
|
|
|
|
|
}
|
|
|
|
|
event.card=card;
|
|
|
|
|
player.showCards(event.cards);
|
|
|
|
|
player.chooseTarget(true,'选择一名男性角色送出'+get.translation(event.card),function(card,player,target){
|
|
|
|
|
return target.sex=='male';
|
|
|
|
|
});
|
|
|
|
|
"step 2"
|
2017-02-05 08:48:28 +00:00
|
|
|
|
player.line(result.targets,'green');
|
2017-02-05 11:59:13 +00:00
|
|
|
|
result.targets[0].$gain2(event.card);
|
2015-04-29 03:25:17 +00:00
|
|
|
|
for(var i=0;i<cards.length-1;i++){
|
|
|
|
|
ui.discardPile.appendChild(cards[i]);
|
|
|
|
|
}
|
|
|
|
|
game.delay(0,1000);
|
|
|
|
|
"step 3"
|
2017-02-05 11:59:13 +00:00
|
|
|
|
result.targets[0].gain(event.card,'log');
|
2015-04-29 03:25:17 +00:00
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
ai:{
|
|
|
|
|
order:9,
|
|
|
|
|
result:{
|
|
|
|
|
player:2
|
|
|
|
|
},
|
|
|
|
|
threaten:1.2
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
reguose:{
|
2015-06-13 07:57:52 +00:00
|
|
|
|
audio:1,
|
2015-04-29 03:25:17 +00:00
|
|
|
|
enable:'phaseUse',
|
|
|
|
|
usable:1,
|
|
|
|
|
discard:false,
|
|
|
|
|
filter:function(event,player){
|
2017-03-27 09:37:24 +00:00
|
|
|
|
return player.countCards('he',{suit:'diamond'})>0;
|
2015-04-29 03:25:17 +00:00
|
|
|
|
},
|
2017-01-14 04:56:52 +00:00
|
|
|
|
prepare:'throw',
|
2015-04-29 03:25:17 +00:00
|
|
|
|
position:'he',
|
|
|
|
|
filterCard:{suit:'diamond'},
|
|
|
|
|
filterTarget:function(card,player,target){
|
2015-05-02 06:59:31 +00:00
|
|
|
|
if(player==target) return false;
|
|
|
|
|
if(target.hasJudge('lebu')) return true;
|
|
|
|
|
return lib.filter.targetEnabled({name:'lebu'},player,target);
|
2015-04-29 03:25:17 +00:00
|
|
|
|
},
|
|
|
|
|
check:function(card){
|
|
|
|
|
return 7-ai.get.value(card);
|
|
|
|
|
},
|
|
|
|
|
content:function(){
|
2015-05-02 06:59:31 +00:00
|
|
|
|
if(target.hasJudge('lebu')){
|
|
|
|
|
target.discard(target.getJudge('lebu'));
|
2015-04-29 03:25:17 +00:00
|
|
|
|
}
|
|
|
|
|
else{
|
2016-08-08 10:57:37 +00:00
|
|
|
|
var next=player.useCard({name:'lebu'},target,cards);
|
|
|
|
|
next.animate=false;
|
|
|
|
|
next.audio=false;
|
2015-04-29 03:25:17 +00:00
|
|
|
|
}
|
|
|
|
|
player.draw();
|
|
|
|
|
},
|
|
|
|
|
ai:{
|
|
|
|
|
result:{
|
|
|
|
|
target:function(player,target){
|
2015-05-02 06:59:31 +00:00
|
|
|
|
if(target.hasJudge('lebu')) return -ai.get.effect(target,{name:'lebu'},player,target);
|
2015-04-29 03:25:17 +00:00
|
|
|
|
return ai.get.effect(target,{name:'lebu'},player,target);
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
order:9,
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
fenwei:{
|
2015-12-30 04:00:49 +00:00
|
|
|
|
skillAnimation:true,
|
2015-06-18 14:42:44 +00:00
|
|
|
|
audio:2,
|
2015-04-29 03:25:17 +00:00
|
|
|
|
unique:true,
|
|
|
|
|
mark:true,
|
|
|
|
|
trigger:{global:'useCard'},
|
|
|
|
|
priority:5,
|
|
|
|
|
filter:function(event,player){
|
2015-11-30 13:08:29 +00:00
|
|
|
|
if(get.type(event.card)!='trick') return false;
|
2015-04-29 03:25:17 +00:00
|
|
|
|
if(get.info(event.card).multitarget) return false;
|
|
|
|
|
if(event.targets.length<2) return false;
|
|
|
|
|
if(player.storage.fenwei) return false;
|
|
|
|
|
return true;
|
|
|
|
|
},
|
|
|
|
|
init:function(player){
|
|
|
|
|
player.storage.fenwei=false;
|
|
|
|
|
},
|
|
|
|
|
direct:true,
|
|
|
|
|
content:function(){
|
|
|
|
|
"step 0"
|
2017-02-05 10:40:30 +00:00
|
|
|
|
player.chooseTarget(get.prompt('fenwei'),
|
2015-04-29 03:25:17 +00:00
|
|
|
|
[1,trigger.targets.length],function(card,player,target){
|
2016-05-07 03:12:04 +00:00
|
|
|
|
return _status.event.getTrigger().targets.contains(target);
|
2016-04-15 16:20:05 +00:00
|
|
|
|
}).set('ai',function(target){
|
2016-05-07 03:12:04 +00:00
|
|
|
|
var trigger=_status.event.getTrigger();
|
2015-04-29 03:25:17 +00:00
|
|
|
|
if(game.phaseNumber>game.players.length*2&&trigger.targets.length>=game.players.length-1){
|
2016-04-15 16:20:05 +00:00
|
|
|
|
return -ai.get.effect(target,trigger.card,trigger.player,_status.event.player);
|
2015-04-29 03:25:17 +00:00
|
|
|
|
}
|
|
|
|
|
return -1;
|
2016-04-15 16:20:05 +00:00
|
|
|
|
});
|
2015-04-29 03:25:17 +00:00
|
|
|
|
"step 1"
|
|
|
|
|
if(result.bool){
|
2017-01-23 09:28:05 +00:00
|
|
|
|
player.awakenSkill('fenwei');
|
2015-04-29 03:25:17 +00:00
|
|
|
|
player.logSkill('fenwei',result.targets);
|
|
|
|
|
player.storage.fenwei=true;
|
|
|
|
|
for(var i=0;i<result.targets.length;i++){
|
|
|
|
|
trigger.targets.remove(result.targets[i]);
|
|
|
|
|
}
|
|
|
|
|
game.delay();
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
intro:{
|
|
|
|
|
content:'limited'
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
chulao:{
|
2015-06-18 14:42:44 +00:00
|
|
|
|
audio:2,
|
2015-04-29 03:25:17 +00:00
|
|
|
|
enable:'phaseUse',
|
|
|
|
|
usable:1,
|
|
|
|
|
filterTarget:function(card,player,target){
|
|
|
|
|
if(player==target) return false;
|
|
|
|
|
if(target.group=='unknown') return false;
|
|
|
|
|
for(var i=0;i<ui.selected.targets.length;i++){
|
|
|
|
|
if(ui.selected.targets[i].group==target.group) return false;
|
|
|
|
|
}
|
2017-03-27 08:48:22 +00:00
|
|
|
|
return target.countCards('he')>0;
|
2015-04-29 03:25:17 +00:00
|
|
|
|
},
|
2015-10-08 06:16:37 +00:00
|
|
|
|
filter:function(event,player){
|
2017-03-27 08:48:22 +00:00
|
|
|
|
return player.countCards('he')>0;
|
2015-10-08 06:16:37 +00:00
|
|
|
|
},
|
2015-04-29 03:25:17 +00:00
|
|
|
|
filterCard:true,
|
|
|
|
|
position:'he',
|
|
|
|
|
selectTarget:[1,Infinity],
|
|
|
|
|
check:function(card){
|
|
|
|
|
if(get.suit(card)=='spade') return 8-ai.get.value(card);
|
|
|
|
|
return 5-ai.get.value(card);
|
|
|
|
|
},
|
|
|
|
|
content:function(){
|
|
|
|
|
"step 0"
|
|
|
|
|
if(num==0&&get.suit(cards[0])=='spade') player.draw();
|
|
|
|
|
player.choosePlayerCard(targets[num],'he',true);
|
|
|
|
|
"step 1"
|
|
|
|
|
if(result.bool){
|
|
|
|
|
if(result.links.length) targets[num].discard(result.links[0]);
|
|
|
|
|
if(get.suit(result.links[0])=='spade') targets[num].draw();
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
ai:{
|
|
|
|
|
result:{
|
|
|
|
|
target:-1
|
|
|
|
|
},
|
|
|
|
|
threaten:1.2,
|
|
|
|
|
order:3
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
xunxun:{
|
2015-06-18 14:42:44 +00:00
|
|
|
|
audio:2,
|
2015-04-29 03:25:17 +00:00
|
|
|
|
trigger:{player:'phaseDrawBefore'},
|
2017-02-10 06:05:14 +00:00
|
|
|
|
check:function(event,player){
|
|
|
|
|
return !player.hasSkill('reyiji2');
|
|
|
|
|
},
|
2015-04-29 03:25:17 +00:00
|
|
|
|
content:function(){
|
|
|
|
|
"step 0"
|
2017-02-10 06:05:14 +00:00
|
|
|
|
trigger.untrigger();
|
|
|
|
|
trigger.finish();
|
2015-04-29 03:25:17 +00:00
|
|
|
|
event.cards=get.cards(4);
|
2016-04-15 16:20:05 +00:00
|
|
|
|
player.chooseCardButton(event.cards,2,'选择获得两张牌').set('ai',ai.get.buttonValue);
|
2015-04-29 03:25:17 +00:00
|
|
|
|
"step 1"
|
2016-04-15 16:20:05 +00:00
|
|
|
|
if(result.bool){
|
|
|
|
|
var choice=[];
|
|
|
|
|
for(var i=0;i<result.links.length;i++){
|
|
|
|
|
choice.push(result.links[i]);
|
|
|
|
|
cards.remove(result.links[i]);
|
|
|
|
|
}
|
|
|
|
|
for(var i=0;i<cards.length;i++){
|
|
|
|
|
ui.cardPile.appendChild(cards[i]);
|
|
|
|
|
}
|
|
|
|
|
player.gain(choice,'draw');
|
|
|
|
|
game.log(player,'获得了两张牌')
|
2015-04-29 03:25:17 +00:00
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
wangxi:{
|
2015-06-18 14:42:44 +00:00
|
|
|
|
audio:2,
|
2015-04-29 03:25:17 +00:00
|
|
|
|
trigger:{player:'damageEnd',source:'damageEnd'},
|
|
|
|
|
filter:function(event){
|
|
|
|
|
return event.num&&event.source&&event.player&&
|
|
|
|
|
event.player.isAlive()&&event.source.isAlive()&&event.source!=event.player;
|
|
|
|
|
},
|
|
|
|
|
check:function(event,player){
|
|
|
|
|
if(event.player==player) return ai.get.attitude(player,event.source)>-3;
|
|
|
|
|
return ai.get.attitude(player,event.player)>-3;
|
|
|
|
|
},
|
2017-02-09 12:12:24 +00:00
|
|
|
|
logTarget:function(event,player){
|
|
|
|
|
if(event.player==player) return event.source;
|
|
|
|
|
return event.player;
|
|
|
|
|
},
|
2015-04-29 03:25:17 +00:00
|
|
|
|
content:function(){
|
|
|
|
|
"step 0"
|
|
|
|
|
game.asyncDraw([trigger.player,trigger.source],trigger.num);
|
|
|
|
|
"step 1"
|
|
|
|
|
game.delay();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
translate:{
|
2015-12-06 15:23:47 +00:00
|
|
|
|
re_zhangliao:'界张辽',
|
|
|
|
|
re_huangyueying:'新黄月英',
|
|
|
|
|
re_simayi:'界司马懿',
|
|
|
|
|
re_xuzhu:'界许褚',
|
|
|
|
|
re_xiahoudun:'界夏侯惇',
|
|
|
|
|
re_lvmeng:'界吕蒙',
|
|
|
|
|
re_zhouyu:'界周瑜',
|
|
|
|
|
re_luxun:'界陆逊',
|
|
|
|
|
re_zhaoyun:'界赵云',
|
|
|
|
|
re_guanyu:'界关羽',
|
|
|
|
|
re_zhangfei:'界张飞',
|
|
|
|
|
re_machao:'界马超',
|
|
|
|
|
re_caocao:'界曹操',
|
|
|
|
|
re_guojia:'界郭嘉',
|
|
|
|
|
re_lvbu:'界吕布',
|
|
|
|
|
re_xushu:'界徐庶',
|
|
|
|
|
re_huanggai:'界黄盖',
|
|
|
|
|
re_gongsunzan:'界公孙瓒',
|
|
|
|
|
re_daqiao:'界大乔',
|
|
|
|
|
re_ganning:'界甘宁',
|
|
|
|
|
re_huatuo:'界华佗',
|
2015-12-08 13:54:44 +00:00
|
|
|
|
re_lidian:'李典',
|
2016-05-09 11:51:47 +00:00
|
|
|
|
re_liubei:'界刘备',
|
2015-04-29 03:25:17 +00:00
|
|
|
|
qinxue:'勤学',
|
2016-05-09 07:57:27 +00:00
|
|
|
|
retuxi:'突袭',
|
|
|
|
|
reluoyi:'裸衣',
|
|
|
|
|
reluoyi2:'裸衣',
|
|
|
|
|
reganglie:'刚烈',
|
2015-04-29 03:25:17 +00:00
|
|
|
|
qingjian:'清俭',
|
2016-05-09 07:57:27 +00:00
|
|
|
|
reyingzi:'英姿',
|
|
|
|
|
refanjian:'反间',
|
2015-04-29 03:25:17 +00:00
|
|
|
|
refanjian_card:'弃牌',
|
|
|
|
|
refanjian_hp:'流失体力',
|
2016-05-09 07:57:27 +00:00
|
|
|
|
reqianxun:'谦逊',
|
|
|
|
|
reqianxun2:'谦逊',
|
|
|
|
|
relianying:'连营',
|
2015-04-29 03:25:17 +00:00
|
|
|
|
retishen:'替身',
|
|
|
|
|
retishen2:'替身',
|
|
|
|
|
reyajiao:'涯角',
|
2016-05-09 07:57:27 +00:00
|
|
|
|
rejianxiong:'奸雄',
|
2015-04-29 03:25:17 +00:00
|
|
|
|
rejianxiong_mopai:'摸牌',
|
|
|
|
|
rejianxiong_napai:'拿牌',
|
2016-05-09 07:57:27 +00:00
|
|
|
|
reyiji:'遗计',
|
|
|
|
|
reyiji2:'遗计',
|
2015-04-29 03:25:17 +00:00
|
|
|
|
yijue:'义绝',
|
|
|
|
|
yijue2:'义绝',
|
2016-05-09 07:57:27 +00:00
|
|
|
|
retieji:'铁骑',
|
|
|
|
|
refankui:'反馈',
|
2015-04-29 03:25:17 +00:00
|
|
|
|
reyicong:'义从',
|
|
|
|
|
qiaomeng:'趫猛',
|
2016-05-09 07:57:27 +00:00
|
|
|
|
rekurou:'苦肉',
|
2015-04-29 03:25:17 +00:00
|
|
|
|
zhaxiang:'诈降',
|
|
|
|
|
zhaxiang2:'诈降',
|
|
|
|
|
zhuhai:'诛害',
|
|
|
|
|
qianxin:'潜心',
|
|
|
|
|
jianyan:'荐言',
|
2016-09-20 05:06:35 +00:00
|
|
|
|
reguicai:'鬼才',
|
2015-04-29 03:25:17 +00:00
|
|
|
|
xunxun:'恂恂',
|
|
|
|
|
wangxi:'忘隙',
|
2016-05-09 07:57:27 +00:00
|
|
|
|
reguose:'国色',
|
2015-04-29 03:25:17 +00:00
|
|
|
|
fenwei:'奋威',
|
2016-04-15 16:20:05 +00:00
|
|
|
|
chulao:'除疠',
|
2015-04-29 03:25:17 +00:00
|
|
|
|
rejizhi:'集智',
|
2015-12-09 12:17:15 +00:00
|
|
|
|
liyu:'利驭',
|
2016-05-09 11:51:47 +00:00
|
|
|
|
rerende:'仁德',
|
|
|
|
|
rerende_info:'出牌阶段,你可以将至少一张手牌交给其他角色,然后你于此阶段内不能再以此法交给该角色牌;若你于此阶段内给出的牌首次达到两张,你可以视为使用一张基本牌',
|
2015-12-09 12:17:15 +00:00
|
|
|
|
liyu_info:'当你使用【杀】对一名其他角色造成伤害后,该角色可令你获得其一张牌,若如此做,则视为你对其选择的另一名角色使用一张【决斗】',
|
2017-01-08 04:09:34 +00:00
|
|
|
|
rejizhi_info:'当你使用一张装备牌或锦囊牌时,你可以摸一张牌并展示之,若此牌是基本牌,你须弃置一张手牌,每回合限3次',
|
2017-02-06 03:27:52 +00:00
|
|
|
|
xunxun_info:'摸牌阶段,你可以改为观看牌堆顶的四张牌,然后获得其中的两张牌,将其余的牌以任意顺序置于牌堆底。',
|
2015-04-29 03:25:17 +00:00
|
|
|
|
wangxi_info:'每当你对其他角色造成1点伤害后,或受到其他角色造成的1点伤害后,你可与该角色各摸一张牌。',
|
|
|
|
|
reguose_info:'出牌阶段限一次,你可以选择一项:将一张方片花色牌当做【乐不思蜀】使用;或弃置一张方片花色牌并弃置场上的一张【乐不思蜀】。选择完成后,你摸一张牌。',
|
2015-12-30 04:00:49 +00:00
|
|
|
|
fenwei_info:'限定技,当一名角色使用的锦囊牌指定了至少两名角色为目标时,你可以令此牌对其中任意名角色无效。',
|
2015-04-29 03:25:17 +00:00
|
|
|
|
chulao_info:'出牌阶段限一次,若你有牌,你可以选择任意名势力各不相同的其他角色,你弃置你和这些角色的各一张牌。然后以此法弃置黑桃牌的角色各摸一张牌。',
|
|
|
|
|
reguicai_info:'在任意角色的判定牌生效前,你可以打出一张牌代替之',
|
|
|
|
|
zhuhai_info:'一名其他角色的结束阶段开始时,若该角色本回合造成过伤害,你可以对其使用一张【杀】。',
|
|
|
|
|
qianxin_info:'觉醒技,当你造成一次伤害后,若你已受伤,你须减1点体力上限,并获得技能“荐言”。',
|
2017-02-06 03:27:52 +00:00
|
|
|
|
jianyan_info:'出牌阶段限一次,你可以声明一种牌的类别或颜色,然后连续亮出牌堆顶的牌,直到亮出符合你声明的牌为止,选择一名男性角色,该角色获得此牌',
|
2015-04-29 03:25:17 +00:00
|
|
|
|
rekurou_info:'出牌阶段限一次,你可以弃置一张牌,然后失去1点体力。',
|
|
|
|
|
zhaxiang_info:'锁定技 每当你失去1点体力后,你摸三张牌。然后若此时是你的出牌阶段,则直到回合结束,你使用红色【杀】无距离限制且不能被【闪】响应,你可以额外使用一张【杀】。',
|
|
|
|
|
qiaomeng_info:'每当你使用黑色【杀】对一名角色造成伤害后,你可以弃置该角色装备区里的一张牌,若此牌是坐骑牌,你于此牌置入弃牌堆时获得之。',
|
2017-02-06 08:19:53 +00:00
|
|
|
|
reyicong_info:'锁定技,只要你的体力值大于2点,你的进攻距离+1;只要你的体力值为2点或更低,你的防御距离+1',
|
2015-04-29 03:25:17 +00:00
|
|
|
|
refankui_info:'每当你受到1点伤害后,你可以获得伤害来源的一张牌。',
|
|
|
|
|
retieji_info:'当你使用【杀】指定一名角色为目标后,你可以进行一次判定并令该角色的非锁定技失效直到回合结束,除非该角色弃置一张与判定结果花色相同的牌,否则不能使用【闪】抵消此【杀】。',
|
|
|
|
|
yijue_info:'出牌阶段限一次,你可以与一名其他角色拼点,若你赢,则直到回合结束,该角色不能使用或打出手牌且其非锁定技失效,若你没赢,你可令该角色回复一点体力。',
|
|
|
|
|
reyiji_info:'每当你受到1点伤害后,你可以摸两张牌。然后你可以在至多两名角色的武将牌旁边分别扣置至多两张手牌,这些角色的下个摸牌阶段开始时,该角色获得其武将牌旁的这些牌。',
|
|
|
|
|
rejianxiong_info:'每当你受到伤害后,你可以选择一项:摸一张牌,或获得对你造成伤害的牌。',
|
|
|
|
|
reyajiao_info:'每当你于回合外使用或打出一张手牌时,你可以亮出牌堆顶的一张牌,若此牌与你此次使用或打出的牌类别相同,你可以将之交给任意一名角色;若不同则你可以将之置入弃牌堆。',
|
|
|
|
|
retishen_info:'限定技,准备阶段开始时,你可以将体力回复至等同于你上回合结束时的体力值,然后你每以此法回复1点体力,便摸一张牌。',
|
2017-02-18 03:55:21 +00:00
|
|
|
|
reqianxun_info:'每当一张延时类锦囊牌或其他角色使用的普通锦囊牌生效时,若你是此牌的唯一目标,你可以将所有手牌置于你的武将牌上,若如此做,此回合结束时,你获得你武将牌上的所有牌。',
|
2015-04-29 03:25:17 +00:00
|
|
|
|
relianying_info:'当你失去最后的手牌时,你可以令至多X名角色各摸一张牌(X为你此次失去的手牌数)。',
|
|
|
|
|
reyingzi_info:'锁定技,摸牌阶段摸牌时,你额外摸一张牌;你的手牌上限不会因体力值的减少而减少。',
|
2016-03-30 07:31:51 +00:00
|
|
|
|
refanjian_info:'出牌阶段限一次,你可以展示一张手牌并将此牌交给一名其他角色。然后该角色选择一项:展示其手牌并弃置所有与此牌花色相同的牌,或失去一点体力。',
|
2016-01-24 16:07:47 +00:00
|
|
|
|
qingjian_info:'每当你于摸牌阶段外获得牌时,你可以将其中任意牌以任意顺序交给其他角色,每回合最多发动四次',
|
2015-04-29 03:25:17 +00:00
|
|
|
|
qinxue_info:'觉醒技,准备阶段开始时,若你的手牌数比体力值多3(人数不少于7时改为2)或更多,你须减一点体力上限并获得技能【攻心】',
|
|
|
|
|
retuxi_info:'摸牌阶段摸牌时,你可以少摸任意张牌,然后选择等量的手牌数大于或等于你的其他角色,获得这些角色的各一张手牌。',
|
|
|
|
|
reluoyi_info:'你可以跳过摸牌阶段,然后展示牌堆顶的三张牌,获得其中的基本牌、武器牌和【决斗】,若如此做,直到你的下回合开始,你为伤害来源的【杀】或【决斗】造成的伤害+1。',
|
|
|
|
|
reganglie_info:'每当你受到1点伤害后,可进行一次判定,若结果为红色,你对伤害来源造成1点伤害,若结果为黑色,你弃置其一张牌。'
|
|
|
|
|
},
|
|
|
|
|
}
|