noname/card/guozhan.js

940 lines
24 KiB
JavaScript
Raw Normal View History

2015-05-14 09:23:45 +00:00
'use strict';
2015-04-29 03:25:17 +00:00
card.guozhan={
2016-04-19 08:57:06 +00:00
connect:true,
2015-04-29 03:25:17 +00:00
card:{
2016-06-25 06:30:34 +00:00
yuxi:{
mode:['guozhan'],
fullskin:true,
type:'equip',
subtype:'equip5',
skills:['yuxi_skill'],
ai:{
equipValue:9
}
},
xietianzi:{
fullskin:true,
type:'trick',
lianheng:true,
enable:function(card,player){
if(get.mode()=='guozhan'&&!player.isMajor()) return false;
return _status.event.getParent().name=='phaseUse';
},
filterTarget:function(card,player,target){
return player==target;
},
selectTarget:-1,
content:function(){
2017-02-04 15:59:46 +00:00
var evt=_status.event.getParent('phaseUse');
if(evt&&evt.name=='phaseUse'){
evt.skipped=true;
2016-06-25 06:30:34 +00:00
}
target.addSkill('xietianzi');
},
ai:{
order:0.5,
2016-06-25 07:02:11 +00:00
value:4,
useful:2,
2016-06-25 06:30:34 +00:00
result:{
target:function(player,target){
if(target.num('he')>=2) return 1;
return 0;
}
}
}
},
shuiyanqijunx:{
fullskin:true,
type:'trick',
filterTarget:function(card,player,target){
return target!=player&&target.num('e')>0;
},
enable:true,
content:function(){
'step 0'
target.chooseControl('discard_card','take_damage',function(event,player){
if(ai.get.damageEffect(player,event.player,player,'thunder')>=0){
return 'take_damage';
}
if(player.hp>=3&&player.num('e')>=2){
return 'take_damage';
}
return 'discard_card';
});
'step 1'
if(result.control=='discard_card'){
target.discard(target.get('e'));
}
else{
target.damage('thunder');
}
},
ai:{
2016-06-25 07:02:11 +00:00
order:7,
value:4,
useful:2,
2016-07-01 07:34:40 +00:00
tag:{
damage:1,
thunderDamage:1,
natureDamage:1
},
2016-06-25 06:30:34 +00:00
result:{
target:function(player,target){
2016-07-01 07:34:40 +00:00
return -target.num('e');
2016-06-25 06:30:34 +00:00
}
}
}
},
lulitongxin:{
fullskin:true,
type:'trick',
enable:function(card,player){
for(var i=0;i<game.players.length;i++){
if(game.players[i].isMajor()) return true;
}
return false;
},
mode:['guozhan'],
filterTarget:true,
chongzhu:true,
changeTarget:function(player,targets){
var target=targets[0];
for(var i=0;i<game.players.length;i++){
if(game.players[i].isMajor()==target.isMajor()&&game.players[i]!=target){
targets.push(game.players[i]);
}
}
},
content:function(){
if(target.isLinked()){
target.draw();
}
else{
target.link();
}
},
ai:{
order:7.5,
2016-06-25 07:02:11 +00:00
value:4,
useful:2,
2016-06-25 06:30:34 +00:00
wuxie:function(){
return 0;
},
result:{
player:function(player,target){
var num=0;
for(var i=0;i<game.players.length;i++){
if(target.isMajor()==game.players[i].isMajor()){
2016-06-25 10:42:22 +00:00
if(game.players[i].isLinked()){
2016-06-25 06:30:34 +00:00
num+=ai.get.attitude(player,target);
}
else{
num-=ai.get.attitude(player,target)*0.8;
}
}
}
return num;
}
}
}
},
lianjunshengyan:{
fullskin:true,
type:'trick',
enable:function(card,player){
return !player.isUnseen();
},
mode:['guozhan'],
filterTarget:function(card,player,target){
return target.identity!='unknown'&&(target.identity!=player.identity||target.identity=='ye');
},
changeTarget:function(player,targets){
var target=targets[0];
targets.push(player);
if(target.identity!='ye'){
for(var i=0;i<game.players.length;i++){
if(target!=game.players[i]&&target.identity==game.players[i].identity){
targets.push(game.players[i]);
}
}
}
},
content:function(){
'step 0'
if(target==player){
target.draw(targets.length-1);
event.finish();
}
else if(target.hp==target.maxHp){
event.directdraw=true;
}
else{
target.chooseControl('draw_card','recover_hp',function(event,target){
if(target.hp>=2||target.hp>=target.maxHp-1) return 'draw_card';
if(target.hp==2&&target.num('h')==0) return 'draw_card';
return 'recover_hp';
});
}
'step 1'
if(!event.directdraw&&result&&result.control=='recover_hp'){
target.recover();
event.finish();
}
else{
target.draw();
}
'step 2'
if(target.isLinked()){
target.link();
}
},
ai:{
order:3,
2016-06-25 07:02:11 +00:00
value:4,
useful:2,
2016-06-25 06:30:34 +00:00
result:{
player:0.8,
target:1
}
}
},
chiling:{
fullskin:true,
type:'trick',
enable:true,
mode:['guozhan'],
filterTarget:function(card,player,target){
return target.isUnseen();
},
selectTarget:-1,
2017-02-04 08:02:35 +00:00
chooseai:function(event,player){
if(_status.event.controls.contains('选项三')){
return Math.random()<0.5?'选项一':'选项三';
}
else{
if(player.hasSkillTag('maixie')||player.hp<=2) return '选项一';
return Math.random()<0.5?'选项一':'选项二';
}
},
2016-06-25 06:30:34 +00:00
content:function(){
'step 0'
2017-02-04 08:02:35 +00:00
var choiceList=['明置一张武将牌,然后摸一张牌','失去1点体力'];
2016-06-25 06:30:34 +00:00
if(target.num('he',{type:'equip'})){
2017-02-04 08:02:35 +00:00
choiceList.push('弃置一张装备牌');
2016-06-25 06:30:34 +00:00
}
2017-02-04 08:02:35 +00:00
target.chooseControl(lib.card.chiling.chooseai).set('prompt','敕令').set('choiceList',choiceList);
2016-06-25 06:30:34 +00:00
'step 1'
if(result.control=='选项一'){
target.showCharacter(2);
target.draw();
}
else if(result.control=='选项二'){
target.loseHp();
}
else{
target.chooseToDiscard('he',{type:'equip'},true);
}
2016-06-25 07:02:11 +00:00
},
ai:{
order:6,
result:{
target:-1
}
2016-06-25 06:30:34 +00:00
}
},
diaohulishan:{
fullskin:true,
type:'trick',
lianheng:true,
enable:true,
filterTarget:function(card,player,target){
return target!=player;
},
content:function(){
target.addTempSkill('diaohulishan','phaseAfter');
},
ai:{
order:10,
2016-06-25 07:02:11 +00:00
value:4,
useful:2,
2016-06-25 10:42:22 +00:00
wuxie:function(){
return 0;
},
2016-06-25 06:30:34 +00:00
result:{
2016-06-25 10:42:22 +00:00
player:function(player,target){
2017-01-23 06:37:21 +00:00
var att=ai.get.attitude(player,target);
if(target.hp==1&&att<0) return 0;
2016-06-25 06:30:34 +00:00
for(var i=0;i<game.players.length;i++){
if(game.players[i]==target) continue;
2017-01-23 06:37:21 +00:00
if(ai.get.attitude(player,game.players[i])<att){
var num=1;
2016-06-25 06:30:34 +00:00
if(target==player.next||target==player.previous){
2017-01-23 06:37:21 +00:00
num+=0.5;
2016-06-25 06:30:34 +00:00
}
2017-01-23 06:37:21 +00:00
return num;
2016-06-25 06:30:34 +00:00
}
}
return 0;
}
}
}
},
huxinjing:{
lianheng:true,
fullskin:true,
type:"equip",
subtype:"equip2",
skills:['huxinjing'],
ai:{
basic:{
equipValue:6
},
},
},
huoshaolianying:{
fullskin:true,
type:'trick',
lianheng:true,
filterTarget:function(card,player,target){
if(get.mode()=='guozhan'){
var next=player.getNext();
return target==next||target.inline(next);
}
if(player==target) return false;
var link=false;
for(var i=0;i<game.players.length;i++){
if(game.players[i].isLinked()&&game.players[i]!=player){
link=true;break;
}
}
if(link){
if(!target.isLinked()) return false;
var distance=get.distance(player,target,'absolute');
for(var i=0;i<game.players.length;i++){
if(target!=game.players[i]&&
game.players[i]!=player&&
game.players[i].isLinked()){
if(get.distance(player,game.players[i],'absolute')<distance){
return false;
}
if(get.distance(player,game.players[i],'absolute')==distance&&
parseInt(game.players[i].dataset.position)<parseInt(target.dataset.position)){
return false;
}
}
}
return true;
}
else{
var dist=get.distance(player,target);
for(var i=0;i<game.players.length;i++){
if(game.players[i]!=player&&get.distance(player,game.players[i])<dist) return false;
}
return true;
}
},
enable:true,
selectTarget:-1,
content:function(){
target.damage('fire');
},
ai:{
order:5,
value:6,
tag:{
damage:1,
natureDamage:1,
fireDamage:1,
},
result:{
target:function(player,target){
if(target.hasSkillTag('nofire')||target.hasSkillTag('nodamage')) return 0;
2016-08-12 08:26:31 +00:00
if(target.hasSkill('xuying')&&target.num('h')==0) return 0;
2016-06-25 06:30:34 +00:00
if(!target.isLinked()){
return ai.get.damageEffect(target,player,target,'fire');
}
var num=0;
for(var i=0;i<game.players.length;i++){
if(game.players[i].isLinked()){
var eff=ai.get.damageEffect(game.players[i],player,target,'fire');
if(eff>0){
num++;
}
else if(eff<0){
num--;
}
}
}
return num;
}
}
}
},
2015-04-29 03:25:17 +00:00
yuanjiao:{
2015-11-01 07:54:42 +00:00
audio:true,
2015-04-29 03:25:17 +00:00
fullskin:true,
type:'trick',
2016-06-25 06:30:34 +00:00
enable:function(card,player){
if(get.mode()=='guozhan'&&player.isUnseen()) return false;
return true;
},
2015-04-29 03:25:17 +00:00
filterTarget:function(card,player,target){
2016-04-19 08:57:06 +00:00
if(get.mode()!='guozhan') return player!=target;
2015-04-29 03:25:17 +00:00
if(target.identity=='unknown'||player.identity=='unknown') return false;
if(player==target) return false;
if(player.identity=='ye') return true;
return player.identity!=target.identity;
},
content:function(){
2016-04-19 08:57:06 +00:00
game.asyncDraw([target,player],[1,get.mode()=='guozhan'?3:1]);
2015-04-29 03:25:17 +00:00
},
ai:{
basic:{
useful:4,
value:8,
order:9
},
result:{
target:1,
player:3,
},
},
},
zhibi:{
2015-11-01 07:54:42 +00:00
audio:true,
2015-04-29 03:25:17 +00:00
fullskin:true,
type:'trick',
enable:true,
chongzhu:true,
filterTarget:function(card,player,target){
if(player==target) return false;
return (target.get('h').length||
target.classList.contains('unseen')||
target.classList.contains('unseen2'))
},
content:function(){
"step 0"
if(!player.storage.zhibi){
player.storage.zhibi=[];
}
2016-04-19 08:57:06 +00:00
player.storage.zhibi.add(target);
2015-04-29 03:25:17 +00:00
var controls=[];
if(target.get('h').length) controls.push('手牌');
if(target.classList.contains('unseen')) controls.push('主将');
if(target.classList.contains('unseen2')) controls.push('副将');
if(controls.length>1){
player.chooseControl(controls);
}
if(controls.length==0) event.finish();
"step 1"
var content;
2016-04-19 08:57:06 +00:00
var str=get.translation(target)+'的';
2015-04-29 03:25:17 +00:00
if(result.control){
2017-02-01 15:42:44 +00:00
if(result.control=='手牌'){
content=[str+'手牌',target.get('h')];
game.log(player,'观看了',target,'的手牌');
}
else if(result.control=='主将'){
content=[str+'主将',[[target.name1],'character']];
game.log(player,'观看了',target,'的主将');
}
else{
content=[str+'副将',[[target.name2],'character']];
game.log(player,'观看了',target,'的副将');
}
2015-04-29 03:25:17 +00:00
}
else if(target.get('h').length){
2016-04-19 08:57:06 +00:00
content=[str+'手牌',target.get('h')];
2017-02-01 15:42:44 +00:00
game.log(player,'观看了',target,'的手牌');
2015-04-29 03:25:17 +00:00
}
else if(target.classList.contains('unseen')){
2016-04-19 08:57:06 +00:00
content=[str+'主将',[[target.name1],'character']];
2017-02-01 15:42:44 +00:00
game.log(player,'观看了',target,'的主将');
2015-04-29 03:25:17 +00:00
}
else{
2016-04-19 08:57:06 +00:00
content=[str+'副将',[[target.name2],'character']];
2017-02-01 15:42:44 +00:00
game.log(player,'观看了',target,'的副将');
2015-04-29 03:25:17 +00:00
}
2016-04-19 08:57:06 +00:00
player.chooseControl('ok').set('dialog',content);
2015-04-29 03:25:17 +00:00
},
mode:['guozhan'],
ai:{
order:9.5,
2016-04-19 08:57:06 +00:00
wuxie:function(){
return 0;
},
2015-04-29 03:25:17 +00:00
result:{
player:function(player,target){
if(player.num('h')<=player.hp) return 0;
if(player.storage.zhibi&&player.storage.zhibi.contains(target)) return 0;
return target.isUnseen()?1:0;
}
}
}
},
yiyi:{
2015-11-01 07:54:42 +00:00
audio:true,
2015-04-29 03:25:17 +00:00
fullskin:true,
type:'trick',
enable:true,
filterTarget:function(card,player,target){
2016-04-19 08:57:06 +00:00
if(get.mode()=='guozhan'){
2016-03-21 09:05:16 +00:00
if(player.identity=='unknown'||player.identity=='ye') return player==target;
return player.identity==target.identity;
}
else{
return true;
}
},
selectTarget:function(){
2016-04-19 08:57:06 +00:00
if(get.mode()=='guozhan') return -1;
2016-03-21 09:05:16 +00:00
return [1,3];
2015-04-29 03:25:17 +00:00
},
content:function(){
2016-03-21 09:05:16 +00:00
target.draw(2);
2015-04-29 03:25:17 +00:00
target.chooseToDiscard(2,'he',true).ai=ai.get.disvalue;
},
ai:{
2015-05-14 09:23:45 +00:00
wuxie:function(){
2016-03-22 06:45:57 +00:00
return 0;
},
2015-04-29 03:25:17 +00:00
basic:{
2016-03-21 09:05:16 +00:00
useful:3,
value:3,
order:5
2015-04-29 03:25:17 +00:00
},
result:{
target:function(player,target){
2017-01-20 05:34:31 +00:00
var hs=target.get('h');
if(hs.length<=1){
if(target==player&&hs[0].name=='yiyi'){
2016-03-21 09:05:16 +00:00
return 0;
}
return 0.3;
2015-04-29 03:25:17 +00:00
}
return 1;
},
},
},
// mode:['guozhan'],
},
wuliu:{
fullskin:true,
type:'equip',
subtype:'equip1',
distance:{attackFrom:-1},
ai:{
basic:{
equipValue:function(card,player){
if(player.identity=='unknown'||player.identity=='ye') return 2.5;
var num=2;
for(var i=0;i<game.players.length;i++){
if(game.players[i].identity==player.identity) num+=0.5;
}
return num;
}
}
},
skills:['wuliu_skill'],
mode:['guozhan'],
},
sanjian:{
fullskin:true,
type:'equip',
subtype:'equip1',
distance:{attackFrom:-2},
ai:{
basic:{
equipValue:4
}
},
skills:['sanjian_skill']
},
jingfanma:{
fullskin:true,
type:'equip',
subtype:'equip4',
2016-06-25 06:30:34 +00:00
lianheng:true,
2015-04-29 03:25:17 +00:00
distance:{globalFrom:-1},
},
},
skill:{
2016-06-25 06:30:34 +00:00
yuxi_skill:{
trigger:{player:'phaseDrawBegin'},
forced:true,
content:function(){
trigger.num++;
},
ai:{
threaten:1.3
},
group:'yuxi_skill2'
},
yuxi_skill2:{
trigger:{player:'phaseUseBegin'},
forced:true,
filter:function(event,player){
for(var i=0;i<game.players.length;i++){
if(player.canUse({name:'zhibi'},game.players[i])) return true;
}
return false;
},
content:function(){
'step 0'
player.chooseTarget('玉玺:选择知己知彼的目标',function(card,player,target){
return player.canUse({name:'zhibi'},target);
},true).set('ai',function(target){
var player=_status.event.player;
return ai.get.effect(target,{name:'zhibi'},player,player);
});
'step 1'
if(result.bool){
player.useCard({name:'zhibi'},result.targets);
}
}
},
xietianzi:{
trigger:{player:'phaseAfter'},
filter:function(event,player){
2016-07-01 01:31:02 +00:00
return player.hasSkill('xietianzi');
2016-06-25 06:30:34 +00:00
},
forced:true,
popup:false,
2017-01-28 12:29:36 +00:00
priority:-50,
2016-06-25 06:30:34 +00:00
content:function(){
"step 0"
player.removeSkill('xietianzi');
2016-07-01 01:31:02 +00:00
if(player.num('he')>0){
player.chooseToDiscard('he','是否弃置一张牌并获得一个额外回合?').set('ai',function(card){
return 10-ai.get.value(card);
});
}
else{
event.finish();
}
2016-06-25 06:30:34 +00:00
"step 1"
if(result.bool){
player.phase();
}
},
},
_chiling1:{
mode:['guozhan'],
trigger:{player:'discardAfter'},
filter:function(event,player){
for(var i=0;i<event.cards.length;i++){
if(event.cards[i].name=='chiling'&&get.position(event.cards[i])=='d'){
return true;
}
}
return false;
},
forced:true,
popup:false,
content:function(){
var cards=[];
for(var i=0;i<trigger.cards.length;i++){
if(trigger.cards[i].name=='chiling'&&get.position(trigger.cards[i])=='d'){
cards.push(trigger.cards[i]);
}
}
if(cards.length){
for(var i=0;i<cards.length;i++){
cards[i].remove();
}
_status.chiling=true;
player.popup('敕令');
}
},
},
_chiling2:{
mode:['guozhan'],
trigger:{player:'judgeAfter'},
forced:true,
popup:false,
filter:function(event,player){
if(event.result.card.parentNode.id!='discardPile') return false;
return event.result.card.name=='chiling';
},
content:function(){
_status.chiling=true;
trigger.result.card.remove();
player.popup('敕令');
}
},
_chiling3:{
mode:['guozhan'],
trigger:{player:'phaseAfter'},
forced:true,
popup:false,
filter:function(){
return _status.chiling;
},
content:function(){
'step 0'
2016-06-25 16:38:59 +00:00
_status.chiling=false;
2016-06-25 06:30:34 +00:00
var targets=game.filterPlayer(function(target){
return target.isUnseen();
});
targets.sort(lib.sort.seat);
event.targets=targets;
'step 1'
if(event.targets.length){
var target=event.targets.shift();
event.current=target;
2017-02-04 08:02:35 +00:00
var choiceList=['明置一张武将牌,然后摸一张牌','失去1点体力'];
2016-06-25 06:30:34 +00:00
if(target.num('he',{type:'equip'})){
2017-02-04 08:02:35 +00:00
choiceList.push('弃置一张装备牌');
2016-06-25 06:30:34 +00:00
}
2017-02-04 08:02:35 +00:00
target.chooseControl(lib.card.chiling.chooseai).set('prompt','敕令').set('choiceList',choiceList);
2016-06-25 06:30:34 +00:00
}
else{
event.finish();
}
'step 2'
var target=event.current;
if(result.control=='选项一'){
target.showCharacter(2);
target.draw();
}
else if(result.control=='选项二'){
target.loseHp();
}
else{
target.chooseToDiscard('he',{type:'equip'},true);
}
'step 3'
event.goto(1);
}
},
_diaohulishan:{
trigger:{player:'useCardAfter'},
forced:true,
popup:false,
filter:function(event,player){
return event.card.name=='diaohulishan';
},
content:function(){
player.draw();
}
},
diaohulishan:{
mod:{
cardEnabled:function(){
return false;
},
2016-07-01 07:34:40 +00:00
cardSavable:function(){
return false;
},
2016-06-25 06:30:34 +00:00
targetEnabled:function(){
return false;
}
},
mark:true,
intro:{
content:'不计入距离的计算且不能使用牌且不是牌的合法目标'
},
group:'undist'
},
huxinjing:{
trigger:{player:'damageBegin'},
priority:10,
forced:true,
filter:function(event){
return event.num>0;
},
content:function(){
trigger.num--;
player.addSkill('huxinjing2');
}
},
huxinjing2:{
trigger:{player:'damageEnd'},
priority:10,
forced:true,
popup:false,
content:function(){
2017-02-06 06:56:22 +00:00
var card=player.getEquip('huxinjing');
if(card){
2016-07-19 07:32:04 +00:00
player.discard(card);
2016-06-25 06:30:34 +00:00
}
}
},
_lianheng:{
mode:['guozhan'],
enable:'phaseUse',
prompt:'将可连横的牌交给一名与你势力不同的角色,或未确定势力的角色,若你交给与你势力不同的角色,则你摸一张牌',
filter:function(event,player){
return (player.get('h',function(card){
return get.info(card).lianheng;
}).length);
},
filterCard:function(card){
return get.info(card).lianheng;
},
filterTarget:function(card,player,target){
if(target==player) return false;
if(player.isUnseen()) return target.isUnseen();
if(player.identity=='ye') return true;
return target.identity!=player.identity;
},
2017-01-14 04:56:52 +00:00
prepare:'give',
2016-06-25 06:30:34 +00:00
discard:false,
2016-06-25 16:38:59 +00:00
// delay:0.5,
2016-06-25 06:30:34 +00:00
content:function(){
"step 0"
2017-01-13 18:51:13 +00:00
target.gain(cards,player);
2016-06-25 06:30:34 +00:00
"step 1"
if(!target.isUnseen()){
player.draw();
}
},
ai:{
basic:{
order:2
},
result:{
player:function(player,target){
if(target.isUnseen()) return 0;
return 0.5;
},
2016-07-01 01:31:02 +00:00
target:function(player,target){
if(target.isUnseen()) return 0;
return 1;
}
2016-06-25 06:30:34 +00:00
},
}
},
2016-02-18 06:22:24 +00:00
wuliu_skill:{},
_wuliu_skill2:{
2015-04-29 03:25:17 +00:00
mod:{
attackFrom:function(from,to,distance){
for(var i=0;i<game.players.length;i++){
if(game.players[i]==from) continue;
if(game.players[i].identity=='unknown'||game.players[i].identity=='ye') continue;
if(game.players[i].identity!=from.identity) continue;
2016-04-19 08:57:06 +00:00
if(game.players[i].num('e','wuliu')) distance--;
2015-04-29 03:25:17 +00:00
}
return distance;
}
}
},
sanjian_skill:{
2015-05-14 09:23:45 +00:00
audio:true,
2015-04-29 03:25:17 +00:00
trigger:{source:'damageAfter'},
direct:true,
filter:function(event,player){
if(player.num('h')==0) return false;
if(!event.card) return false;
if(event.card.name!='sha') return false;
var num=0;
for(var i=0;i<game.players.length;i++){
2016-04-19 08:57:06 +00:00
if(game.players[i]!=event.player&&get.distance(event.player,game.players[i])<=1) num++;
2015-04-29 03:25:17 +00:00
}
2016-04-19 08:57:06 +00:00
return num>0;
2015-04-29 03:25:17 +00:00
},
content:function(){
"step 0"
var damaged=trigger.player;
player.chooseCardTarget({
2017-01-13 16:02:19 +00:00
filterCard:lib.filter.cardDiscardable,
2015-04-29 03:25:17 +00:00
filterTarget:function(card,player,target){
2016-04-19 08:57:06 +00:00
var damaged=_status.event.damaged;
2015-04-29 03:25:17 +00:00
return get.distance(damaged,target)<=1&&target!=damaged;
},
ai1:function(card){
return 9-ai.get.value(card);
},
ai2:function(target){
2016-04-19 08:57:06 +00:00
var player=_status.event.player;
2015-04-29 03:25:17 +00:00
return ai.get.damageEffect(target,player,player);
},
2016-09-20 05:06:35 +00:00
prompt:get.prompt('sanjian')
2016-04-19 08:57:06 +00:00
}).set('damaged',damaged);
2015-04-29 03:25:17 +00:00
"step 1"
if(result.bool){
2015-12-31 07:03:13 +00:00
player.logSkill('sanjian_skill',result.targets);
2015-04-29 03:25:17 +00:00
player.discard(result.cards);
result.targets[0].damage();
}
}
},
},
translate:{
2016-06-25 06:30:34 +00:00
yuxi_skill:'玉玺',
yuxi_skill2:'玉玺',
yuxi:'玉玺',
yuxi_info:'锁定技,若你有明置的武将牌,你的势力视为唯一的大势力;锁定技,摸牌阶段,若你有明置的武将牌,你多摸一张牌;锁定技,出牌阶段开始时,若你有明置的武将牌,你视为使用【知己知彼】',
xietianzi:'挟令',
xietianzi_info:'出牌阶段,对自己使用。你结束出牌阶段,若如此做,此回合结束时,你可以弃置一张牌,获得一个额外的回合',
xietianzi_info_guozhan:'出牌阶段,对为大势力角色的你使用。你结束出牌阶段,若如此做,此回合结束时,你可以弃置一张牌,获得一个额外的回合',
shuiyanqijunx:'水淹七军',
shuiyanqijunx_info:'出牌阶段对一名装备区里有牌的其他角色使用。目标角色选择一项1、弃置装备区里的所有牌2、受到你造成的1点雷电伤害',
lulitongxin:'勠力同心',
lulitongxin_info:'出牌阶段,对所有大势力角色或所有小势力角色使用。若目标角色:不处于“连环状态”,其横置;处于“连环状态”,其摸一张牌',
lianjunshengyan:'联军盛宴',
lianjunshengyan_info:'出牌阶段对你和你选择的除你的势力外的一个势力的所有角色。若目标角色为你你摸X张牌X为该势力的角色数不为你其选择一项1、回复1点体力2、摸一张牌然后重置',
chiling:'敕令',
chiling_info:'出牌阶段对所有没有势力的角色使用。目标角色选择一项1、明置一张武将牌然后摸一张牌2、弃置一张装备牌3、失去1点体力。当【敕令】因判定或弃置而置入弃牌堆时系统将之移出游戏然后系统于当前回合结束后视为对所有没有势力的角色使用【敕令】',
diaohulishan:'调虎离山',
diaohulishan_info:'出牌阶段,对至多两名其他角色使用。目标角色于此回合结束之前不计入距离的计算且不能使用牌且不是牌的合法目标。此牌结算结束时,你摸一张牌',
_lianheng:'连横',
huoshaolianying:'火烧连营',
huoshaolianying_bg:'烧',
huoshaolianying_info_guozhan:'出牌阶段,对你的下家和与其处于同一队列的角色使用,每名角色受到一点火焰伤害',
huoshaolianying_info:'对离你最近的一名横置角色使用(若无横置角色则改为对距离你最近的所有角色使用),对目标造成一点火焰伤害',
2015-04-29 03:25:17 +00:00
yuanjiao:'远交近攻',
2016-06-25 06:30:34 +00:00
yuanjiao_info_guozhan:'对一名不同势力的角色使用对方摸一张牌然后你摸3张牌',
yuanjiao_info:'对一名其他角色使用,你与其各摸一张牌',
2015-04-29 03:25:17 +00:00
yuanjiao_bg:'交',
zhibi:'知己知彼',
2016-06-25 06:30:34 +00:00
zhibi_info:'出牌阶段对一名其他角色使用,观看其手牌或武将牌',
2015-04-29 03:25:17 +00:00
yiyi:'以逸待劳',
2016-06-25 06:30:34 +00:00
yiyi_info_guozhan:'对与自己势力相同的所有角色使用,摸两张牌然后弃置两张牌',
yiyi_info:'对与任意三名角色使用,摸两张牌然后弃置两张牌',
2015-04-29 03:25:17 +00:00
yiyi_bg:'逸',
wuliu:'吴六剑',
2016-02-18 06:22:24 +00:00
wuliu_info:'其他与装备者势力相同的角色攻击范围+1',
2015-04-29 03:25:17 +00:00
sanjian:'三尖两刃刀',
sanjian_info:'当你使用杀造成伤害后可以弃置1张手牌对一名距离受伤害角色1以内的其他角色造成1点伤害',
wuliu_skill:'吴六剑',
sanjian_skill:'三尖两刃刀',
jingfanma_bg:'-马',
jingfanma:'惊帆',
2017-02-06 12:28:57 +00:00
jingfanma_info:'你的进攻距离+1',
2016-06-25 06:30:34 +00:00
huxinjing_bg:'镜',
huxinjing:'护心镜',
huxinjing_info:'抵消一点伤害',
2015-04-29 03:25:17 +00:00
},
list:[
['heart',9,'yuanjiao'],
['club',3,'zhibi'],
['club',4,'zhibi'],
['diamond',4,'yiyi'],
['heart',11,'yiyi'],
['diamond',6,'wuliu'],
['diamond',12,'sanjian'],
['heart',3,'jingfanma'],
2015-09-16 07:31:41 +00:00
["spade",4,'shunshou'],
["spade",12,'guohe'],
["spade",11,'wuxie'],
2016-06-25 06:30:34 +00:00
['spade',3,'huoshaolianying','fire'],
['club',11,'huoshaolianying','fire'],
['heart',12,'huoshaolianying','fire'],
['club',2,'huxinjing'],
['heart',2,'diaohulishan'],
['diamond',10,'diaohulishan'],
['heart',1,'lianjunshengyan'],
['club',3,'chiling'],
['spade',12,'lulitongxin'],
['club',10,'lulitongxin'],
['club',12,'shuiyanqijunx'],
['heart',13,'shuiyanqijunx'],
['spade',1,'xietianzi'],
['diamond',1,'xietianzi'],
['diamond',4,'xietianzi'],
['club',1,'yuxi'],
2015-04-29 03:25:17 +00:00
],
}