noname/card/yingbian.js

1016 lines
32 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

'use strict';
game.import('card',function(lib,game,ui,get,ai,_status){
return {
name:'yingbian',
connect:true,
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;
},
yingbian_tags:['all','hit','add'],
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;
}
},
content:function(){
var dist=get.distance(player,target);
if(dist>1||card.yingbian_all) player.discardPlayerCard(target,'hej',true);
if(dist<=1||card.yingbian_all) player.gainPlayerCard(target,'hej',true);
},
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;
}
},
yingbian:function(card,player,targets,viewer){
if(get.attitude(viewer,player)<=0) return 0;
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&&current.hasWuxie();
})) base+=3*targets.length;
}
return base;
},
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:{
target:2.5,
},
tag:{
draw:2
}
}
},
chuqibuyi:{
audio:true,
enable:true,
type:'trick',
fullskin:true,
filterTarget:function(card,player,target){
return target!=player&&target.countCards('h')>0;
},
yingbian_prompt:'当你使用此牌选择目标后,你可为此牌增加一个目标',
yingbian_tags:['add'],
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);
if(get.suit(card)!=get.suit(result.cards[0])) target.damage(event.baseDamage||1);
}
},
ai:{
basic:{
order:5,
useful:2,
value:6
},
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;
},
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
}
},
skills:['heiguangkai_skill'],
},
tongque:{
audio:true,
fullskin:true,
type:'equip',
subtype:'equip5',
ai:{
basic:{
equipValue:6.5
}
},
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;
})>0){
player.logSkill('tianjitu_skill');
player.chooseToDiscard(true,function(card){
return card!=_status.event.card;
},'he').set('card',card);
}
},
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){
player.logSkill('tianjitu_skill');
player.drawTo(5);
}
});
},
ai:{
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;
},
basic:{
equipValue:0.5
}
},
},
taigongyinfu:{
audio:true,
fullskin:true,
type:'equip',
subtype:'equip5',
ai:{
basic:{
equipValue:3
}
},
skills:['taigongyinfu_skill','taigongyinfu_link'],
},
},
skill:{
suijiyingbian_skill:{
mod:{
cardname:function(card,player){
if(card.name=='suijiyingbian'&&player.storage.suijiyingbian) return player.storage.suijiyingbian;
},
cardnature:function(card,player){
if(card.name=='suijiyingbian'&&player.storage.suijiyingbian_nature) return player.storage.suijiyingbian_nature;
},
},
trigger:{
player:['useCard1','respond'],
global:'phaseBeginStart',
},
silent:true,
firstDo:true,
filter:function(event,player,name){
if(name=='phaseBeginStart') return true;
var type=get.type(event.card);
return type=='basic'||type=='trick';
},
content:function(){
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;
}
},
},
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){
return event.card.name=='sha'&&!event.target.isLinked();//||event.target.countCards('h'));
},
logTarget:'target',
content:function(){
var target=trigger.target;
if(!target.isLinked()) target.link();
//else player.viewHandcards(target);
},
},
heiguangkai_skill:{
equipSkill:true,
trigger:{target:'useCardToTargeted'},
forced:true,
audio:true,
filter:function(event,player){
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;
}
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);
},
global:'heiguangkai_ai',
},
tongque_skill:{
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');
},
},
tianjitu_skill:{
audio:true,
},
taigongyinfu_skill:{
equipSkill:true,
audio:true,
trigger:{player:'phaseUseEnd'},
direct:true,
filter:function(event,player){
return player.countCards('h')>0;
},
content:function(){
'step 0'
player.chooseCard('h','是否发动【太公阴符】重铸一张手牌?').set('ai',function(card){
return 5-get.value(card);
});
'step 1'
if(result.bool){
player.logSkill('taigongyinfu_skill');
player.lose(result.cards,ui.discardPile,'visible');
player.$throw(result.cards,1000);
game.log(player,'将',result.cards,'置入了弃牌堆');
player.draw();
}
},
},
taigongyinfu_link:{
audio:'taigongyinfu_skill',
trigger:{player:'phaseUseBegin'},
equipSkill:true,
//filter:function(event,player){
// return game.hasPlayer(function(current){
// return !current.isLinked();
// });
//},
direct:true,
content:function(){
'step 0'
player.chooseTarget(
//function(card,player,target){
// return !target.isLinked();
//},
'是否发动【太公阴符】横置或重置一名角色?').set('ai',function(target){
return get.effect(target,{name:'tiesuo'},_status.event.player,_status.event.player);
});
'step 1'
if(result.bool){
var target=result.targets[0];
player.logSkill('taigongyinfu_link',target);
target.link();
}
},
ai:{
expose:0.2,
},
},
_yingbian:{
trigger:{player:'useCard1'},
forced:true,
popup:false,
firstDo:true,
ruleSkill:true,
forceLoad:true,
filter:function(event,player){
if(event.card.yingbian) return false;
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;
if(get.cardtag(card,'yingbian_zhuzhan')) return true;
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;
}
else if(player.hasSkillTag('forceYingbian')){
player.popup('应变','metal');
bool=true;
}
if(bool){
game.log(player,'触发了',card,'的应变条件');
event.goto(10);
}
'step 1'
event._global_waiting=true;
event.send=function(player,card,source,targets,id,id2,skillState){
if(skillState){
player.applySkills(skillState);
}
var type=get.type2(card);
var str=get.translation(source);
if(targets&&targets.length){
str+='对';
str+=get.translation(targets);
}
str+='使用了';
var next=player.chooseCard({
filterCard:function(card){
return get.type2(card)==type&&lib.filter.cardDiscardable.apply(this,arguments);
},
prompt:str+=(get.translation(card)+',是否弃置一张'+get.translation(type)+'为其助战?'),
position:'h',
_global_waiting:true,
id:id,
id2:id2,
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);
},
});
if(game.online){
_status.event._resultid=id;
game.resume();
}
};
'step 2'
var type=get.type2(card);
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){
return get.type2(cardx)==type;
})
});
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();
event.send(event.current,event.card,player,trigger.targets,event.id,trigger.parent.id);
}
'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);
list[i].send(event.send,list[i],event.card,player,trigger.targets,event.id,trigger.parent.id,get.skillState(list[i]));
list.splice(i--,1);
}
else if(list[i]==game.me){
withme=true;
event.send(list[i],event.card,player,trigger.targets,event.id,trigger.parent.id);
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');
target.discard(event.zhuzhanresult2.cards);
target.popup('助战','wood');
game.log(target,'响应了',player,'发起的助战');
target.addExpose(0.2);
}
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,
charlotte:true,
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);
}
},
},
heiguangkai_ai:{
ai:{
effect:{
player:function(card,player,target){
if(typeof card!='object'||!target||get.name(card)!='sha'&&(get.type(card)!='trick'||(get.color(card)!='black'&&!get.tag(card,'damage')))) return;
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];
},
},
},
},
},
translate:{
suijiyingbian:'随机应变',
suijiyingbian_info:'此牌的牌名视为你本回合内使用或打出的上一张基本牌或普通锦囊牌的牌名。',
zhujinqiyuan:'逐近弃远',
zhujinqiyuan_info:'出牌阶段对一名有牌的其他角色使用。若你至其距离的大于1你弃置其区域内的一张牌。若你至其的距离等于1你获得其区域内的一张牌。',
dongzhuxianji:'洞烛先机',
dongzhuxianji_info:'出牌阶段对包含你在内的一名角色使用。目标角色卜算2然后摸两张牌。',
chuqibuyi:'出其不意',
chuqibuyi_info:'出牌阶段对一名有手牌的其他角色使用。你展示其一张手牌若此牌与【出其不意】的花色不同则你对其造成1点伤害。',
wuxinghelingshan:'五行鹤翎扇',
wuxinghelingshan_skill:'五行鹤翎扇',
wuxinghelingshan_info:'当你声明使用不为神属性的属性【杀】时,你可将此【杀】的属性改为不为神属性的其他属性。',
wutiesuolian:'乌铁锁链',
wutiesuolian_skill:'乌铁锁链',
wutiesuolian_info:'锁定技,当你使用【杀】指定目标后,若其未横置,则其横置。',
heiguangkai:'黑光铠',
heiguangkai_skill:'黑光铠',
heiguangkai_info:'锁定技当你成为【杀】或伤害类锦囊牌或黑色普通锦囊牌的目标后若此牌的目标数大于1则你令此牌对你无效。',
tongque:'铜雀',
tongque_skill:'铜雀',
tongque_info:'锁定技,你于一回合内使用的第一张带有“应变”效果的牌无视条件直接生效。',
tianjitu:'天机图',
tianjitu_skill:'天机图',
tianjitu_info:'锁定技,当此牌进入你的装备区时,你弃置一张不为此【天机图】的牌。当此牌离开你的装备区后,你将手牌摸至五张。',
taigongyinfu:'太公阴符',
taigongyinfu_info:'出牌阶段开始时,你可以横置或重置一名角色。出牌阶段结束时,你可以重铸一张手牌。',
taigongyinfu_skill:'太公阴符',
taigongyinfu_link:'太公阴符',
yingbian_zhuzhan_tag:'助战',
yingbian_kongchao_tag:'空巢',
yingbian_fujia_tag:'富甲',
yingbian_canqu_tag:'残躯',
_yingbian:'应变',
yingbian_changeTarget:'应变',
yingbian_add_tag:'(目标+)',
yingbian_remove_tag:'(目标-)',
yingbian_draw_tag:'(摸牌)',
yingbian_all_tag:'(双项)',
yingbian_hit_tag:'(强命)',
yingbian_gain_tag:'(反甲)',
yingbian_damage_tag:'(伤害+)',
},
list:[
['spade',1,'juedou'],
['spade',1,'taigongyinfu'],
['spade',1,'guding'],
['spade',2,'cixiong'],
['spade',2,'bagua'],
['spade',2,'tengjia'],
['spade',2,'suijiyingbian'],
['spade',3,'jiu'],
['spade',3,'zhujinqiyuan'],
['spade',3,'shuiyanqijunx',null,['yingbian_zhuzhan','yingbian_add']],
['spade',4,'sha','thunder'],
['spade',4,'guohe'],
['spade',4,'shuiyanqijunx',null,['yingbian_zhuzhan','yingbian_add']],
['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'],
['spade',7,'nanman',null,['yingbian_fujia','yingbian_remove']],
['spade',8,'sha','ice'],
['spade',8,'sha','ice'],
['spade',8,'sha','ice'],
['spade',9,'sha',null,['yingbian_canqu','yingbian_add']],
['spade',9,'sha',null,['yingbian_canqu','yingbian_add']],
['spade',9,'jiu'],
['spade',10,'sha'],
['spade',10,'sha',null,['yingbian_zhuzhan','yingbian_add']],
['spade',10,'bingliang'],
['spade',11,'wuxie'],
['spade',11,'shunshou'],
['spade',11,'tiesuo'],
['spade',12,'zhujinqiyuan',null,['yingbian_fujia','yingbian_hit']],
['spade',12,'tiesuo'],
['spade',12,'zhangba'],
['spade',13,'wuxie',null,['yingbian_kongchao','yingbian_draw']],
['spade',13,'nanman',null,['yingbian_fujia','yingbian_remove']],
['spade',13,'dawan'],
['heart',1,'taoyuan',null,['yingbian_fujia','yingbian_remove']],
['heart',1,'wanjian',null,['yingbian_fujia','yingbian_remove']],
['heart',1,'wuxie'],
['heart',2,'shan',null,['yingbian_kongchao','yingbian_draw']],
['heart',2,'shan',null,['yingbian_kongchao','yingbian_draw']],
['heart',2,'guohe',null,['yingbian_zhuzhan','yingbian_add']],
['heart',3,'wugu'],
['heart',3,'tao'],
['heart',3,'chuqibuyi'],
['heart',4,'sha','fire'],
['heart',4,'tao'],
['heart',4,'wugu'],
['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'],
['heart',10,'sha','fire',['yingbian_kongchao','yingbian_damage']],
['heart',10,'sha'],
['heart',10,'sha'],
['heart',11,'sha'],
['heart',11,'shan'],
['heart',11,'dongzhuxianji'],
['heart',12,'tao'],
['heart',12,'shan'],
['heart',12,'guohe'],
['heart',12,'shandian'],
['heart',13,'wuxie',null,['yingbian_kongchao','yingbian_gain']],
['heart',13,'shan'],
['heart',13,'zhuahuang'],
['club',1,'juedou'],
['club',1,'zhuge'],
['club',1,'huxinjing'],
['club',2,'sha',null,['yingbian_kongchao','yingbian_add']],
['club',2,'heiguangkai'],
['club',2,'tengjia'],
['club',2,'renwang'],
['club',3,'sha',null,['yingbian_kongchao','yingbian_add']],
['club',3,'jiu'],
['club',3,'zhujinqiyuan',null,['yingbian_zhuzhan','yingbian_add']],
['club',4,'sha',null,['yingbian_kongchao','yingbian_add']],
['club',4,'bingliang'],
['club',4,'zhujinqiyuan',null,['yingbian_zhuzhan','yingbian_add']],
['club',5,'sha'],
['club',5,'sha','thunder'],
['club',5,'dilu'],
['club',6,'sha'],
['club',6,'sha','thunder'],
['club',6,'lebu'],
['club',7,'sha'],
['club',7,'sha','thunder'],
['club',7,'nanman',null,['yingbian_fujia','yingbian_remove']],
['club',8,'sha'],
['club',8,'sha','thunder'],
['club',8,'sha'],
['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'],
['club',11,'sha',null,['yingbian_canqu','yingbian_add']],
['club',11,'tiesuo'],
['club',12,'wuxie'],
['club',12,'tianjitu'],
['club',12,'tiesuo'],
['club',13,'wuxie',null,['yingbian_canqu','yingbian_draw']],
['club',13,'tongque'],
['club',13,'tiesuo'],
['diamond',1,'juedou'],
['diamond',1,'zhuge'],
['diamond',1,'wuxinghelingshan'],
['diamond',2,'tao'],
['diamond',2,'shan',null,['yingbian_kongchao','yingbian_draw']],
['diamond',2,'shan',null,['yingbian_kongchao','yingbian_draw']],
['diamond',3,'tao'],
['diamond',3,'shan'],
['diamond',3,'shunshou'],
['diamond',4,'sha','fire',['yingbian_kongchao','yingbian_damage']],
['diamond',4,'shan',null,['yingbian_canqu','yingbian_gain']],
['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'],
['diamond',8,'sha',null,['yingbian_canqu','yingbian_hit']],
['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'],
['diamond',11,'shan'],
['diamond',11,'shan'],
['diamond',11,'shan'],
['diamond',12,'tao'],
['diamond',12,'chuqibuyi'],
['diamond',12,'wutiesuolian'],
['diamond',12,'wuxie'],
['diamond',13,'sha'],
['diamond',13,'zixin'],
['diamond',13,'hualiu'],
['diamond',5,'muniu'],
],
help:{
'应变篇':('<div style="margin:10px">应变机制</div><ul style="margin-top:0">'+
'<li>当一名角色声明使用右下角标注了应变条件的卡牌后,若其满足应变条件,则其触发此牌的“应变”效果。<br><li>长按或鼠标右键点击卡牌,即可查看此牌所拥有的应变效果。'+
'<br><li>应变条件<br><ul style="padding-left:20px;padding-top:5px"><li>空巢该角色声明使用此牌后其手牌数为0。<br><li>富甲:该角色声明使用此牌后,其手牌数为全场最多或之一。<br><li>残躯该角色声明使用此牌后其体力值为1。<br><li>助战:该角色声明使用此牌后,其发起“助战”。其他角色可弃置一张与此牌类型相同的卡牌,响应此“助战”。若有角色响应,则视为其应变成功。</ul></ul>'),
},
}
});