2020-12-19 01:36:50 +00:00
|
|
|
|
'use strict';
|
|
|
|
|
game.import('card',function(lib,game,ui,get,ai,_status){
|
|
|
|
|
return {
|
|
|
|
|
name:'yingbian',
|
2020-12-22 13:57:12 +00:00
|
|
|
|
connect:true,
|
2020-12-19 01:36:50 +00:00
|
|
|
|
card:{
|
|
|
|
|
suijiyingbian:{
|
|
|
|
|
global:'suijiyingbian_skill',
|
|
|
|
|
fullskin:true,
|
|
|
|
|
type:'trick',
|
|
|
|
|
},
|
|
|
|
|
zhujinqiyuan:{
|
|
|
|
|
type:'trick',
|
|
|
|
|
enable:true,
|
|
|
|
|
audio:true,
|
|
|
|
|
filterTarget:function(card,player,target){
|
|
|
|
|
return target!=player&&target.countCards('hej')>0;
|
|
|
|
|
},
|
2021-10-20 14:12:24 +00:00
|
|
|
|
yingbian_tags:['all','hit','add'],
|
2021-07-28 08:46:10 +00:00
|
|
|
|
yingbian_prompt:function(card){
|
|
|
|
|
var str='';
|
|
|
|
|
if(get.cardtag(card,'yingbian_all')){
|
|
|
|
|
str+='此牌的效果改为依次执行所有选项';
|
|
|
|
|
}
|
|
|
|
|
if(get.cardtag(card,'yingbian_hit')){
|
|
|
|
|
if(str.length) str+=';';
|
|
|
|
|
str+='此牌不可被响应';
|
|
|
|
|
}
|
|
|
|
|
if(!str.length||get.cardtag(card,'yingbian_add')){
|
|
|
|
|
if(str.length) str+=';';
|
|
|
|
|
str+='当你使用此牌选择目标后,你可为此牌增加一个目标';
|
|
|
|
|
}
|
|
|
|
|
return str;
|
|
|
|
|
},
|
|
|
|
|
yingbian:function(event){
|
|
|
|
|
var card=event.card,bool=false;
|
|
|
|
|
if(get.cardtag(card,'yingbian_all')){
|
|
|
|
|
bool=true;
|
|
|
|
|
card.yingbian_all=true;
|
|
|
|
|
game.log(card,'执行所有选项');
|
|
|
|
|
}
|
|
|
|
|
if(get.cardtag(card,'yingbian_hit')){
|
|
|
|
|
bool=true;
|
|
|
|
|
event.directHit.addArray(game.players);
|
|
|
|
|
game.log(card,'不可被响应');
|
|
|
|
|
}
|
|
|
|
|
if(!bool||get.cardtag(card,'yingbian_add')){
|
|
|
|
|
event.yingbian_addTarget=true;
|
|
|
|
|
}
|
|
|
|
|
},
|
2020-12-19 01:36:50 +00:00
|
|
|
|
content:function(){
|
|
|
|
|
var dist=get.distance(player,target);
|
2021-07-28 08:46:10 +00:00
|
|
|
|
if(dist>1||card.yingbian_all) player.discardPlayerCard(target,'hej',true);
|
|
|
|
|
if(dist<=1||card.yingbian_all) player.gainPlayerCard(target,'hej',true);
|
2020-12-19 01:36:50 +00:00
|
|
|
|
},
|
|
|
|
|
fullskin:true,
|
|
|
|
|
postAi:function(targets){
|
|
|
|
|
return targets.length==1&&targets[0].countCards('j');
|
|
|
|
|
},
|
|
|
|
|
ai:{
|
|
|
|
|
wuxie:function(target,card,player,viewer){
|
|
|
|
|
if(get.attitude(viewer,player)>0&&get.attitude(viewer,target)>0){
|
|
|
|
|
return 0;
|
|
|
|
|
}
|
|
|
|
|
},
|
2020-12-22 13:57:12 +00:00
|
|
|
|
yingbian:function(card,player,targets,viewer){
|
|
|
|
|
if(get.attitude(viewer,player)<=0) return 0;
|
2021-07-28 08:46:10 +00:00
|
|
|
|
var base=0;
|
|
|
|
|
if(get.cardtag(card,'yingbian_all')){
|
|
|
|
|
if(targets.filter(function(current){
|
|
|
|
|
var att=get.attitude(player,current);
|
|
|
|
|
if(att<=0) return current.countCards('he',function(card){
|
|
|
|
|
return get.value(card,current)>0;
|
|
|
|
|
})>1;
|
|
|
|
|
return current.countCards('ej',function(card){
|
|
|
|
|
return get.position(card)=='j'||get.value(card,current)<=0;
|
|
|
|
|
})>1;
|
|
|
|
|
}).length) base+=6;
|
|
|
|
|
}
|
|
|
|
|
if(get.cardtag(card,'yingbian_add')){
|
|
|
|
|
if(game.hasPlayer(function(current){
|
|
|
|
|
return !targets.contains(current)&&lib.filter.targetEnabled2(card,player,current)&&get.effect(current,card,player,player)>0;
|
|
|
|
|
})) base+=5;
|
|
|
|
|
}
|
|
|
|
|
if(get.cardtag(card,'yingbian_hit')){
|
|
|
|
|
if(game.hasPlayer(function(current){
|
|
|
|
|
return get.attitude(current,player)<0&¤t.hasWuxie();
|
|
|
|
|
})) base+=3*targets.length;
|
|
|
|
|
}
|
|
|
|
|
return base;
|
2020-12-22 13:57:12 +00:00
|
|
|
|
},
|
2020-12-19 01:36:50 +00:00
|
|
|
|
basic:{
|
|
|
|
|
order:7.5,
|
|
|
|
|
useful:4,
|
|
|
|
|
value:9
|
|
|
|
|
},
|
|
|
|
|
result:{
|
|
|
|
|
target:function(player,target){
|
|
|
|
|
var discard=get.distance(player,target)>1;
|
|
|
|
|
if(get.attitude(player,target)<=0) return (target.countCards('he',function(card){
|
|
|
|
|
return get.value(card,target)>0&&(discard||card!=target.getEquip('jinhe'));
|
|
|
|
|
})>0)?-1.5:1.5;
|
|
|
|
|
var js=target.getCards('j');
|
|
|
|
|
if(js.length){
|
|
|
|
|
var jj=js[0].viewAs?{name:js[0].viewAs}:js[0];
|
|
|
|
|
if(js.length==1&&get.effect(target,jj,target,player)>=0){
|
|
|
|
|
return -1.5;
|
|
|
|
|
}
|
|
|
|
|
return 3;
|
|
|
|
|
}
|
|
|
|
|
return -1.5;
|
|
|
|
|
},
|
|
|
|
|
player:function(player,target){
|
|
|
|
|
if(get.distance(player,target)>1) return 0;
|
|
|
|
|
if(get.attitude(player,target)<0&&!target.countCards('he',function(card){
|
|
|
|
|
return get.value(card,target)>0&&card!=target.getEquip('jinhe');
|
|
|
|
|
})){
|
|
|
|
|
return 0;
|
|
|
|
|
}
|
|
|
|
|
if(get.attitude(player,target)>1){
|
|
|
|
|
var js=target.getCards('j');
|
|
|
|
|
if(js.length){
|
|
|
|
|
var jj=js[0].viewAs?{name:js[0].viewAs}:js[0];
|
|
|
|
|
if(js.length==1&&get.effect(target,jj,target,player)>=0){
|
|
|
|
|
return 0;
|
|
|
|
|
}
|
|
|
|
|
return 1;
|
|
|
|
|
}
|
|
|
|
|
return 0;
|
|
|
|
|
}
|
|
|
|
|
return 1;
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
tag:{
|
|
|
|
|
loseCard:1,
|
|
|
|
|
gain:1,
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
dongzhuxianji:{
|
|
|
|
|
audio:true,
|
|
|
|
|
fullskin:true,
|
|
|
|
|
type:'trick',
|
|
|
|
|
enable:true,
|
|
|
|
|
selectTarget:-1,
|
|
|
|
|
toself:true,
|
|
|
|
|
filterTarget:function(card,player,target){
|
|
|
|
|
return target==player;
|
|
|
|
|
},
|
|
|
|
|
modTarget:true,
|
|
|
|
|
content:function(){
|
|
|
|
|
target.chooseToGuanxing(2);
|
|
|
|
|
target.draw(2);
|
|
|
|
|
},
|
|
|
|
|
ai:{
|
|
|
|
|
basic:{
|
|
|
|
|
order:7.2,
|
|
|
|
|
useful:4.5,
|
|
|
|
|
value:9.2
|
|
|
|
|
},
|
|
|
|
|
result:{
|
2021-08-18 13:42:06 +00:00
|
|
|
|
target:2.5,
|
2020-12-19 01:36:50 +00:00
|
|
|
|
},
|
|
|
|
|
tag:{
|
|
|
|
|
draw:2
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
chuqibuyi:{
|
|
|
|
|
audio:true,
|
|
|
|
|
enable:true,
|
|
|
|
|
type:'trick',
|
|
|
|
|
fullskin:true,
|
|
|
|
|
filterTarget:function(card,player,target){
|
|
|
|
|
return target!=player&&target.countCards('h')>0;
|
|
|
|
|
},
|
2020-12-22 13:57:12 +00:00
|
|
|
|
yingbian_prompt:'当你使用此牌选择目标后,你可为此牌增加一个目标',
|
2021-10-20 14:12:24 +00:00
|
|
|
|
yingbian_tags:['add'],
|
2020-12-19 01:36:50 +00:00
|
|
|
|
yingbian:function(event){
|
|
|
|
|
event.yingbian_addTarget=true;
|
|
|
|
|
},
|
|
|
|
|
content:function(){
|
|
|
|
|
'step 0'
|
|
|
|
|
if(player.isDead()||!target.countCards('h')){
|
|
|
|
|
event.finish();
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
player.choosePlayerCard(target,'h',true);
|
|
|
|
|
'step 1'
|
|
|
|
|
if(result.bool){
|
|
|
|
|
target.showCards(result.cards);
|
2021-04-08 03:17:33 +00:00
|
|
|
|
if(get.suit(card)!=get.suit(result.cards[0])) target.damage(event.baseDamage||1);
|
2020-12-19 01:36:50 +00:00
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
ai:{
|
|
|
|
|
basic:{
|
|
|
|
|
order:5,
|
|
|
|
|
useful:2,
|
|
|
|
|
value:6
|
|
|
|
|
},
|
2020-12-22 13:57:12 +00:00
|
|
|
|
yingbian:function(card,player,targets,viewer){
|
|
|
|
|
if(get.attitude(viewer,player)<=0) return 0;
|
|
|
|
|
if(game.hasPlayer(function(current){
|
|
|
|
|
return !targets.contains(current)&&lib.filter.targetEnabled2(card,player,current)&&get.effect(current,card,player,player)>0;
|
|
|
|
|
})) return 6;
|
|
|
|
|
return 0;
|
|
|
|
|
},
|
2020-12-19 01:36:50 +00:00
|
|
|
|
result:{
|
|
|
|
|
target:function(player,target,cardx){
|
|
|
|
|
if(player.hasSkillTag('viewHandcard',null,target,true)) return target.countCards('h',function(card){
|
|
|
|
|
return get.suit(card)!=get.suit(cardx)
|
|
|
|
|
})>0?-1.5:0;
|
|
|
|
|
return -1.4;
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
tag:{
|
|
|
|
|
damage:1,
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
wuxinghelingshan:{
|
|
|
|
|
audio:true,
|
|
|
|
|
fullskin:true,
|
|
|
|
|
type:'equip',
|
|
|
|
|
subtype:'equip1',
|
|
|
|
|
distance:{attackFrom:-3},
|
|
|
|
|
ai:{
|
|
|
|
|
basic:{
|
|
|
|
|
equipValue:2
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
skills:['wuxinghelingshan_skill']
|
|
|
|
|
},
|
|
|
|
|
wutiesuolian:{
|
|
|
|
|
audio:true,
|
|
|
|
|
fullskin:true,
|
|
|
|
|
type:'equip',
|
|
|
|
|
subtype:'equip1',
|
|
|
|
|
distance:{attackFrom:-2},
|
|
|
|
|
ai:{
|
|
|
|
|
basic:{
|
|
|
|
|
equipValue:2
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
skills:['wutiesuolian_skill']
|
|
|
|
|
},
|
|
|
|
|
heiguangkai:{
|
|
|
|
|
audio:true,
|
|
|
|
|
fullskin:true,
|
|
|
|
|
type:'equip',
|
|
|
|
|
subtype:'equip2',
|
|
|
|
|
ai:{
|
|
|
|
|
basic:{
|
|
|
|
|
equipValue:2
|
|
|
|
|
}
|
|
|
|
|
},
|
2021-03-31 03:47:06 +00:00
|
|
|
|
skills:['heiguangkai_skill'],
|
2020-12-19 01:36:50 +00:00
|
|
|
|
},
|
|
|
|
|
tongque:{
|
|
|
|
|
audio:true,
|
|
|
|
|
fullskin:true,
|
|
|
|
|
type:'equip',
|
|
|
|
|
subtype:'equip5',
|
|
|
|
|
ai:{
|
|
|
|
|
basic:{
|
2021-01-27 12:48:29 +00:00
|
|
|
|
equipValue:6.5
|
2020-12-19 01:36:50 +00:00
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
skills:['tongque_skill']
|
|
|
|
|
},
|
|
|
|
|
tianjitu:{
|
|
|
|
|
audio:true,
|
|
|
|
|
fullskin:true,
|
|
|
|
|
type:'equip',
|
|
|
|
|
subtype:'equip5',
|
|
|
|
|
loseDelay:false,
|
|
|
|
|
onEquip:function(){
|
|
|
|
|
if(player.countCards('he',function(cardx){
|
|
|
|
|
return cardx!=card;
|
2021-01-19 14:04:52 +00:00
|
|
|
|
})>0){
|
2022-08-18 14:57:28 +00:00
|
|
|
|
player.logSkill('tianjitu_skill');
|
2021-01-19 14:04:52 +00:00
|
|
|
|
player.chooseToDiscard(true,function(card){
|
|
|
|
|
return card!=_status.event.card;
|
|
|
|
|
},'he').set('card',card);
|
|
|
|
|
}
|
2020-12-19 01:36:50 +00:00
|
|
|
|
},
|
|
|
|
|
onLose:function(){
|
|
|
|
|
var next=game.createEvent('tianjitu_lose');
|
|
|
|
|
event.next.remove(next);
|
|
|
|
|
var evt=event.getParent();
|
|
|
|
|
if(evt.getlx===false) evt=evt.getParent();
|
|
|
|
|
evt.after.push(next);
|
|
|
|
|
next.player=player;
|
|
|
|
|
next.setContent(function(){
|
|
|
|
|
if(player.countCards('h')<5){
|
2022-08-18 14:57:28 +00:00
|
|
|
|
player.logSkill('tianjitu_skill');
|
2020-12-19 01:36:50 +00:00
|
|
|
|
player.drawTo(5);
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
},
|
2020-12-31 10:28:10 +00:00
|
|
|
|
ai:{
|
2021-01-19 14:04:52 +00:00
|
|
|
|
value:function(card,player){
|
|
|
|
|
if(player.countCards('h')>3||get.position(card)!='e') return 0.5;
|
|
|
|
|
return (player.countCards('h')-5)/3;
|
|
|
|
|
},
|
|
|
|
|
equipValue:function(card,player){
|
|
|
|
|
if(player.countCards('h')>3||get.position(card)!='e') return 0.5;
|
|
|
|
|
return (player.countCards('h')-5)/3;
|
|
|
|
|
},
|
2020-12-31 10:28:10 +00:00
|
|
|
|
basic:{
|
|
|
|
|
equipValue:0.5
|
|
|
|
|
}
|
|
|
|
|
},
|
2020-12-19 01:36:50 +00:00
|
|
|
|
},
|
|
|
|
|
taigongyinfu:{
|
|
|
|
|
audio:true,
|
|
|
|
|
fullskin:true,
|
|
|
|
|
type:'equip',
|
|
|
|
|
subtype:'equip5',
|
|
|
|
|
ai:{
|
|
|
|
|
basic:{
|
2021-01-27 12:48:29 +00:00
|
|
|
|
equipValue:3
|
2020-12-19 01:36:50 +00:00
|
|
|
|
}
|
|
|
|
|
},
|
2020-12-22 13:57:12 +00:00
|
|
|
|
skills:['taigongyinfu_skill','taigongyinfu_link'],
|
2020-12-19 01:36:50 +00:00
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
skill:{
|
|
|
|
|
suijiyingbian_skill:{
|
|
|
|
|
mod:{
|
|
|
|
|
cardname:function(card,player){
|
|
|
|
|
if(card.name=='suijiyingbian'&&player.storage.suijiyingbian) return player.storage.suijiyingbian;
|
|
|
|
|
},
|
2020-12-22 13:57:12 +00:00
|
|
|
|
cardnature:function(card,player){
|
|
|
|
|
if(card.name=='suijiyingbian'&&player.storage.suijiyingbian_nature) return player.storage.suijiyingbian_nature;
|
|
|
|
|
},
|
2020-12-19 01:36:50 +00:00
|
|
|
|
},
|
|
|
|
|
trigger:{
|
2020-12-22 13:57:12 +00:00
|
|
|
|
player:['useCard1','respond'],
|
2020-12-25 13:57:32 +00:00
|
|
|
|
global:'phaseBeginStart',
|
2020-12-19 01:36:50 +00:00
|
|
|
|
},
|
|
|
|
|
silent:true,
|
|
|
|
|
firstDo:true,
|
|
|
|
|
filter:function(event,player,name){
|
2020-12-25 13:57:32 +00:00
|
|
|
|
if(name=='phaseBeginStart') return true;
|
2020-12-19 01:36:50 +00:00
|
|
|
|
var type=get.type(event.card);
|
|
|
|
|
return type=='basic'||type=='trick';
|
|
|
|
|
},
|
|
|
|
|
content:function(){
|
2020-12-25 13:57:32 +00:00
|
|
|
|
if(event.triggername=='phaseBeginStart'){
|
|
|
|
|
delete player.storage.suijiyingbian;
|
|
|
|
|
delete player.storage.suijiyingbian_nature;
|
|
|
|
|
}
|
|
|
|
|
else{
|
|
|
|
|
player.storage.suijiyingbian=trigger.card.name;
|
|
|
|
|
player.storage.suijiyingbian_nature=trigger.card.nature;
|
|
|
|
|
}
|
2020-12-19 01:36:50 +00:00
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
wuxinghelingshan_skill:{
|
|
|
|
|
equipSkill:true,
|
|
|
|
|
trigger:{player:'useCard1'},
|
|
|
|
|
filter:function(event,player){
|
|
|
|
|
return (event.card.name=='sha'&&event.card.nature&&event.card.nature!='kami');
|
|
|
|
|
},
|
|
|
|
|
audio:true,
|
|
|
|
|
direct:true,
|
|
|
|
|
content:function(){
|
|
|
|
|
'step 0'
|
|
|
|
|
var list=lib.linked.slice(0);
|
|
|
|
|
list.remove('kami');
|
|
|
|
|
list.remove(trigger.card.nature);
|
|
|
|
|
list.push('cancel2');
|
|
|
|
|
player.chooseControl(list).set('prompt',get.prompt('wuxinghelingshan_skill')).set('prompt2','将'+get.translation(trigger.card)+'转换为以下属性之一');
|
|
|
|
|
'step 1'
|
|
|
|
|
if(result.control!='cancel2'){
|
|
|
|
|
player.logSkill('wuxinghelingshan_skill');
|
|
|
|
|
trigger.card.nature=result.control;
|
|
|
|
|
player.popup(get.translation(result.control)+'杀',result.control);
|
|
|
|
|
game.log(trigger.card,'被转为了','#y'+get.translation(result.control),'属性')
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
wutiesuolian_skill:{
|
|
|
|
|
trigger:{player:'useCardToPlayered'},
|
|
|
|
|
forced:true,
|
|
|
|
|
equipSkill:true,
|
|
|
|
|
audio:true,
|
|
|
|
|
filter:function(event,player){
|
2021-10-20 14:12:24 +00:00
|
|
|
|
return event.card.name=='sha'&&!event.target.isLinked();//||event.target.countCards('h'));
|
2020-12-19 01:36:50 +00:00
|
|
|
|
},
|
|
|
|
|
logTarget:'target',
|
|
|
|
|
content:function(){
|
|
|
|
|
var target=trigger.target;
|
|
|
|
|
if(!target.isLinked()) target.link();
|
2021-10-20 14:12:24 +00:00
|
|
|
|
//else player.viewHandcards(target);
|
2020-12-19 01:36:50 +00:00
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
heiguangkai_skill:{
|
|
|
|
|
equipSkill:true,
|
|
|
|
|
trigger:{target:'useCardToTargeted'},
|
|
|
|
|
forced:true,
|
|
|
|
|
audio:true,
|
|
|
|
|
filter:function(event,player){
|
2022-08-09 15:21:53 +00:00
|
|
|
|
if(event.targets.length<2) return false;
|
|
|
|
|
if(event.card.name!='sha'){
|
|
|
|
|
var type=get.type(event.card);
|
|
|
|
|
if(type!='trick') return false;
|
|
|
|
|
if(get.color(event.card)!='black'&&!get.tag(event.card,'damage')) return false;
|
|
|
|
|
}
|
2020-12-19 01:36:50 +00:00
|
|
|
|
if(player.hasSkillTag('unequip2')) return false;
|
|
|
|
|
if(event.player.hasSkillTag('unequip',false,{
|
|
|
|
|
name:event.card?event.card.name:null,
|
|
|
|
|
target:player,
|
|
|
|
|
card:event.card
|
|
|
|
|
})) return false;
|
|
|
|
|
return true;
|
|
|
|
|
},
|
|
|
|
|
content:function(){
|
|
|
|
|
trigger.excluded.add(player);
|
|
|
|
|
},
|
2021-03-31 03:47:06 +00:00
|
|
|
|
global:'heiguangkai_ai',
|
2020-12-19 01:36:50 +00:00
|
|
|
|
},
|
|
|
|
|
tongque_skill:{
|
2021-07-28 08:46:10 +00:00
|
|
|
|
trigger:{player:'useCard1'},
|
|
|
|
|
equipSkill:true,
|
|
|
|
|
forced:true,
|
|
|
|
|
filter:function(event,player){
|
|
|
|
|
return !event.card.yingbian&&get.is.yingbian(event.card)&&player.getHistory('useCard',function(evt){
|
|
|
|
|
return get.is.yingbian(evt.card)
|
|
|
|
|
}).indexOf(event)==0;
|
|
|
|
|
},
|
|
|
|
|
content:function(){
|
|
|
|
|
trigger.card.yingbian=true;
|
|
|
|
|
var info=get.info(trigger.card);
|
|
|
|
|
if(info&&info.yingbian) info.yingbian(trigger);
|
|
|
|
|
player.addTempSkill('yingbian_changeTarget');
|
|
|
|
|
},
|
2020-12-19 01:36:50 +00:00
|
|
|
|
},
|
|
|
|
|
tianjitu_skill:{
|
|
|
|
|
audio:true,
|
|
|
|
|
},
|
|
|
|
|
taigongyinfu_skill:{
|
2020-12-22 13:57:12 +00:00
|
|
|
|
equipSkill:true,
|
2020-12-19 01:36:50 +00:00
|
|
|
|
audio:true,
|
2020-12-22 13:57:12 +00:00
|
|
|
|
trigger:{player:'phaseUseEnd'},
|
|
|
|
|
direct:true,
|
|
|
|
|
filter:function(event,player){
|
|
|
|
|
return player.countCards('h')>0;
|
|
|
|
|
},
|
|
|
|
|
content:function(){
|
|
|
|
|
'step 0'
|
2023-08-19 16:40:34 +00:00
|
|
|
|
player.chooseCard('h','是否发动【太公阴符】重铸一张手牌?',lib.filter.cardRecastable).set('ai',function(card){
|
2020-12-22 13:57:12 +00:00
|
|
|
|
return 5-get.value(card);
|
|
|
|
|
});
|
|
|
|
|
'step 1'
|
|
|
|
|
if(result.bool){
|
|
|
|
|
player.logSkill('taigongyinfu_skill');
|
2021-06-10 15:27:23 +00:00
|
|
|
|
player.lose(result.cards,ui.discardPile,'visible');
|
2020-12-22 13:57:12 +00:00
|
|
|
|
player.$throw(result.cards,1000);
|
|
|
|
|
game.log(player,'将',result.cards,'置入了弃牌堆');
|
|
|
|
|
player.draw();
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
taigongyinfu_link:{
|
|
|
|
|
audio:'taigongyinfu_skill',
|
|
|
|
|
trigger:{player:'phaseUseBegin'},
|
|
|
|
|
equipSkill:true,
|
2021-07-28 08:46:10 +00:00
|
|
|
|
//filter:function(event,player){
|
|
|
|
|
// return game.hasPlayer(function(current){
|
|
|
|
|
// return !current.isLinked();
|
|
|
|
|
// });
|
|
|
|
|
//},
|
2020-12-22 13:57:12 +00:00
|
|
|
|
direct:true,
|
|
|
|
|
content:function(){
|
|
|
|
|
'step 0'
|
2021-07-28 08:46:10 +00:00
|
|
|
|
player.chooseTarget(
|
|
|
|
|
//function(card,player,target){
|
|
|
|
|
// return !target.isLinked();
|
|
|
|
|
//},
|
2021-09-23 15:07:50 +00:00
|
|
|
|
'是否发动【太公阴符】横置或重置一名角色?').set('ai',function(target){
|
2020-12-25 13:57:32 +00:00
|
|
|
|
return get.effect(target,{name:'tiesuo'},_status.event.player,_status.event.player);
|
2020-12-22 13:57:12 +00:00
|
|
|
|
});
|
|
|
|
|
'step 1'
|
|
|
|
|
if(result.bool){
|
|
|
|
|
var target=result.targets[0];
|
2020-12-31 10:28:10 +00:00
|
|
|
|
player.logSkill('taigongyinfu_link',target);
|
2020-12-22 13:57:12 +00:00
|
|
|
|
target.link();
|
|
|
|
|
}
|
|
|
|
|
},
|
2020-12-31 10:28:10 +00:00
|
|
|
|
ai:{
|
|
|
|
|
expose:0.2,
|
|
|
|
|
},
|
2020-12-19 01:36:50 +00:00
|
|
|
|
},
|
|
|
|
|
_yingbian:{
|
|
|
|
|
trigger:{player:'useCard1'},
|
|
|
|
|
forced:true,
|
|
|
|
|
popup:false,
|
|
|
|
|
firstDo:true,
|
2020-12-31 10:28:10 +00:00
|
|
|
|
ruleSkill:true,
|
2021-01-23 11:25:04 +00:00
|
|
|
|
forceLoad:true,
|
2020-12-19 01:36:50 +00:00
|
|
|
|
filter:function(event,player){
|
2020-12-31 10:28:10 +00:00
|
|
|
|
if(event.card.yingbian) return false;
|
2020-12-19 01:36:50 +00:00
|
|
|
|
var bool=player.hasSkillTag('forceYingbian');
|
|
|
|
|
var card=event.card;
|
|
|
|
|
if(get.cardtag(card,'yingbian_kongchao')&&(!player.countCards('h')||bool)) return true;
|
|
|
|
|
if(get.cardtag(card,'yingbian_canqu')&&(player.hp==1||bool)) return true;
|
|
|
|
|
if(get.cardtag(card,'yingbian_fujia')&&(player.isMaxHandcard()||bool)) return true;
|
2020-12-22 13:57:12 +00:00
|
|
|
|
if(get.cardtag(card,'yingbian_zhuzhan')) return true;
|
2020-12-19 01:36:50 +00:00
|
|
|
|
return false;
|
|
|
|
|
},
|
|
|
|
|
content:function(){
|
|
|
|
|
'step 0'
|
|
|
|
|
var card=trigger.card;
|
|
|
|
|
event.card=card;
|
|
|
|
|
var bool=false;
|
|
|
|
|
if(get.cardtag(card,'yingbian_kongchao')&&!player.countCards('h')){
|
|
|
|
|
player.popup('空巢','soil');
|
|
|
|
|
bool=true;
|
|
|
|
|
}
|
|
|
|
|
else if(get.cardtag(card,'yingbian_canqu')&&player.hp==1){
|
|
|
|
|
player.popup('残躯','fire');
|
|
|
|
|
bool=true;
|
|
|
|
|
}
|
|
|
|
|
else if(get.cardtag(card,'yingbian_fujia')&&player.isMaxHandcard()){
|
|
|
|
|
player.popup('富甲','orange');
|
|
|
|
|
bool=true;
|
|
|
|
|
}
|
2020-12-31 10:28:10 +00:00
|
|
|
|
else if(player.hasSkillTag('forceYingbian')){
|
|
|
|
|
player.popup('应变','metal');
|
|
|
|
|
bool=true;
|
|
|
|
|
}
|
2020-12-19 01:36:50 +00:00
|
|
|
|
if(bool){
|
|
|
|
|
game.log(player,'触发了',card,'的应变条件');
|
|
|
|
|
event.goto(10);
|
|
|
|
|
}
|
|
|
|
|
'step 1'
|
|
|
|
|
event._global_waiting=true;
|
2020-12-22 13:57:12 +00:00
|
|
|
|
event.send=function(player,card,source,targets,id,id2,skillState){
|
2020-12-19 01:36:50 +00:00
|
|
|
|
if(skillState){
|
|
|
|
|
player.applySkills(skillState);
|
|
|
|
|
}
|
2021-01-23 11:25:04 +00:00
|
|
|
|
var type=get.type2(card);
|
2020-12-22 13:57:12 +00:00
|
|
|
|
var str=get.translation(source);
|
|
|
|
|
if(targets&&targets.length){
|
|
|
|
|
str+='对';
|
|
|
|
|
str+=get.translation(targets);
|
|
|
|
|
}
|
|
|
|
|
str+='使用了';
|
2020-12-19 01:36:50 +00:00
|
|
|
|
var next=player.chooseCard({
|
|
|
|
|
filterCard:function(card){
|
2021-01-23 11:25:04 +00:00
|
|
|
|
return get.type2(card)==type&&lib.filter.cardDiscardable.apply(this,arguments);
|
2020-12-19 01:36:50 +00:00
|
|
|
|
},
|
2020-12-22 13:57:12 +00:00
|
|
|
|
prompt:str+=(get.translation(card)+',是否弃置一张'+get.translation(type)+'为其助战?'),
|
2020-12-19 01:36:50 +00:00
|
|
|
|
position:'h',
|
|
|
|
|
_global_waiting:true,
|
|
|
|
|
id:id,
|
|
|
|
|
id2:id2,
|
2020-12-22 13:57:12 +00:00
|
|
|
|
ai:function(cardx){
|
|
|
|
|
var info=get.info(card);
|
|
|
|
|
if(info&&info.ai&&info.ai.yingbian){
|
|
|
|
|
var ai=info.ai.yingbian(card,source,targets,player);
|
|
|
|
|
if(!ai) return 0;
|
|
|
|
|
return ai-get.value(cardx);
|
|
|
|
|
}
|
|
|
|
|
else if(get.attitude(player,source)<=0) return 0;
|
|
|
|
|
return 5-get.value(cardx);
|
2020-12-19 01:36:50 +00:00
|
|
|
|
},
|
|
|
|
|
});
|
|
|
|
|
if(game.online){
|
|
|
|
|
_status.event._resultid=id;
|
|
|
|
|
game.resume();
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
'step 2'
|
2021-01-23 11:25:04 +00:00
|
|
|
|
var type=get.type2(card);
|
2020-12-19 01:36:50 +00:00
|
|
|
|
var list=game.filterPlayer(function(current){
|
|
|
|
|
if(current==player) return false;
|
|
|
|
|
if(!current.countCards('h')) return false;
|
|
|
|
|
return _status.connectMode||current.countCards('h',function(cardx){
|
2021-01-23 11:25:04 +00:00
|
|
|
|
return get.type2(cardx)==type;
|
2020-12-19 01:36:50 +00:00
|
|
|
|
})
|
|
|
|
|
});
|
|
|
|
|
event.list=list;
|
|
|
|
|
event.id=get.id();
|
|
|
|
|
list.sort(function(a,b){
|
|
|
|
|
return get.distance(event.source,a,'absolute')-get.distance(event.source,b,'absolute');
|
|
|
|
|
});
|
|
|
|
|
'step 3'
|
|
|
|
|
if(event.list.length==0){
|
|
|
|
|
event.finish();
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
else if(_status.connectMode&&(event.list[0].isOnline()||event.list[0]==game.me)){
|
|
|
|
|
event.goto(5);
|
|
|
|
|
}
|
|
|
|
|
else{
|
|
|
|
|
event.current=event.list.shift();
|
2020-12-22 13:57:12 +00:00
|
|
|
|
event.send(event.current,event.card,player,trigger.targets,event.id,trigger.parent.id);
|
2020-12-19 01:36:50 +00:00
|
|
|
|
}
|
|
|
|
|
'step 4'
|
|
|
|
|
if(result.bool){
|
|
|
|
|
event.zhuzhanresult=event.current;
|
|
|
|
|
event.zhuzhanresult2=result;
|
|
|
|
|
if(event.current!=game.me) game.delayx();
|
|
|
|
|
event.goto(9);
|
|
|
|
|
}
|
|
|
|
|
else{
|
|
|
|
|
event.goto(3);
|
|
|
|
|
}
|
|
|
|
|
'step 5'
|
|
|
|
|
var id=event.id;
|
|
|
|
|
var sendback=function(result,player){
|
|
|
|
|
if(result&&result.id==id&&!event.zhuzhanresult&&result.bool){
|
|
|
|
|
event.zhuzhanresult=player;
|
|
|
|
|
event.zhuzhanresult2=result;
|
|
|
|
|
game.broadcast('cancel',id);
|
|
|
|
|
if(_status.event.id==id&&_status.event.name=='chooseCard'&&_status.paused){
|
|
|
|
|
return (function(){
|
|
|
|
|
event.resultOL=_status.event.resultOL;
|
|
|
|
|
ui.click.cancel();
|
|
|
|
|
if(ui.confirm) ui.confirm.close();
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
else{
|
|
|
|
|
if(_status.event.id==id&&_status.event.name=='chooseCard'&&_status.paused){
|
|
|
|
|
return (function(){
|
|
|
|
|
event.resultOL=_status.event.resultOL;
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
var withme=false;
|
|
|
|
|
var withol=false;
|
|
|
|
|
var list=event.list;
|
|
|
|
|
for(var i=0;i<list.length;i++){
|
|
|
|
|
if(list[i].isOnline()){
|
|
|
|
|
withol=true;
|
|
|
|
|
list[i].wait(sendback);
|
2020-12-22 13:57:12 +00:00
|
|
|
|
list[i].send(event.send,list[i],event.card,player,trigger.targets,event.id,trigger.parent.id,get.skillState(list[i]));
|
2020-12-19 01:36:50 +00:00
|
|
|
|
list.splice(i--,1);
|
|
|
|
|
}
|
|
|
|
|
else if(list[i]==game.me){
|
|
|
|
|
withme=true;
|
2020-12-22 13:57:12 +00:00
|
|
|
|
event.send(list[i],event.card,player,trigger.targets,event.id,trigger.parent.id);
|
2020-12-19 01:36:50 +00:00
|
|
|
|
list.splice(i--,1);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
if(!withme){
|
|
|
|
|
event.goto(7);
|
|
|
|
|
}
|
|
|
|
|
if(_status.connectMode){
|
|
|
|
|
if(withme||withol){
|
|
|
|
|
for(var i=0;i<game.players.length;i++){
|
|
|
|
|
if(game.players[i]!=player) game.players[i].showTimer();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
event.withol=withol;
|
|
|
|
|
'step 6'
|
|
|
|
|
if(result&&result.bool&&!event.zhuzhanresult){
|
|
|
|
|
game.broadcast('cancel',event.id);
|
|
|
|
|
event.zhuzhanresult=game.me;
|
|
|
|
|
event.zhuzhanresult2=result;
|
|
|
|
|
}
|
|
|
|
|
'step 7'
|
|
|
|
|
if(event.withol&&!event.resultOL){
|
|
|
|
|
game.pause();
|
|
|
|
|
}
|
|
|
|
|
'step 8'
|
|
|
|
|
for(var i=0;i<game.players.length;i++){
|
|
|
|
|
game.players[i].hideTimer();
|
|
|
|
|
}
|
|
|
|
|
'step 9'
|
|
|
|
|
if(event.zhuzhanresult){
|
|
|
|
|
var target=event.zhuzhanresult;
|
|
|
|
|
target.line(player,'green');
|
2023-07-22 18:59:01 +00:00
|
|
|
|
target.discard(event.zhuzhanresult2.cards).discarder=target;
|
2020-12-19 01:36:50 +00:00
|
|
|
|
target.popup('助战','wood');
|
|
|
|
|
game.log(target,'响应了',player,'发起的助战');
|
2020-12-31 10:28:10 +00:00
|
|
|
|
target.addExpose(0.2);
|
2020-12-19 01:36:50 +00:00
|
|
|
|
}
|
|
|
|
|
else event.finish();
|
|
|
|
|
'step 10'
|
|
|
|
|
trigger.card.yingbian=true;
|
|
|
|
|
var info=get.info(trigger.card);
|
|
|
|
|
if(info&&info.yingbian) info.yingbian(trigger);
|
|
|
|
|
player.addTempSkill('yingbian_changeTarget');
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
yingbian_changeTarget:{
|
|
|
|
|
trigger:{player:'useCard2'},
|
|
|
|
|
forced:true,
|
|
|
|
|
popup:false,
|
2022-01-15 06:12:01 +00:00
|
|
|
|
charlotte:true,
|
2020-12-19 01:36:50 +00:00
|
|
|
|
filter:function(event,player){
|
|
|
|
|
if(event.yingbian_removeTarget&&event.targets&&event.targets.length>1) return true;
|
|
|
|
|
if(!event.yingbian_addTarget) return false;
|
|
|
|
|
var info=get.info(event.card);
|
|
|
|
|
if(info.allowMultiple==false) return false;
|
|
|
|
|
if(event.targets&&!info.multitarget){
|
|
|
|
|
if(game.hasPlayer(function(current){
|
|
|
|
|
return !event.targets.contains(current)&&lib.filter.targetEnabled2(event.card,player,current)&&lib.filter.targetInRange(event.card,player,current);
|
|
|
|
|
})){
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
return false;
|
|
|
|
|
},
|
|
|
|
|
content:function(){
|
|
|
|
|
'step 0'
|
|
|
|
|
if(trigger.yingbian_addTarget) player.chooseTarget('应变:是否为'+get.translation(trigger.card)+'增加一个目标?',function(card,player,target){
|
|
|
|
|
var trigger=_status.event.getTrigger();
|
|
|
|
|
var card=trigger.card;
|
|
|
|
|
return !trigger.targets.contains(target)&&lib.filter.targetEnabled2(card,player,target)&&lib.filter.targetInRange(card,player,target);
|
|
|
|
|
}).set('ai',function(target){
|
|
|
|
|
var player=_status.event.player;
|
|
|
|
|
var card=_status.event.getTrigger().card;
|
|
|
|
|
return get.effect(target,card,player,player);
|
|
|
|
|
});
|
|
|
|
|
else event.goto(2);
|
|
|
|
|
'step 1'
|
|
|
|
|
if(result.bool){
|
|
|
|
|
var target=result.targets[0];
|
|
|
|
|
player.line(target,'green');
|
|
|
|
|
game.log(player,'发动应变效果,令',target,'也成为了',trigger.card,'的目标');
|
|
|
|
|
trigger.targets.add(target);
|
|
|
|
|
}
|
|
|
|
|
'step 2'
|
|
|
|
|
if(trigger.yingbian_removeTarget&&trigger.targets.length>1) player.chooseTarget('应变:是否为'+get.translation(trigger.card)+'减少一个目标?',function(card,player,target){
|
|
|
|
|
var trigger=_status.event.getTrigger();
|
|
|
|
|
return trigger.targets.contains(target);
|
|
|
|
|
}).set('ai',function(target){
|
|
|
|
|
var player=_status.event.player;
|
|
|
|
|
var card=_status.event.getTrigger().card;
|
|
|
|
|
return -get.effect(target,card,player,player);
|
|
|
|
|
});
|
|
|
|
|
else event.finish();
|
|
|
|
|
'step 3'
|
|
|
|
|
if(result.bool){
|
|
|
|
|
var target=result.targets[0];
|
|
|
|
|
player.line(target,'green');
|
|
|
|
|
game.log(player,'发动应变效果,将',target,'从',trigger.card,'的目标中移除了');
|
|
|
|
|
trigger.targets.remove(target);
|
|
|
|
|
}
|
|
|
|
|
},
|
2021-03-31 03:47:06 +00:00
|
|
|
|
},
|
|
|
|
|
heiguangkai_ai:{
|
|
|
|
|
ai:{
|
|
|
|
|
effect:{
|
|
|
|
|
player:function(card,player,target){
|
2022-08-09 15:21:53 +00:00
|
|
|
|
if(typeof card!='object'||!target||get.name(card)!='sha'&&(get.type(card)!='trick'||(get.color(card)!='black'&&!get.tag(card,'damage')))) return;
|
2021-03-31 03:47:06 +00:00
|
|
|
|
var info=get.info(card);
|
|
|
|
|
var targets=[];
|
|
|
|
|
targets.addArray(ui.selected.targets);
|
|
|
|
|
var evt=_status.event.getParent('useCard');
|
|
|
|
|
if(evt&&evt.card==card) targets.addArray(evt.targets);
|
|
|
|
|
if(targets.length){
|
|
|
|
|
if(!targets.contains(target)){
|
|
|
|
|
if(target.hasSkill('heiguangkai_skill')&&!target.hasSkillTag('unequip2')&&!player.hasSkillTag('unequip',false,{
|
|
|
|
|
name:card?card.name:null,
|
|
|
|
|
target:target,
|
|
|
|
|
card:card,
|
|
|
|
|
})&&!player.hasSkillTag('unequip_ai',false,{
|
|
|
|
|
name:card?card.name:null,
|
|
|
|
|
target:target,
|
|
|
|
|
card:card,
|
|
|
|
|
})) return 'zerotarget';
|
|
|
|
|
}
|
|
|
|
|
else{
|
|
|
|
|
if(targets.length>1) return;
|
|
|
|
|
if(info.selectTarget!=-1&&targets[0].hasSkill('heiguangkai_skill')&&!targets[0].hasSkillTag('unequip2')&&!player.hasSkillTag('unequip',false,{
|
|
|
|
|
name:card?card.name:null,
|
|
|
|
|
target:targets[0],
|
|
|
|
|
card:card,
|
|
|
|
|
})&&!player.hasSkillTag('unequip_ai',false,{
|
|
|
|
|
name:card?card.name:null,
|
|
|
|
|
target:targets[0],
|
|
|
|
|
card:card,
|
|
|
|
|
})) return 'zerotarget';
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
if(target.hasSkill('heiguangkai_skill')&&!target.hasSkillTag('unequip2')&&!player.hasSkillTag('unequip',false,{
|
|
|
|
|
name:card?card.name:null,
|
|
|
|
|
target:target,
|
|
|
|
|
card:card,
|
|
|
|
|
})&&!player.hasSkillTag('unequip_ai',false,{
|
|
|
|
|
name:card?card.name:null,
|
|
|
|
|
target:target,
|
|
|
|
|
card:card,
|
|
|
|
|
})) return [1,0,0.7,0];
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
},
|
2020-12-19 01:36:50 +00:00
|
|
|
|
},
|
|
|
|
|
translate:{
|
|
|
|
|
suijiyingbian:'随机应变',
|
2020-12-25 13:57:32 +00:00
|
|
|
|
suijiyingbian_info:'此牌的牌名视为你本回合内使用或打出的上一张基本牌或普通锦囊牌的牌名。',
|
2020-12-19 01:36:50 +00:00
|
|
|
|
zhujinqiyuan:'逐近弃远',
|
2023-01-24 13:26:41 +00:00
|
|
|
|
zhujinqiyuan_info:'出牌阶段,对一名有牌的其他角色使用。若你至其距离的大于1,你弃置其区域内的一张牌。若你至其的距离等于1,你获得其区域内的一张牌。',
|
2020-12-19 01:36:50 +00:00
|
|
|
|
dongzhuxianji:'洞烛先机',
|
2021-09-30 16:25:44 +00:00
|
|
|
|
dongzhuxianji_info:'出牌阶段,对包含你在内的一名角色使用。目标角色卜算2,然后摸两张牌。',
|
2020-12-19 01:36:50 +00:00
|
|
|
|
chuqibuyi:'出其不意',
|
|
|
|
|
chuqibuyi_info:'出牌阶段,对一名有手牌的其他角色使用。你展示其一张手牌,若此牌与【出其不意】的花色不同,则你对其造成1点伤害。',
|
|
|
|
|
wuxinghelingshan:'五行鹤翎扇',
|
|
|
|
|
wuxinghelingshan_skill:'五行鹤翎扇',
|
2023-03-04 15:17:30 +00:00
|
|
|
|
wuxinghelingshan_info:'当你声明使用不为神属性的属性【杀】后,你可将此【杀】的属性改为不为神属性的其他属性。',
|
2020-12-19 01:36:50 +00:00
|
|
|
|
wutiesuolian:'乌铁锁链',
|
|
|
|
|
wutiesuolian_skill:'乌铁锁链',
|
2021-10-20 14:12:24 +00:00
|
|
|
|
wutiesuolian_info:'锁定技,当你使用【杀】指定目标后,若其未横置,则其横置。',
|
2020-12-19 01:36:50 +00:00
|
|
|
|
heiguangkai:'黑光铠',
|
|
|
|
|
heiguangkai_skill:'黑光铠',
|
2022-08-09 15:21:53 +00:00
|
|
|
|
heiguangkai_info:'锁定技,当你成为【杀】或伤害类锦囊牌或黑色普通锦囊牌的目标后,若此牌的目标数大于1,则你令此牌对你无效。',
|
2020-12-19 01:36:50 +00:00
|
|
|
|
tongque:'铜雀',
|
2021-07-28 08:46:10 +00:00
|
|
|
|
tongque_skill:'铜雀',
|
2023-01-24 13:26:41 +00:00
|
|
|
|
tongque_info:'锁定技,你于一回合内使用的第一张带有“应变”效果的牌无视条件直接生效。',
|
2020-12-19 01:36:50 +00:00
|
|
|
|
tianjitu:'天机图',
|
|
|
|
|
tianjitu_skill:'天机图',
|
|
|
|
|
tianjitu_info:'锁定技,当此牌进入你的装备区时,你弃置一张不为此【天机图】的牌。当此牌离开你的装备区后,你将手牌摸至五张。',
|
|
|
|
|
taigongyinfu:'太公阴符',
|
2021-07-28 08:46:10 +00:00
|
|
|
|
taigongyinfu_info:'出牌阶段开始时,你可以横置或重置一名角色。出牌阶段结束时,你可以重铸一张手牌。',
|
2020-12-22 13:57:12 +00:00
|
|
|
|
taigongyinfu_skill:'太公阴符',
|
|
|
|
|
taigongyinfu_link:'太公阴符',
|
2020-12-19 01:36:50 +00:00
|
|
|
|
yingbian_zhuzhan_tag:'助战',
|
|
|
|
|
yingbian_kongchao_tag:'空巢',
|
|
|
|
|
yingbian_fujia_tag:'富甲',
|
|
|
|
|
yingbian_canqu_tag:'残躯',
|
|
|
|
|
_yingbian:'应变',
|
|
|
|
|
yingbian_changeTarget:'应变',
|
2021-07-28 08:46:10 +00:00
|
|
|
|
yingbian_add_tag:'(目标+)',
|
|
|
|
|
yingbian_remove_tag:'(目标-)',
|
|
|
|
|
yingbian_draw_tag:'(摸牌)',
|
|
|
|
|
yingbian_all_tag:'(双项)',
|
|
|
|
|
yingbian_hit_tag:'(强命)',
|
|
|
|
|
yingbian_gain_tag:'(反甲)',
|
|
|
|
|
yingbian_damage_tag:'(伤害+)',
|
2020-12-19 01:36:50 +00:00
|
|
|
|
},
|
|
|
|
|
list:[
|
2021-07-28 08:46:10 +00:00
|
|
|
|
['spade',1,'juedou'],
|
2020-12-19 01:36:50 +00:00
|
|
|
|
['spade',1,'taigongyinfu'],
|
|
|
|
|
['spade',1,'guding'],
|
|
|
|
|
['spade',2,'cixiong'],
|
|
|
|
|
['spade',2,'bagua'],
|
|
|
|
|
['spade',2,'tengjia'],
|
|
|
|
|
['spade',2,'suijiyingbian'],
|
|
|
|
|
['spade',3,'jiu'],
|
|
|
|
|
['spade',3,'zhujinqiyuan'],
|
2021-07-28 08:46:10 +00:00
|
|
|
|
['spade',3,'shuiyanqijunx',null,['yingbian_zhuzhan','yingbian_add']],
|
2020-12-19 01:36:50 +00:00
|
|
|
|
['spade',4,'sha','thunder'],
|
|
|
|
|
['spade',4,'guohe'],
|
2021-07-28 08:46:10 +00:00
|
|
|
|
['spade',4,'shuiyanqijunx',null,['yingbian_zhuzhan','yingbian_add']],
|
2020-12-19 01:36:50 +00:00
|
|
|
|
['spade',5,'sha','thunder'],
|
|
|
|
|
['spade',5,'qinglong'],
|
|
|
|
|
['spade',5,'jueying'],
|
|
|
|
|
['spade',6,'sha','thunder'],
|
|
|
|
|
['spade',6,'lebu'],
|
|
|
|
|
['spade',6,'qinggang'],
|
|
|
|
|
['spade',7,'sha','ice'],
|
|
|
|
|
['spade',7,'sha','ice'],
|
2021-07-28 08:46:10 +00:00
|
|
|
|
['spade',7,'nanman',null,['yingbian_fujia','yingbian_remove']],
|
2020-12-19 01:36:50 +00:00
|
|
|
|
['spade',8,'sha','ice'],
|
|
|
|
|
['spade',8,'sha','ice'],
|
|
|
|
|
['spade',8,'sha','ice'],
|
2021-07-28 08:46:10 +00:00
|
|
|
|
['spade',9,'sha',null,['yingbian_canqu','yingbian_add']],
|
|
|
|
|
['spade',9,'sha',null,['yingbian_canqu','yingbian_add']],
|
2020-12-19 01:36:50 +00:00
|
|
|
|
['spade',9,'jiu'],
|
2021-07-28 08:46:10 +00:00
|
|
|
|
['spade',10,'sha'],
|
|
|
|
|
['spade',10,'sha',null,['yingbian_zhuzhan','yingbian_add']],
|
2020-12-19 01:36:50 +00:00
|
|
|
|
['spade',10,'bingliang'],
|
|
|
|
|
['spade',11,'wuxie'],
|
2021-03-20 13:29:25 +00:00
|
|
|
|
['spade',11,'shunshou'],
|
2020-12-19 01:36:50 +00:00
|
|
|
|
['spade',11,'tiesuo'],
|
2021-10-20 14:12:24 +00:00
|
|
|
|
['spade',12,'zhujinqiyuan',null,['yingbian_fujia','yingbian_hit']],
|
2020-12-19 01:36:50 +00:00
|
|
|
|
['spade',12,'tiesuo'],
|
|
|
|
|
['spade',12,'zhangba'],
|
2021-07-28 08:46:10 +00:00
|
|
|
|
['spade',13,'wuxie',null,['yingbian_kongchao','yingbian_draw']],
|
|
|
|
|
['spade',13,'nanman',null,['yingbian_fujia','yingbian_remove']],
|
2020-12-19 01:36:50 +00:00
|
|
|
|
['spade',13,'dawan'],
|
|
|
|
|
|
2021-07-28 08:46:10 +00:00
|
|
|
|
['heart',1,'taoyuan',null,['yingbian_fujia','yingbian_remove']],
|
|
|
|
|
['heart',1,'wanjian',null,['yingbian_fujia','yingbian_remove']],
|
2020-12-19 01:36:50 +00:00
|
|
|
|
['heart',1,'wuxie'],
|
2021-07-28 08:46:10 +00:00
|
|
|
|
['heart',2,'shan',null,['yingbian_kongchao','yingbian_draw']],
|
|
|
|
|
['heart',2,'shan',null,['yingbian_kongchao','yingbian_draw']],
|
|
|
|
|
['heart',2,'guohe',null,['yingbian_zhuzhan','yingbian_add']],
|
2020-12-19 01:36:50 +00:00
|
|
|
|
['heart',3,'wugu'],
|
|
|
|
|
['heart',3,'tao'],
|
2021-07-28 08:46:10 +00:00
|
|
|
|
['heart',3,'chuqibuyi'],
|
2020-12-19 01:36:50 +00:00
|
|
|
|
['heart',4,'sha','fire'],
|
|
|
|
|
['heart',4,'tao'],
|
2021-03-20 13:29:25 +00:00
|
|
|
|
['heart',4,'wugu'],
|
2020-12-19 01:36:50 +00:00
|
|
|
|
['heart',5,'chitu'],
|
|
|
|
|
['heart',5,'tao'],
|
|
|
|
|
['heart',5,'qilin'],
|
|
|
|
|
['heart',6,'tao'],
|
|
|
|
|
['heart',6,'tao'],
|
|
|
|
|
['heart',6,'lebu'],
|
|
|
|
|
['heart',7,'sha','fire'],
|
|
|
|
|
['heart',7,'tao'],
|
|
|
|
|
['heart',7,'dongzhuxianji'],
|
|
|
|
|
['heart',8,'tao'],
|
|
|
|
|
['heart',8,'shan'],
|
|
|
|
|
['heart',8,'dongzhuxianji'],
|
|
|
|
|
['heart',9,'tao'],
|
|
|
|
|
['heart',9,'shan'],
|
|
|
|
|
['heart',9,'dongzhuxianji'],
|
2021-07-28 08:46:10 +00:00
|
|
|
|
['heart',10,'sha','fire',['yingbian_kongchao','yingbian_damage']],
|
2020-12-19 01:36:50 +00:00
|
|
|
|
['heart',10,'sha'],
|
|
|
|
|
['heart',10,'sha'],
|
|
|
|
|
['heart',11,'sha'],
|
|
|
|
|
['heart',11,'shan'],
|
|
|
|
|
['heart',11,'dongzhuxianji'],
|
|
|
|
|
['heart',12,'tao'],
|
|
|
|
|
['heart',12,'shan'],
|
|
|
|
|
['heart',12,'guohe'],
|
2020-12-25 13:57:32 +00:00
|
|
|
|
['heart',12,'shandian'],
|
2021-07-28 08:46:10 +00:00
|
|
|
|
['heart',13,'wuxie',null,['yingbian_kongchao','yingbian_gain']],
|
2020-12-19 01:36:50 +00:00
|
|
|
|
['heart',13,'shan'],
|
|
|
|
|
['heart',13,'zhuahuang'],
|
|
|
|
|
|
2021-07-28 08:46:10 +00:00
|
|
|
|
['club',1,'juedou'],
|
2020-12-19 01:36:50 +00:00
|
|
|
|
['club',1,'zhuge'],
|
|
|
|
|
['club',1,'huxinjing'],
|
2021-07-28 08:46:10 +00:00
|
|
|
|
['club',2,'sha',null,['yingbian_kongchao','yingbian_add']],
|
2020-12-19 01:36:50 +00:00
|
|
|
|
['club',2,'heiguangkai'],
|
|
|
|
|
['club',2,'tengjia'],
|
2020-12-25 13:57:32 +00:00
|
|
|
|
['club',2,'renwang'],
|
2021-07-28 08:46:10 +00:00
|
|
|
|
['club',3,'sha',null,['yingbian_kongchao','yingbian_add']],
|
2020-12-19 01:36:50 +00:00
|
|
|
|
['club',3,'jiu'],
|
2021-07-28 08:46:10 +00:00
|
|
|
|
['club',3,'zhujinqiyuan',null,['yingbian_zhuzhan','yingbian_add']],
|
|
|
|
|
['club',4,'sha',null,['yingbian_kongchao','yingbian_add']],
|
2020-12-19 01:36:50 +00:00
|
|
|
|
['club',4,'bingliang'],
|
2021-07-28 08:46:10 +00:00
|
|
|
|
['club',4,'zhujinqiyuan',null,['yingbian_zhuzhan','yingbian_add']],
|
|
|
|
|
['club',5,'sha'],
|
2021-02-05 14:52:19 +00:00
|
|
|
|
['club',5,'sha','thunder'],
|
2020-12-19 01:36:50 +00:00
|
|
|
|
['club',5,'dilu'],
|
|
|
|
|
['club',6,'sha'],
|
|
|
|
|
['club',6,'sha','thunder'],
|
|
|
|
|
['club',6,'lebu'],
|
|
|
|
|
['club',7,'sha'],
|
|
|
|
|
['club',7,'sha','thunder'],
|
2021-07-28 08:46:10 +00:00
|
|
|
|
['club',7,'nanman',null,['yingbian_fujia','yingbian_remove']],
|
2020-12-19 01:36:50 +00:00
|
|
|
|
['club',8,'sha'],
|
|
|
|
|
['club',8,'sha','thunder'],
|
2020-12-25 13:57:32 +00:00
|
|
|
|
['club',8,'sha'],
|
2020-12-19 01:36:50 +00:00
|
|
|
|
['club',9,'sha','thunder'],
|
|
|
|
|
['club',9,'sha','thunder'],
|
|
|
|
|
['club',9,'jiu'],
|
|
|
|
|
['club',10,'sha','thunder'],
|
|
|
|
|
['club',10,'sha','thunder'],
|
|
|
|
|
['club',10,'tiesuo'],
|
|
|
|
|
['club',11,'sha'],
|
2021-07-28 08:46:10 +00:00
|
|
|
|
['club',11,'sha',null,['yingbian_canqu','yingbian_add']],
|
2020-12-19 01:36:50 +00:00
|
|
|
|
['club',11,'tiesuo'],
|
|
|
|
|
['club',12,'wuxie'],
|
|
|
|
|
['club',12,'tianjitu'],
|
|
|
|
|
['club',12,'tiesuo'],
|
2021-07-28 08:46:10 +00:00
|
|
|
|
['club',13,'wuxie',null,['yingbian_canqu','yingbian_draw']],
|
2020-12-19 01:36:50 +00:00
|
|
|
|
['club',13,'tongque'],
|
|
|
|
|
['club',13,'tiesuo'],
|
|
|
|
|
|
|
|
|
|
['diamond',1,'juedou'],
|
|
|
|
|
['diamond',1,'zhuge'],
|
|
|
|
|
['diamond',1,'wuxinghelingshan'],
|
|
|
|
|
['diamond',2,'tao'],
|
2021-07-28 08:46:10 +00:00
|
|
|
|
['diamond',2,'shan',null,['yingbian_kongchao','yingbian_draw']],
|
|
|
|
|
['diamond',2,'shan',null,['yingbian_kongchao','yingbian_draw']],
|
2020-12-19 01:36:50 +00:00
|
|
|
|
['diamond',3,'tao'],
|
|
|
|
|
['diamond',3,'shan'],
|
|
|
|
|
['diamond',3,'shunshou'],
|
2021-07-28 08:46:10 +00:00
|
|
|
|
['diamond',4,'sha','fire',['yingbian_kongchao','yingbian_damage']],
|
|
|
|
|
['diamond',4,'shan',null,['yingbian_canqu','yingbian_gain']],
|
2020-12-19 01:36:50 +00:00
|
|
|
|
['diamond',4,'shunshou'],
|
|
|
|
|
['diamond',5,'sha','fire'],
|
|
|
|
|
['diamond',5,'shan'],
|
|
|
|
|
['diamond',5,'guanshi'],
|
|
|
|
|
['diamond',6,'sha'],
|
|
|
|
|
['diamond',6,'shan'],
|
|
|
|
|
['diamond',6,'shan'],
|
|
|
|
|
['diamond',7,'sha'],
|
|
|
|
|
['diamond',7,'shan'],
|
|
|
|
|
['diamond',7,'shan'],
|
2021-07-28 08:46:10 +00:00
|
|
|
|
['diamond',8,'sha',null,['yingbian_canqu','yingbian_hit']],
|
2020-12-19 01:36:50 +00:00
|
|
|
|
['diamond',8,'shan'],
|
|
|
|
|
['diamond',8,'shan'],
|
|
|
|
|
['diamond',9,'sha'],
|
|
|
|
|
['diamond',9,'shan'],
|
|
|
|
|
['diamond',9,'jiu'],
|
|
|
|
|
['diamond',10,'sha','fire'],
|
|
|
|
|
['diamond',10,'shan'],
|
|
|
|
|
['diamond',10,'shan'],
|
2021-02-05 14:52:19 +00:00
|
|
|
|
['diamond',11,'shan'],
|
2020-12-19 01:36:50 +00:00
|
|
|
|
['diamond',11,'shan'],
|
|
|
|
|
['diamond',11,'shan'],
|
|
|
|
|
['diamond',12,'tao'],
|
2021-02-05 14:52:19 +00:00
|
|
|
|
['diamond',12,'chuqibuyi'],
|
2020-12-19 01:36:50 +00:00
|
|
|
|
['diamond',12,'wutiesuolian'],
|
|
|
|
|
['diamond',12,'wuxie'],
|
2021-02-05 14:52:19 +00:00
|
|
|
|
['diamond',13,'sha'],
|
2020-12-19 01:36:50 +00:00
|
|
|
|
['diamond',13,'zixin'],
|
|
|
|
|
['diamond',13,'hualiu'],
|
2021-02-28 15:59:11 +00:00
|
|
|
|
|
|
|
|
|
['diamond',5,'muniu'],
|
2020-12-19 01:36:50 +00:00
|
|
|
|
],
|
2020-12-22 13:57:12 +00:00
|
|
|
|
help:{
|
|
|
|
|
'应变篇':('<div style="margin:10px">应变机制</div><ul style="margin-top:0">'+
|
|
|
|
|
'<li>当一名角色声明使用右下角标注了应变条件的卡牌后,若其满足应变条件,则其触发此牌的“应变”效果。<br><li>长按或鼠标右键点击卡牌,即可查看此牌所拥有的应变效果。'+
|
2021-09-23 15:07:50 +00:00
|
|
|
|
'<br><li>应变条件<br><ul style="padding-left:20px;padding-top:5px"><li>空巢:该角色声明使用此牌后,其手牌数为0。<br><li>富甲:该角色声明使用此牌后,其手牌数为全场最多或之一。<br><li>残躯:该角色声明使用此牌后,其体力值为1。<br><li>助战:该角色声明使用此牌后,其发起“助战”。其他角色可弃置一张与此牌类型相同的卡牌,响应此“助战”。若有角色响应,则视为其应变成功。</ul></ul>'),
|
2020-12-22 13:57:12 +00:00
|
|
|
|
},
|
2020-12-19 01:36:50 +00:00
|
|
|
|
}
|
|
|
|
|
});
|