2015-05-14 09:23:45 +00:00
|
|
|
|
'use strict';
|
2017-04-17 05:18:46 +00:00
|
|
|
|
game.import('card',function(lib,game,ui,get,ai,_status){
|
2017-04-15 00:25:50 +00:00
|
|
|
|
return {
|
|
|
|
|
name:'guozhan',
|
|
|
|
|
connect:true,
|
|
|
|
|
card:{
|
2019-07-07 10:35:24 +00:00
|
|
|
|
liulongcanjia:{
|
|
|
|
|
mode:['guozhan'],
|
|
|
|
|
fullskin:true,
|
|
|
|
|
type:'equip',
|
|
|
|
|
subtype:'equip6',
|
|
|
|
|
nomod:true,
|
|
|
|
|
nopower:true,
|
|
|
|
|
unique:true,
|
|
|
|
|
distance:{
|
|
|
|
|
globalFrom:-1,
|
|
|
|
|
globalTo:+1,
|
|
|
|
|
},
|
|
|
|
|
onEquip:function(){
|
|
|
|
|
var cards=player.getCards('e',{subtype:['equip3','equip4']});
|
|
|
|
|
if(cards.length) player.discard(cards);
|
|
|
|
|
},
|
|
|
|
|
skills:['liulongcanjia'],
|
|
|
|
|
ai:{
|
|
|
|
|
equipValue:function(card,player){
|
|
|
|
|
if(player.countCards('e',{subtype:['equip3','equip4']})>1) return 1;
|
|
|
|
|
if(player.hasSkill('gzzongyu')) return 9;
|
|
|
|
|
if(game.hasPlayer(function(current){
|
|
|
|
|
return current.hasSkill('gzzongyu')&&get.attitude(player,current)<=0;
|
|
|
|
|
})) return 1;
|
|
|
|
|
return 7.2;
|
|
|
|
|
},
|
|
|
|
|
basic:{
|
|
|
|
|
equipValue:7.2
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
},
|
2018-08-13 07:17:34 +00:00
|
|
|
|
minguangkai:{
|
|
|
|
|
mode:['guozhan'],
|
|
|
|
|
fullskin:true,
|
|
|
|
|
type:'equip',
|
|
|
|
|
subtype:'equip2',
|
|
|
|
|
cardimage:'suolianjia',
|
|
|
|
|
skills:['minguangkai_cancel','minguangkai_link'],
|
|
|
|
|
ai:{
|
|
|
|
|
basic:{
|
|
|
|
|
equipValue:6
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
2018-08-11 16:48:38 +00:00
|
|
|
|
dinglanyemingzhu:{
|
|
|
|
|
mode:['guozhan'],
|
|
|
|
|
fullskin:true,
|
|
|
|
|
type:'equip',
|
|
|
|
|
subtype:'equip5',
|
|
|
|
|
nomod:true,
|
|
|
|
|
nopower:true,
|
|
|
|
|
unique:true,
|
|
|
|
|
global:'g_dinglanyemingzhu_ai',
|
|
|
|
|
skills:['dinglanyemingzhu_skill'],
|
|
|
|
|
ai:{
|
|
|
|
|
equipValue:function(card,player){
|
|
|
|
|
if(player.hasSkill('jubao')) return 8;
|
|
|
|
|
if(player.hasSkill('gzzhiheng')) return 6;
|
|
|
|
|
if(game.hasPlayer(function(current){
|
|
|
|
|
return current.hasSkill('jubao')&&get.attitude(player,current)<=0;
|
|
|
|
|
})){
|
|
|
|
|
return 0;
|
|
|
|
|
}
|
|
|
|
|
return 7;
|
|
|
|
|
},
|
|
|
|
|
basic:{
|
|
|
|
|
equipValue:6.5
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
2017-04-15 00:25:50 +00:00
|
|
|
|
feilongduofeng:{
|
|
|
|
|
mode:['guozhan'],
|
|
|
|
|
fullskin:true,
|
|
|
|
|
type:'equip',
|
|
|
|
|
subtype:'equip1',
|
|
|
|
|
nomod:true,
|
|
|
|
|
nopower:true,
|
2018-04-17 07:32:43 +00:00
|
|
|
|
unique:true,
|
2017-05-14 07:45:46 +00:00
|
|
|
|
global:'g_feilongduofeng_ai',
|
2017-04-15 00:25:50 +00:00
|
|
|
|
distance:{attackFrom:-1},
|
2019-07-07 10:35:24 +00:00
|
|
|
|
skills:['feilongduofeng','feilongduofeng3'],
|
2017-04-15 00:25:50 +00:00
|
|
|
|
ai:{
|
|
|
|
|
equipValue:function(card,player){
|
|
|
|
|
if(player.hasSkill('zhangwu')) return 9;
|
|
|
|
|
if(game.hasPlayer(function(current){
|
|
|
|
|
return current.hasSkill('zhangwu')&&get.attitude(player,current)<=0;
|
|
|
|
|
})){
|
|
|
|
|
return 1;
|
|
|
|
|
}
|
|
|
|
|
return 8;
|
2017-05-22 03:18:10 +00:00
|
|
|
|
},
|
|
|
|
|
basic:{
|
|
|
|
|
equipValue:7
|
2017-02-26 17:01:20 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
2017-02-26 04:22:53 +00:00
|
|
|
|
},
|
2017-04-15 00:25:50 +00:00
|
|
|
|
taipingyaoshu:{
|
|
|
|
|
mode:['guozhan'],
|
|
|
|
|
fullskin:true,
|
|
|
|
|
type:'equip',
|
|
|
|
|
subtype:'equip2',
|
|
|
|
|
nomod:true,
|
|
|
|
|
nopower:true,
|
2018-04-17 07:32:43 +00:00
|
|
|
|
unique:true,
|
2019-07-07 10:35:24 +00:00
|
|
|
|
global:['g_taipingyaoshu_ai'],
|
2017-04-15 00:25:50 +00:00
|
|
|
|
skills:['taipingyaoshu'],
|
|
|
|
|
ai:{
|
|
|
|
|
equipValue:function(card,player){
|
|
|
|
|
if(player.hasSkill('wendao')) return 9;
|
|
|
|
|
if(game.hasPlayer(function(current){
|
|
|
|
|
return current.hasSkill('wendao')&&get.attitude(player,current)<=0;
|
|
|
|
|
})){
|
|
|
|
|
return 1;
|
|
|
|
|
}
|
|
|
|
|
return 6;
|
2017-05-22 03:18:10 +00:00
|
|
|
|
},
|
|
|
|
|
basic:{
|
|
|
|
|
equipValue:6
|
2016-06-25 06:30:34 +00:00
|
|
|
|
}
|
2017-04-15 00:25:50 +00:00
|
|
|
|
},
|
|
|
|
|
onLose:function(){
|
|
|
|
|
'step 0'
|
|
|
|
|
player.draw(2);
|
2019-07-07 10:35:24 +00:00
|
|
|
|
'step 1'
|
2019-07-20 14:58:35 +00:00
|
|
|
|
if(player.hp>1) player.loseHp();
|
2016-06-25 06:30:34 +00:00
|
|
|
|
}
|
|
|
|
|
},
|
2017-04-15 00:25:50 +00:00
|
|
|
|
yuxi:{
|
|
|
|
|
mode:['guozhan'],
|
|
|
|
|
fullskin:true,
|
|
|
|
|
type:'equip',
|
|
|
|
|
subtype:'equip5',
|
|
|
|
|
skills:['yuxi_skill'],
|
|
|
|
|
ai:{
|
|
|
|
|
equipValue:9
|
2016-06-25 06:30:34 +00:00
|
|
|
|
}
|
|
|
|
|
},
|
2017-04-15 00:25:50 +00:00
|
|
|
|
xietianzi:{
|
|
|
|
|
fullskin:true,
|
|
|
|
|
type:'trick',
|
2017-08-03 23:34:11 +00:00
|
|
|
|
enable:function(card,player,event){
|
2017-04-15 00:25:50 +00:00
|
|
|
|
if(get.mode()=='guozhan'&&!player.isMajor()) return false;
|
|
|
|
|
if(player.hasSkill('xietianzi')) return false;
|
2017-07-06 09:22:03 +00:00
|
|
|
|
if(_status.currentPhase!=player) return false;
|
2019-07-31 12:01:43 +00:00
|
|
|
|
var evt=event||_status.event;
|
|
|
|
|
var evt2=evt.getParent('chooseToUse');
|
|
|
|
|
return evt.type=='phase'||evt2.type=='phase';
|
2016-07-01 07:34:40 +00:00
|
|
|
|
},
|
2017-04-15 00:25:50 +00:00
|
|
|
|
filterTarget:function(card,player,target){
|
|
|
|
|
return player==target;
|
|
|
|
|
},
|
|
|
|
|
selectTarget:-1,
|
|
|
|
|
content:function(){
|
|
|
|
|
var evt=_status.event.getParent('phaseUse');
|
|
|
|
|
if(evt&&evt.name=='phaseUse'){
|
|
|
|
|
evt.skipped=true;
|
|
|
|
|
}
|
2019-07-07 10:35:24 +00:00
|
|
|
|
target.addTempSkill('xietianzi');
|
2017-04-15 00:25:50 +00:00
|
|
|
|
},
|
2019-07-07 10:35:24 +00:00
|
|
|
|
|
2017-04-15 00:25:50 +00:00
|
|
|
|
ai:{
|
|
|
|
|
order:0.5,
|
|
|
|
|
value:4,
|
|
|
|
|
useful:2,
|
|
|
|
|
result:{
|
|
|
|
|
target:function(player,target){
|
2019-07-07 10:35:24 +00:00
|
|
|
|
if(target.countCards('h')>=2) return 1;
|
2017-04-15 00:25:50 +00:00
|
|
|
|
return 0;
|
|
|
|
|
}
|
2016-06-25 06:30:34 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
2017-04-15 00:25:50 +00:00
|
|
|
|
shuiyanqijunx:{
|
|
|
|
|
fullskin:true,
|
|
|
|
|
type:'trick',
|
|
|
|
|
filterTarget:function(card,player,target){
|
|
|
|
|
return target!=player&&target.countCards('e')>0;
|
2016-06-25 06:30:34 +00:00
|
|
|
|
},
|
2017-04-15 00:25:50 +00:00
|
|
|
|
enable:true,
|
|
|
|
|
content:function(){
|
|
|
|
|
'step 0'
|
2018-07-31 08:22:29 +00:00
|
|
|
|
if(!target.countCards('e',function(card){
|
|
|
|
|
return lib.filter.cardDiscardable(card,target);
|
|
|
|
|
})){
|
|
|
|
|
target.damage('thunder');
|
|
|
|
|
event.finish();
|
|
|
|
|
return;
|
|
|
|
|
}
|
2017-04-15 00:25:50 +00:00
|
|
|
|
target.chooseControl('discard_card','take_damage',function(event,player){
|
|
|
|
|
if(get.damageEffect(player,event.player,player,'thunder')>=0){
|
|
|
|
|
return 'take_damage';
|
|
|
|
|
}
|
|
|
|
|
if(player.hp>=3&&player.countCards('e')>=2){
|
|
|
|
|
return 'take_damage';
|
|
|
|
|
}
|
|
|
|
|
return 'discard_card';
|
|
|
|
|
});
|
|
|
|
|
'step 1'
|
|
|
|
|
if(result.control=='discard_card'){
|
|
|
|
|
target.discard(target.getCards('e'));
|
|
|
|
|
}
|
|
|
|
|
else{
|
|
|
|
|
target.damage('thunder');
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
ai:{
|
|
|
|
|
order:7,
|
|
|
|
|
value:4,
|
|
|
|
|
useful:2,
|
|
|
|
|
tag:{
|
|
|
|
|
damage:1,
|
|
|
|
|
thunderDamage:1,
|
|
|
|
|
natureDamage:1
|
|
|
|
|
},
|
|
|
|
|
result:{
|
|
|
|
|
target:function(player,target){
|
|
|
|
|
return -target.countCards('e');
|
|
|
|
|
}
|
2016-06-25 06:30:34 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
2017-04-15 00:25:50 +00:00
|
|
|
|
lulitongxin:{
|
|
|
|
|
fullskin:true,
|
|
|
|
|
type:'trick',
|
|
|
|
|
enable:function(card,player){
|
|
|
|
|
return game.hasPlayer(function(current){
|
|
|
|
|
return current.isMajor();
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
mode:['guozhan'],
|
|
|
|
|
filterTarget:true,
|
|
|
|
|
chongzhu:true,
|
|
|
|
|
changeTarget:function(player,targets){
|
|
|
|
|
var target=targets[0];
|
2017-02-11 13:42:46 +00:00
|
|
|
|
game.filterPlayer(function(current){
|
2017-09-27 03:39:30 +00:00
|
|
|
|
return current.isMajor()==target.isMajor()&¤t!=target&&!current.hasSkill('diaohulishan');
|
2017-02-11 13:42:46 +00:00
|
|
|
|
},targets);
|
2017-04-15 00:25:50 +00:00
|
|
|
|
},
|
|
|
|
|
content:function(){
|
|
|
|
|
if(target.isLinked()){
|
|
|
|
|
target.draw();
|
|
|
|
|
}
|
|
|
|
|
else{
|
|
|
|
|
target.link();
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
ai:{
|
|
|
|
|
order:7.5,
|
|
|
|
|
value:4,
|
|
|
|
|
useful:2,
|
|
|
|
|
wuxie:function(){
|
|
|
|
|
return 0;
|
|
|
|
|
},
|
|
|
|
|
result:{
|
|
|
|
|
player:function(player,target){
|
|
|
|
|
return game.countPlayer(function(current){
|
|
|
|
|
if(target.isMajor()==current.isMajor()){
|
|
|
|
|
if(current.isLinked()){
|
|
|
|
|
return get.attitude(player,target);
|
|
|
|
|
}
|
|
|
|
|
else{
|
|
|
|
|
return -get.attitude(player,target)*0.8;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
}
|
2016-06-25 06:30:34 +00:00
|
|
|
|
}
|
|
|
|
|
},
|
2017-04-15 00:25:50 +00:00
|
|
|
|
lianjunshengyan:{
|
|
|
|
|
fullskin:true,
|
|
|
|
|
type:'trick',
|
|
|
|
|
enable:function(card,player){
|
|
|
|
|
return !player.isUnseen();
|
|
|
|
|
},
|
|
|
|
|
mode:['guozhan'],
|
|
|
|
|
filterTarget:function(card,player,target){
|
2019-07-25 11:17:52 +00:00
|
|
|
|
return target!=player&&target.identity!='unknown'&&(target.identity!=player.identity||target.identity=='ye');
|
2017-04-15 00:25:50 +00:00
|
|
|
|
},
|
|
|
|
|
changeTarget:function(player,targets){
|
|
|
|
|
var target=targets[0];
|
|
|
|
|
targets.push(player);
|
|
|
|
|
if(target.identity!='ye'){
|
|
|
|
|
game.filterPlayer(function(current){
|
2017-09-27 03:39:30 +00:00
|
|
|
|
return target!=current&&target.identity==current.identity&&!current.hasSkill('diaohulishan');
|
2017-04-15 00:25:50 +00:00
|
|
|
|
},targets);
|
|
|
|
|
}
|
|
|
|
|
},
|
2019-07-29 04:08:42 +00:00
|
|
|
|
contentBefore:function(){
|
|
|
|
|
var evt=event.getParent();
|
|
|
|
|
if(evt&&evt.targets&&evt.targets.contains(player)){
|
|
|
|
|
evt.fixedSeat=true;
|
|
|
|
|
evt.targets.remove(player);
|
|
|
|
|
evt.targets.push(player);
|
|
|
|
|
}
|
|
|
|
|
},
|
2017-04-15 00:25:50 +00:00
|
|
|
|
content:function(){
|
|
|
|
|
'step 0'
|
|
|
|
|
if(target==player){
|
2019-07-29 04:08:42 +00:00
|
|
|
|
var num=targets.length-1;
|
|
|
|
|
event.num=num;
|
|
|
|
|
var damaged=target.maxHp-target.hp;
|
|
|
|
|
if(damaged==0){
|
|
|
|
|
target.draw(num);
|
|
|
|
|
event.finish();
|
|
|
|
|
}
|
|
|
|
|
else{
|
|
|
|
|
var list=[];
|
|
|
|
|
for(var i=0;i<=Math.min(num,damaged);i++){
|
|
|
|
|
list.push('摸'+i+'回'+(num-i));
|
|
|
|
|
}
|
|
|
|
|
target.chooseControl(list).set('prompt','请分配自己的摸牌数和回复量').ai=function(){
|
|
|
|
|
if(player.hasSkill('diaohulishan')) return 0;
|
|
|
|
|
if(_status._aozhan) return list.length-1;
|
|
|
|
|
return list.randomGet();
|
|
|
|
|
};
|
|
|
|
|
}
|
2017-04-15 00:25:50 +00:00
|
|
|
|
}
|
|
|
|
|
else{
|
2019-07-07 10:35:24 +00:00
|
|
|
|
target.draw();
|
2017-04-15 00:25:50 +00:00
|
|
|
|
}
|
|
|
|
|
'step 1'
|
2019-07-29 04:08:42 +00:00
|
|
|
|
if(target!=player) target.link(false);
|
|
|
|
|
else if(typeof result.control=='string'){
|
|
|
|
|
var index=result.control.indexOf('回');
|
|
|
|
|
var draw=parseInt(result.control.slice(1,index));
|
|
|
|
|
var recover=parseInt(result.control.slice(index+1));
|
|
|
|
|
if(draw) target.draw(draw);
|
|
|
|
|
if(recover) target.recover(recover);
|
|
|
|
|
}
|
2017-04-15 00:25:50 +00:00
|
|
|
|
},
|
|
|
|
|
ai:{
|
|
|
|
|
order:3,
|
|
|
|
|
value:4,
|
|
|
|
|
useful:2,
|
|
|
|
|
result:{
|
2019-07-07 10:35:24 +00:00
|
|
|
|
player:1.3,
|
|
|
|
|
target:1,
|
|
|
|
|
},
|
|
|
|
|
},
|
2016-06-25 07:02:11 +00:00
|
|
|
|
},
|
2017-04-15 00:25:50 +00:00
|
|
|
|
chiling:{
|
|
|
|
|
fullskin:true,
|
|
|
|
|
type:'trick',
|
|
|
|
|
enable:true,
|
|
|
|
|
mode:['guozhan'],
|
|
|
|
|
filterTarget:function(card,player,target){
|
|
|
|
|
return target.isUnseen();
|
|
|
|
|
},
|
|
|
|
|
selectTarget:-1,
|
|
|
|
|
chooseai:function(event,player){
|
|
|
|
|
if(_status.event.controls.contains('选项三')){
|
|
|
|
|
return Math.random()<0.5?'选项一':'选项三';
|
|
|
|
|
}
|
|
|
|
|
else{
|
2017-05-08 02:57:40 +00:00
|
|
|
|
if(_status.event.getParent().nomingzhi){
|
|
|
|
|
if(_status.event.controls.contains('选项二')) return '选项二';
|
|
|
|
|
return '选项一';
|
|
|
|
|
}
|
|
|
|
|
if(player.hasSkillTag('maixie_hp')||player.hp<=2) return '选项一';
|
2017-04-15 00:25:50 +00:00
|
|
|
|
return Math.random()<0.5?'选项一':'选项二';
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
content:function(){
|
|
|
|
|
'step 0'
|
|
|
|
|
var choiceList=['明置一张武将牌,然后摸一张牌','失去1点体力'];
|
2017-05-08 02:57:40 +00:00
|
|
|
|
event.nomingzhi=target.hasSkillTag('nomingzhi',false,null,true);
|
|
|
|
|
if(event.nomingzhi){
|
|
|
|
|
choiceList.shift();
|
|
|
|
|
}
|
2017-04-15 00:25:50 +00:00
|
|
|
|
if(target.countCards('he',{type:'equip'})){
|
|
|
|
|
choiceList.push('弃置一张装备牌');
|
|
|
|
|
}
|
|
|
|
|
target.chooseControl(lib.card.chiling.chooseai).set('prompt','敕令').set('choiceList',choiceList);
|
|
|
|
|
'step 1'
|
2017-05-08 02:57:40 +00:00
|
|
|
|
var index=result.index;
|
|
|
|
|
if(event.nomingzhi){
|
|
|
|
|
index++;
|
|
|
|
|
}
|
|
|
|
|
if(index==0){
|
2017-04-15 00:25:50 +00:00
|
|
|
|
target.chooseControl('主将','副将',function(){
|
|
|
|
|
return Math.floor(Math.random()*2);
|
|
|
|
|
}).set('prompt','选择要明置的武将牌');
|
|
|
|
|
}
|
2017-05-08 02:57:40 +00:00
|
|
|
|
else if(index==1){
|
2017-04-15 00:25:50 +00:00
|
|
|
|
target.loseHp();
|
|
|
|
|
event.finish();
|
|
|
|
|
}
|
|
|
|
|
else{
|
|
|
|
|
target.chooseToDiscard('he',{type:'equip'},true);
|
|
|
|
|
event.finish();
|
|
|
|
|
}
|
|
|
|
|
'step 2'
|
|
|
|
|
if(result.index==0){
|
|
|
|
|
target.showCharacter(0);
|
|
|
|
|
}
|
|
|
|
|
else{
|
|
|
|
|
target.showCharacter(1);
|
|
|
|
|
}
|
|
|
|
|
target.draw();
|
|
|
|
|
},
|
|
|
|
|
ai:{
|
|
|
|
|
order:6,
|
|
|
|
|
result:{
|
|
|
|
|
target:-1
|
2017-07-06 16:25:54 +00:00
|
|
|
|
},
|
|
|
|
|
tag:{
|
|
|
|
|
multitarget:1,
|
|
|
|
|
multineg:1,
|
2017-04-15 00:25:50 +00:00
|
|
|
|
}
|
2016-06-25 07:02:11 +00:00
|
|
|
|
}
|
2016-06-25 06:30:34 +00:00
|
|
|
|
},
|
2017-04-15 00:25:50 +00:00
|
|
|
|
diaohulishan:{
|
|
|
|
|
fullskin:true,
|
|
|
|
|
type:'trick',
|
|
|
|
|
enable:true,
|
2017-05-14 07:45:46 +00:00
|
|
|
|
global:'g_diaohulishan',
|
2017-04-15 00:25:50 +00:00
|
|
|
|
filterTarget:function(card,player,target){
|
|
|
|
|
return target!=player;
|
2016-06-25 10:42:22 +00:00
|
|
|
|
},
|
2017-09-17 14:32:08 +00:00
|
|
|
|
selectTarget:[1,2],
|
2017-04-15 00:25:50 +00:00
|
|
|
|
content:function(){
|
2017-05-18 22:15:32 +00:00
|
|
|
|
target.addTempSkill('diaohulishan');
|
2017-04-15 00:25:50 +00:00
|
|
|
|
},
|
|
|
|
|
ai:{
|
|
|
|
|
order:10,
|
|
|
|
|
value:4,
|
|
|
|
|
useful:[2,1],
|
|
|
|
|
wuxie:function(){
|
|
|
|
|
return 0;
|
|
|
|
|
},
|
|
|
|
|
result:{
|
|
|
|
|
player:function(player,target){
|
|
|
|
|
var att=get.attitude(player,target);
|
|
|
|
|
if(target.hp==1&&att<0) return 0;
|
|
|
|
|
if(game.hasPlayer(function(current){
|
|
|
|
|
return get.attitude(player,current)<att;
|
|
|
|
|
})){
|
|
|
|
|
var num=1;
|
|
|
|
|
if(target==player.next||target==player.previous){
|
|
|
|
|
num+=0.5;
|
|
|
|
|
}
|
|
|
|
|
return num;
|
2016-06-25 06:30:34 +00:00
|
|
|
|
}
|
2017-04-15 00:25:50 +00:00
|
|
|
|
return 0;
|
2016-06-25 06:30:34 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2017-04-15 00:25:50 +00:00
|
|
|
|
},
|
|
|
|
|
huxinjing:{
|
|
|
|
|
fullskin:true,
|
|
|
|
|
type:"equip",
|
|
|
|
|
subtype:"equip2",
|
|
|
|
|
skills:['huxinjing'],
|
|
|
|
|
ai:{
|
|
|
|
|
basic:{
|
|
|
|
|
equipValue:6
|
|
|
|
|
},
|
2016-06-25 06:30:34 +00:00
|
|
|
|
},
|
|
|
|
|
},
|
2017-04-15 00:25:50 +00:00
|
|
|
|
huoshaolianying:{
|
|
|
|
|
fullskin:true,
|
|
|
|
|
type:'trick',
|
|
|
|
|
filterTarget:function(card,player,target){
|
|
|
|
|
if(get.mode()=='guozhan'){
|
|
|
|
|
var next=player.getNext();
|
|
|
|
|
if(!next) return false;
|
|
|
|
|
return target==next||target.inline(next);
|
|
|
|
|
}
|
|
|
|
|
if(player==target) return false;
|
|
|
|
|
if(game.hasPlayer(function(current){
|
|
|
|
|
return current.isLinked()&¤t!=player;
|
|
|
|
|
})){
|
|
|
|
|
if(!target.isLinked()) return false;
|
|
|
|
|
var distance=get.distance(player,target,'absolute');
|
|
|
|
|
return !game.hasPlayer(function(current){
|
|
|
|
|
if(target!=current&¤t!=player&¤t.isLinked()){
|
|
|
|
|
var dist=get.distance(player,current,'absolute');
|
|
|
|
|
if(dist<distance){
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
if(dist==distance&&parseInt(current.dataset.position)<parseInt(target.dataset.position)){
|
|
|
|
|
return true;
|
|
|
|
|
}
|
2016-06-25 06:30:34 +00:00
|
|
|
|
}
|
2017-04-15 00:25:50 +00:00
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
else{
|
|
|
|
|
var dist=get.distance(player,target);
|
|
|
|
|
return !game.hasPlayer(function(current){
|
|
|
|
|
return current!=player&&get.distance(player,current)<dist
|
|
|
|
|
});
|
|
|
|
|
}
|
2016-06-25 06:30:34 +00:00
|
|
|
|
},
|
2017-04-15 00:25:50 +00:00
|
|
|
|
enable:true,
|
|
|
|
|
selectTarget:-1,
|
2018-01-10 10:21:50 +00:00
|
|
|
|
modTarget:true,
|
2017-04-15 00:25:50 +00:00
|
|
|
|
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;
|
|
|
|
|
if(target.hasSkill('xuying')&&target.countCards('h')==0) return 0;
|
|
|
|
|
if(!target.isLinked()){
|
|
|
|
|
return get.damageEffect(target,player,target,'fire');
|
2016-06-25 06:30:34 +00:00
|
|
|
|
}
|
2017-04-15 00:25:50 +00:00
|
|
|
|
return game.countPlayer(function(current){
|
|
|
|
|
if(current.isLinked()){
|
|
|
|
|
return get.sgn(get.damageEffect(current,player,target,'fire'));
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
}
|
2016-06-25 06:30:34 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
2015-04-29 03:25:17 +00:00
|
|
|
|
},
|
2017-04-15 00:25:50 +00:00
|
|
|
|
yuanjiao:{
|
|
|
|
|
audio:true,
|
|
|
|
|
fullskin:true,
|
|
|
|
|
type:'trick',
|
|
|
|
|
enable:function(card,player){
|
|
|
|
|
if(get.mode()=='guozhan'&&player.isUnseen()) return false;
|
|
|
|
|
return true;
|
2015-04-29 03:25:17 +00:00
|
|
|
|
},
|
2017-04-15 00:25:50 +00:00
|
|
|
|
filterTarget:function(card,player,target){
|
|
|
|
|
if(get.mode()!='guozhan') return player!=target;
|
|
|
|
|
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(){
|
|
|
|
|
game.asyncDraw([target,player],[1,get.mode()=='guozhan'?3:1]);
|
|
|
|
|
},
|
|
|
|
|
ai:{
|
|
|
|
|
basic:{
|
|
|
|
|
useful:4,
|
|
|
|
|
value:8,
|
|
|
|
|
order:9
|
|
|
|
|
},
|
|
|
|
|
result:{
|
|
|
|
|
target:1,
|
|
|
|
|
player:3,
|
|
|
|
|
},
|
2015-04-29 03:25:17 +00:00
|
|
|
|
},
|
|
|
|
|
},
|
2017-04-15 00:25:50 +00:00
|
|
|
|
zhibi:{
|
|
|
|
|
audio:true,
|
|
|
|
|
fullskin:true,
|
|
|
|
|
type:'trick',
|
|
|
|
|
enable:true,
|
|
|
|
|
chongzhu:true,
|
|
|
|
|
filterTarget:function(card,player,target){
|
|
|
|
|
if(player==target) return false;
|
|
|
|
|
return (target.countCards('h')||target.isUnseen(2));
|
|
|
|
|
},
|
|
|
|
|
content:function(){
|
|
|
|
|
"step 0"
|
|
|
|
|
if(!player.storage.zhibi){
|
|
|
|
|
player.storage.zhibi=[];
|
|
|
|
|
}
|
|
|
|
|
player.storage.zhibi.add(target);
|
|
|
|
|
var controls=[];
|
|
|
|
|
if(target.countCards('h')) controls.push('手牌');
|
|
|
|
|
if(target.isUnseen(0)) controls.push('主将');
|
|
|
|
|
if(target.isUnseen(1)) controls.push('副将');
|
|
|
|
|
if(controls.length>1){
|
|
|
|
|
player.chooseControl(controls);
|
|
|
|
|
}
|
|
|
|
|
if(controls.length==0) event.finish();
|
|
|
|
|
"step 1"
|
|
|
|
|
var content;
|
|
|
|
|
var str=get.translation(target)+'的';
|
|
|
|
|
if(result.control){
|
|
|
|
|
if(result.control=='手牌'){
|
|
|
|
|
content=[str+'手牌',target.getCards('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,'的副将');
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
else if(target.countCards('h')){
|
2017-03-27 08:48:22 +00:00
|
|
|
|
content=[str+'手牌',target.getCards('h')];
|
2017-02-01 15:42:44 +00:00
|
|
|
|
game.log(player,'观看了',target,'的手牌');
|
|
|
|
|
}
|
2017-04-15 00:25:50 +00:00
|
|
|
|
else if(target.isUnseen(0)){
|
2017-02-01 15:42:44 +00:00
|
|
|
|
content=[str+'主将',[[target.name1],'character']];
|
|
|
|
|
game.log(player,'观看了',target,'的主将');
|
|
|
|
|
}
|
|
|
|
|
else{
|
|
|
|
|
content=[str+'副将',[[target.name2],'character']];
|
|
|
|
|
game.log(player,'观看了',target,'的副将');
|
|
|
|
|
}
|
2017-04-15 00:25:50 +00:00
|
|
|
|
player.chooseControl('ok').set('dialog',content);
|
2016-04-19 08:57:06 +00:00
|
|
|
|
},
|
2017-04-15 00:25:50 +00:00
|
|
|
|
mode:['guozhan'],
|
|
|
|
|
ai:{
|
|
|
|
|
order:9.5,
|
|
|
|
|
wuxie:function(){
|
|
|
|
|
return 0;
|
|
|
|
|
},
|
|
|
|
|
result:{
|
|
|
|
|
player:function(player,target){
|
|
|
|
|
if(player.countCards('h')<=player.hp) return 0;
|
|
|
|
|
if(player.storage.zhibi&&player.storage.zhibi.contains(target)) return 0;
|
|
|
|
|
return target.isUnseen()?1:0;
|
|
|
|
|
}
|
2015-04-29 03:25:17 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
2017-04-15 00:25:50 +00:00
|
|
|
|
yiyi:{
|
|
|
|
|
audio:true,
|
|
|
|
|
fullskin:true,
|
|
|
|
|
type:'trick',
|
|
|
|
|
enable:true,
|
|
|
|
|
filterTarget:function(card,player,target){
|
|
|
|
|
if(get.mode()=='guozhan'){
|
|
|
|
|
if(player.identity=='unknown'||player.identity=='ye') return player==target;
|
|
|
|
|
return player.identity==target.identity;
|
|
|
|
|
}
|
|
|
|
|
else if(get.is.versus()){
|
|
|
|
|
return player.side==target.side;
|
|
|
|
|
}
|
|
|
|
|
else{
|
|
|
|
|
return true;
|
|
|
|
|
}
|
2015-04-29 05:33:18 +00:00
|
|
|
|
},
|
2017-04-15 00:25:50 +00:00
|
|
|
|
selectTarget:function(){
|
|
|
|
|
if(get.mode()=='guozhan') return -1;
|
|
|
|
|
return [1,3];
|
2015-04-29 03:25:17 +00:00
|
|
|
|
},
|
2017-04-15 00:25:50 +00:00
|
|
|
|
content:function(){
|
|
|
|
|
target.draw(2);
|
|
|
|
|
target.chooseToDiscard(2,'he',true).ai=get.disvalue;
|
|
|
|
|
},
|
|
|
|
|
ai:{
|
|
|
|
|
wuxie:function(){
|
|
|
|
|
return 0;
|
|
|
|
|
},
|
|
|
|
|
basic:{
|
|
|
|
|
useful:3,
|
|
|
|
|
value:3,
|
|
|
|
|
order:5
|
|
|
|
|
},
|
|
|
|
|
result:{
|
|
|
|
|
target:function(player,target){
|
|
|
|
|
var hs=target.getCards('h');
|
|
|
|
|
if(hs.length<=1){
|
|
|
|
|
if(target==player&&hs[0].name=='yiyi'){
|
|
|
|
|
return 0;
|
|
|
|
|
}
|
|
|
|
|
return 0.3;
|
2016-03-21 09:05:16 +00:00
|
|
|
|
}
|
2018-02-03 08:23:31 +00:00
|
|
|
|
return Math.sqrt(target.countCards('he'));
|
2017-04-15 00:25:50 +00:00
|
|
|
|
},
|
2015-04-29 03:25:17 +00:00
|
|
|
|
},
|
2017-04-15 00:25:50 +00:00
|
|
|
|
tag:{
|
|
|
|
|
loseCard:1,
|
2017-05-07 07:22:55 +00:00
|
|
|
|
discard:1,
|
|
|
|
|
norepeat:1
|
2017-04-15 00:25:50 +00:00
|
|
|
|
}
|
2015-04-29 03:25:17 +00:00
|
|
|
|
},
|
|
|
|
|
},
|
2017-04-15 00:25:50 +00:00
|
|
|
|
wuliu:{
|
|
|
|
|
fullskin:true,
|
|
|
|
|
type:'equip',
|
|
|
|
|
subtype:'equip1',
|
2017-05-14 07:45:46 +00:00
|
|
|
|
global:'g_wuliu_skill',
|
2017-04-15 00:25:50 +00:00
|
|
|
|
distance:{attackFrom:-1},
|
|
|
|
|
ai:{
|
2017-05-22 03:18:10 +00:00
|
|
|
|
equipValue:function(card,player){
|
|
|
|
|
if(player.identity=='unknown'||player.identity=='ye') return 2.5;
|
|
|
|
|
return 2+game.countPlayer(function(current){
|
|
|
|
|
return current.identity==player.identity;
|
|
|
|
|
})/2;
|
|
|
|
|
},
|
2017-04-15 00:25:50 +00:00
|
|
|
|
basic:{
|
2017-05-22 03:18:10 +00:00
|
|
|
|
equipValue:3
|
2015-04-29 03:25:17 +00:00
|
|
|
|
}
|
2017-04-15 00:25:50 +00:00
|
|
|
|
},
|
|
|
|
|
skills:['wuliu_skill'],
|
|
|
|
|
mode:['guozhan'],
|
2015-04-29 03:25:17 +00:00
|
|
|
|
},
|
2017-04-15 00:25:50 +00:00
|
|
|
|
sanjian:{
|
|
|
|
|
fullskin:true,
|
|
|
|
|
type:'equip',
|
|
|
|
|
subtype:'equip1',
|
|
|
|
|
distance:{attackFrom:-2},
|
|
|
|
|
ai:{
|
|
|
|
|
basic:{
|
|
|
|
|
equipValue:4
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
skills:['sanjian_skill']
|
|
|
|
|
},
|
|
|
|
|
jingfanma:{
|
|
|
|
|
fullskin:true,
|
|
|
|
|
type:'equip',
|
|
|
|
|
subtype:'equip4',
|
|
|
|
|
distance:{globalFrom:-1},
|
2015-04-29 03:25:17 +00:00
|
|
|
|
},
|
|
|
|
|
},
|
2017-04-15 00:25:50 +00:00
|
|
|
|
skill:{
|
2019-07-07 10:35:24 +00:00
|
|
|
|
liulongcanjia:{
|
|
|
|
|
mod:{
|
|
|
|
|
targetEnabled:function(card,player,target){
|
|
|
|
|
if(['equip3','equip4'].contains(get.subtype(card))) return false;
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
},
|
2018-08-13 07:17:34 +00:00
|
|
|
|
minguangkai_cancel:{
|
|
|
|
|
trigger:{target:'useCardToBefore'},
|
|
|
|
|
forced:true,
|
|
|
|
|
priority:15,
|
|
|
|
|
check:function(event,player){
|
|
|
|
|
return get.effect(event.target,event.card,event.player,player)<0;
|
|
|
|
|
},
|
|
|
|
|
filter:function(event,player){
|
|
|
|
|
if(['huoshaolianying','huogong'].contains(event.card.name)) return true;
|
|
|
|
|
if(event.card.name=='sha') return event.card.nature=='fire';
|
|
|
|
|
return false;
|
|
|
|
|
},
|
|
|
|
|
content:function(){
|
|
|
|
|
trigger.cancel();
|
|
|
|
|
},
|
|
|
|
|
ai:{
|
|
|
|
|
effect:{
|
|
|
|
|
target:function(card,player,target,current){
|
|
|
|
|
if(['huoshaolianying','huogong'].contains(card.name)||(card.name=='sha'&&card.nature=='fire')){
|
|
|
|
|
return 'zeroplayertarget';
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
minguangkai_link:{
|
|
|
|
|
trigger:{player:'linkBefore'},
|
|
|
|
|
forced:true,
|
|
|
|
|
priority:20,
|
|
|
|
|
filter:function(event,player){
|
|
|
|
|
return player.isMinor()&&!player.isLinked();
|
|
|
|
|
},
|
|
|
|
|
content:function(){
|
|
|
|
|
trigger.cancel();
|
|
|
|
|
},
|
|
|
|
|
ai:{
|
|
|
|
|
effect:{
|
|
|
|
|
target:function(card,player,target,current){
|
|
|
|
|
if(target.isMinor()&&['tiesuo','lulitongxin'].contains(card.name)){
|
|
|
|
|
return 'zeroplayertarget';
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
2018-08-11 16:48:38 +00:00
|
|
|
|
dinglanyemingzhu_skill:{
|
|
|
|
|
inherit:'gzzhiheng',
|
|
|
|
|
filter:function(event,player){
|
|
|
|
|
return !player.hasSkill('gzzhiheng');
|
|
|
|
|
},
|
|
|
|
|
selectCard:function(){
|
|
|
|
|
var player=_status.event.player;
|
|
|
|
|
return [1,player.maxHp];
|
|
|
|
|
},
|
|
|
|
|
prompt:'出牌阶段限一次,你可以弃置至多X张牌(X为你的体力上限),然后摸等量的牌'
|
|
|
|
|
},
|
|
|
|
|
g_dinglanyemingzhu_ai:{
|
|
|
|
|
ai:{
|
|
|
|
|
effect:{
|
|
|
|
|
player:function(card,player){
|
|
|
|
|
if(player.hasSkill('jubao')) return;
|
|
|
|
|
if(card.name=='dinglanyemingzhu'&&game.hasPlayer(function(current){
|
|
|
|
|
return current.hasSkill('jubao')&&get.attitude(player,current)<=0;
|
|
|
|
|
})){
|
|
|
|
|
return [0,0,0,0];
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
2017-05-14 07:45:46 +00:00
|
|
|
|
g_feilongduofeng_ai:{
|
2017-04-15 00:25:50 +00:00
|
|
|
|
ai:{
|
|
|
|
|
effect:{
|
|
|
|
|
player:function(card,player){
|
|
|
|
|
if(player.hasSkill('zhangwu')) return;
|
|
|
|
|
if(card.name=='feilongduofeng'&&game.hasPlayer(function(current){
|
|
|
|
|
return current.hasSkill('zhangwu')&&get.attitude(player,current)<=0;
|
|
|
|
|
})){
|
|
|
|
|
return [0,0,0,0];
|
|
|
|
|
}
|
2017-02-26 04:22:53 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2017-04-15 00:25:50 +00:00
|
|
|
|
},
|
2017-05-14 07:45:46 +00:00
|
|
|
|
g_taipingyaoshu_ai:{
|
2017-04-15 00:25:50 +00:00
|
|
|
|
ai:{
|
|
|
|
|
effect:{
|
|
|
|
|
player:function(card,player){
|
|
|
|
|
if(player.hasSkill('wendao')) return;
|
|
|
|
|
if(card.name=='taipingyaoshu'&&game.hasPlayer(function(current){
|
|
|
|
|
return current.hasSkill('wendao')&&get.attitude(player,current)<=0;
|
|
|
|
|
})){
|
|
|
|
|
return [0,0,0,0];
|
|
|
|
|
}
|
2017-02-26 04:22:53 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
2017-04-15 00:25:50 +00:00
|
|
|
|
feilongduofeng:{
|
|
|
|
|
trigger:{player:'shaBegin'},
|
|
|
|
|
priority:5,
|
|
|
|
|
logTarget:'target',
|
2017-09-25 15:56:37 +00:00
|
|
|
|
check:function(event,player){
|
|
|
|
|
return get.attitude(player,event.target)<=0;
|
|
|
|
|
},
|
2017-04-15 00:25:50 +00:00
|
|
|
|
filter:function(event,player){
|
|
|
|
|
return event.target.countCards('he');
|
|
|
|
|
},
|
|
|
|
|
content:function(){
|
|
|
|
|
trigger.target.chooseToDiscard('he',true);
|
|
|
|
|
},
|
2017-02-26 05:52:55 +00:00
|
|
|
|
},
|
2017-04-15 00:25:50 +00:00
|
|
|
|
feilongduofeng2:{
|
|
|
|
|
trigger:{source:'dieAfter'},
|
|
|
|
|
filter:function(event,player){
|
|
|
|
|
if(event.reason&&event.reason.card&&event.reason.card.name=='sha'){
|
|
|
|
|
return event.player.isDead()&&lib.group.contains(player.identity)&&player.isMinor();
|
2017-02-26 05:52:55 +00:00
|
|
|
|
}
|
2017-04-15 00:25:50 +00:00
|
|
|
|
return false;
|
|
|
|
|
},
|
|
|
|
|
logTarget:'player',
|
|
|
|
|
content:function(){
|
|
|
|
|
'step 0'
|
|
|
|
|
var list=[];
|
|
|
|
|
for(var i=0;i<_status.characterlist.length;i++){
|
|
|
|
|
var info=lib.character[_status.characterlist[i]];
|
|
|
|
|
if(info[4]&&info[4].contains('jun')) continue;
|
|
|
|
|
if(info[1]==player.identity){
|
|
|
|
|
list.push(_status.characterlist[i]);
|
2017-02-26 06:07:37 +00:00
|
|
|
|
}
|
2017-04-15 00:25:50 +00:00
|
|
|
|
}
|
|
|
|
|
event.identity=event.player.identity;
|
|
|
|
|
if(trigger.player==game.me&&!_status.auto){
|
|
|
|
|
event.dialog=ui.create.dialog('是否选择一名角色重新加入游戏?',[list,'character']);
|
|
|
|
|
event.filterButton=function(){return true};
|
|
|
|
|
event.player=game.me;
|
|
|
|
|
event.custom.replace.confirm=function(){
|
|
|
|
|
if(!ui.selected.buttons.length){
|
|
|
|
|
event.directresult='refuse';
|
|
|
|
|
}
|
|
|
|
|
else{
|
|
|
|
|
event.directresult=ui.selected.buttons[0].link;
|
|
|
|
|
}
|
|
|
|
|
event.dialog.close();
|
|
|
|
|
if(ui.confirm) ui.confirm.close();
|
|
|
|
|
delete event.player;
|
|
|
|
|
game.resume();
|
2017-02-26 06:07:37 +00:00
|
|
|
|
}
|
2017-04-15 00:25:50 +00:00
|
|
|
|
event.switchToAuto=function(){
|
|
|
|
|
event.directresult=list.randomGet();
|
|
|
|
|
event.dialog.close();
|
|
|
|
|
if(ui.confirm) ui.confirm.close();
|
|
|
|
|
delete event.player;
|
|
|
|
|
};
|
|
|
|
|
game.check();
|
|
|
|
|
game.pause();
|
|
|
|
|
}
|
|
|
|
|
else if(trigger.player.isOnline()){
|
|
|
|
|
trigger.player.send(function(player,list){
|
|
|
|
|
if(_status.auto){
|
|
|
|
|
_status.event._result=list.randomGet();
|
|
|
|
|
}
|
|
|
|
|
else{
|
|
|
|
|
var next=game.createEvent('replacePlayer');
|
|
|
|
|
next.source=player;
|
|
|
|
|
next.list=list;
|
|
|
|
|
next.setContent(function(){
|
|
|
|
|
event.dialog=ui.create.dialog('是否选择一名角色重新加入游戏?',[event.list,'character']);
|
|
|
|
|
event.filterButton=function(){return true};
|
|
|
|
|
event.player=event.source;
|
|
|
|
|
event.custom.replace.confirm=function(){
|
|
|
|
|
if(!ui.selected.buttons.length){
|
|
|
|
|
event.result='refuse';
|
|
|
|
|
}
|
|
|
|
|
else{
|
|
|
|
|
event.result=ui.selected.buttons[0].link;
|
|
|
|
|
}
|
|
|
|
|
event.dialog.close();
|
|
|
|
|
if(ui.confirm) ui.confirm.close();
|
|
|
|
|
delete event.player;
|
|
|
|
|
game.resume();
|
|
|
|
|
game.uncheck();
|
|
|
|
|
}
|
|
|
|
|
event.switchToAuto=function(){
|
|
|
|
|
event.result=list.randomGet();
|
|
|
|
|
event.dialog.close();
|
|
|
|
|
if(ui.confirm) ui.confirm.close();
|
|
|
|
|
delete event.player;
|
|
|
|
|
game.uncheck();
|
|
|
|
|
};
|
|
|
|
|
game.check();
|
|
|
|
|
game.pause();
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
game.resume();
|
|
|
|
|
},trigger.player,list);
|
|
|
|
|
trigger.player.wait();
|
|
|
|
|
game.pause();
|
2017-02-26 05:52:55 +00:00
|
|
|
|
}
|
2017-04-15 00:25:50 +00:00
|
|
|
|
else{
|
2017-02-26 05:52:55 +00:00
|
|
|
|
event.directresult=list.randomGet();
|
2017-04-15 00:25:50 +00:00
|
|
|
|
}
|
|
|
|
|
event.list=list;
|
|
|
|
|
'step 1'
|
|
|
|
|
game.uncheck();
|
|
|
|
|
if(!event.directresult){
|
|
|
|
|
if(event.resultOL){
|
|
|
|
|
event.directresult=event.resultOL[trigger.player.playerid];
|
2017-02-26 05:52:55 +00:00
|
|
|
|
}
|
2017-04-15 00:25:50 +00:00
|
|
|
|
if(!event.directresult||event.directresult=='ai'){
|
|
|
|
|
event.directresult=event.list.randomGet();
|
2017-02-26 05:52:55 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
2017-04-15 00:25:50 +00:00
|
|
|
|
if(event.directresult=='refuse'){
|
|
|
|
|
game.log(trigger.player,'拒绝重新加入游戏');
|
|
|
|
|
return;
|
2017-02-26 05:52:55 +00:00
|
|
|
|
}
|
2017-04-15 00:25:50 +00:00
|
|
|
|
game.log(trigger.player,'重新加入游戏');
|
|
|
|
|
var name=event.directresult;
|
|
|
|
|
game.log(trigger.player,'将主将替换为','#b'+name);
|
|
|
|
|
_status.characterlist.remove(name);
|
|
|
|
|
game.broadcastAll(function(source,name,identity){
|
|
|
|
|
source.revive(2,false);
|
|
|
|
|
source.identity=identity;
|
|
|
|
|
source._group=identity;
|
|
|
|
|
source.setIdentity();
|
|
|
|
|
if(source==game.me){
|
|
|
|
|
ui.arena.classList.remove('selecting');
|
|
|
|
|
}
|
|
|
|
|
},trigger.player,name,event.identity);
|
|
|
|
|
trigger.player.draw();
|
|
|
|
|
trigger.player.reinit(trigger.player.name1,name,false);
|
|
|
|
|
trigger.player.removeCharacter(1);
|
|
|
|
|
trigger.getParent('damage').untrigger(false,trigger.player);
|
|
|
|
|
game.addVideo('setIdentity',trigger.player,event.identity);
|
2017-02-26 05:52:55 +00:00
|
|
|
|
}
|
2017-02-26 04:22:53 +00:00
|
|
|
|
},
|
2019-07-07 10:35:24 +00:00
|
|
|
|
feilongduofeng3:{
|
|
|
|
|
trigger:{source:'dying'},
|
|
|
|
|
filter:function(event,player){
|
|
|
|
|
var evt=event.getParent('damage');
|
|
|
|
|
return evt&&evt.card&&evt.card.name=='sha'&&event.player.countGainableCards(player,'h')>0;
|
|
|
|
|
},
|
|
|
|
|
priority:7,
|
|
|
|
|
check:function(event,player){
|
|
|
|
|
return get.attitude(player,event.player)<0;
|
|
|
|
|
},
|
|
|
|
|
content:function(){
|
2019-07-23 09:59:48 +00:00
|
|
|
|
player.gainPlayerCard(trigger.player,'h',true);
|
2019-07-07 10:35:24 +00:00
|
|
|
|
},
|
|
|
|
|
},
|
2017-04-15 00:25:50 +00:00
|
|
|
|
taipingyaoshu:{
|
2019-07-07 10:35:24 +00:00
|
|
|
|
mod:{
|
|
|
|
|
maxHandcard:function(player,num){
|
|
|
|
|
if(player.hasSkill('huangjintianbingfu')){
|
|
|
|
|
num+=player.storage.huangjintianbingfu.length;
|
|
|
|
|
}
|
|
|
|
|
return num+game.countPlayer(function(current){
|
|
|
|
|
return current.isFriendOf(player);
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
},
|
2017-04-15 00:25:50 +00:00
|
|
|
|
trigger:{player:'damageBefore'},
|
2018-08-20 05:51:05 +00:00
|
|
|
|
filter:function(event,player){
|
|
|
|
|
if(event.source&&event.source.hasSkillTag('unequip',false,{
|
|
|
|
|
name:event.card?event.card.name:null,
|
|
|
|
|
target:player,
|
|
|
|
|
card:event.card
|
|
|
|
|
})) return false;
|
2017-04-15 00:25:50 +00:00
|
|
|
|
if(event.nature) return true;
|
|
|
|
|
},
|
|
|
|
|
forced:true,
|
|
|
|
|
content:function(){
|
2017-09-15 07:51:09 +00:00
|
|
|
|
trigger.cancel();
|
2017-04-15 00:25:50 +00:00
|
|
|
|
},
|
|
|
|
|
ai:{
|
|
|
|
|
nofire:true,
|
|
|
|
|
nothunder:true,
|
|
|
|
|
effect:{
|
|
|
|
|
target:function(card,player,target,current){
|
2018-08-20 05:51:05 +00:00
|
|
|
|
if(player.hasSkillTag('unequip',false,{
|
|
|
|
|
name:card?card.name:null,
|
|
|
|
|
target:player,
|
|
|
|
|
card:card
|
|
|
|
|
})) return;
|
2017-04-15 00:25:50 +00:00
|
|
|
|
if(get.tag(card,'natureDamage')) return 'zerotarget';
|
|
|
|
|
if(card.name=='tiesuo'){
|
|
|
|
|
return [0,0];
|
|
|
|
|
}
|
2017-02-26 04:22:53 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2017-04-15 00:25:50 +00:00
|
|
|
|
},
|
2019-07-07 10:35:24 +00:00
|
|
|
|
g_taipingyaoshu:{},
|
2017-04-15 00:25:50 +00:00
|
|
|
|
yuxi_skill:{
|
|
|
|
|
trigger:{player:'phaseDrawBegin'},
|
|
|
|
|
forced:true,
|
|
|
|
|
filter:function(event,player){
|
|
|
|
|
return !player.isUnseen();
|
|
|
|
|
},
|
|
|
|
|
content:function(){
|
|
|
|
|
trigger.num++;
|
|
|
|
|
},
|
|
|
|
|
ai:{
|
|
|
|
|
threaten:1.3
|
|
|
|
|
},
|
|
|
|
|
group:'yuxi_skill2'
|
2016-06-25 06:30:34 +00:00
|
|
|
|
},
|
2017-04-15 00:25:50 +00:00
|
|
|
|
yuxi_skill2:{
|
|
|
|
|
trigger:{player:'phaseUseBegin'},
|
|
|
|
|
forced:true,
|
|
|
|
|
filter:function(event,player){
|
|
|
|
|
if(player.isUnseen()) return false;
|
|
|
|
|
return game.hasPlayer(function(current){
|
|
|
|
|
return player.canUse('zhibi',current);
|
2016-07-01 01:31:02 +00:00
|
|
|
|
});
|
2017-04-15 00:25:50 +00:00
|
|
|
|
},
|
|
|
|
|
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 get.effect(target,{name:'zhibi'},player,player);
|
|
|
|
|
});
|
|
|
|
|
'step 1'
|
|
|
|
|
if(result.bool){
|
|
|
|
|
player.useCard({name:'zhibi'},result.targets);
|
|
|
|
|
}
|
2016-06-25 06:30:34 +00:00
|
|
|
|
}
|
|
|
|
|
},
|
2017-04-15 00:25:50 +00:00
|
|
|
|
xietianzi:{
|
|
|
|
|
forced:true,
|
|
|
|
|
popup:false,
|
2019-07-07 10:35:24 +00:00
|
|
|
|
filter:function(event,player){
|
|
|
|
|
return player.countCards('h')>0;
|
|
|
|
|
},
|
|
|
|
|
trigger:{
|
|
|
|
|
player:'phaseDiscardAfter',
|
|
|
|
|
},
|
2017-04-15 00:25:50 +00:00
|
|
|
|
content:function(){
|
|
|
|
|
"step 0"
|
|
|
|
|
player.removeSkill('xietianzi');
|
2019-07-07 10:35:24 +00:00
|
|
|
|
player.chooseToDiscard('h','是否弃置一张手牌并获得一个额外回合?').set('ai',function(card){
|
|
|
|
|
return 10-get.value(card);
|
|
|
|
|
});
|
2017-04-15 00:25:50 +00:00
|
|
|
|
"step 1"
|
|
|
|
|
if(result.bool){
|
|
|
|
|
player.insertPhase();
|
|
|
|
|
}
|
|
|
|
|
},
|
2016-06-25 06:30:34 +00:00
|
|
|
|
},
|
2017-04-15 00:25:50 +00:00
|
|
|
|
_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;
|
|
|
|
|
}
|
2016-06-25 06:30:34 +00:00
|
|
|
|
}
|
2017-04-15 00:25:50 +00:00
|
|
|
|
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('敕令');
|
2016-06-25 06:30:34 +00:00
|
|
|
|
}
|
2017-04-15 00:25:50 +00:00
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
_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(){
|
2016-06-25 06:30:34 +00:00
|
|
|
|
_status.chiling=true;
|
2017-04-15 00:25:50 +00:00
|
|
|
|
trigger.result.card.remove();
|
2016-06-25 06:30:34 +00:00
|
|
|
|
player.popup('敕令');
|
|
|
|
|
}
|
|
|
|
|
},
|
2017-04-15 00:25:50 +00:00
|
|
|
|
_chiling3:{
|
|
|
|
|
mode:['guozhan'],
|
|
|
|
|
trigger:{player:'phaseAfter'},
|
|
|
|
|
forced:true,
|
|
|
|
|
popup:false,
|
|
|
|
|
filter:function(){
|
|
|
|
|
return _status.chiling;
|
|
|
|
|
},
|
|
|
|
|
content:function(){
|
|
|
|
|
'step 0'
|
|
|
|
|
_status.chiling=false;
|
|
|
|
|
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;
|
|
|
|
|
var choiceList=['明置一张武将牌,然后摸一张牌','失去1点体力'];
|
|
|
|
|
if(target.countCards('he',{type:'equip'})){
|
|
|
|
|
choiceList.push('弃置一张装备牌');
|
|
|
|
|
}
|
|
|
|
|
target.chooseControl(lib.card.chiling.chooseai).set('prompt','敕令').set('choiceList',choiceList);
|
2016-06-25 06:30:34 +00:00
|
|
|
|
}
|
2017-04-15 00:25:50 +00:00
|
|
|
|
else{
|
|
|
|
|
event.finish();
|
|
|
|
|
}
|
|
|
|
|
'step 2'
|
|
|
|
|
var target=event.current;
|
|
|
|
|
if(result.control=='选项一'){
|
|
|
|
|
target.chooseControl('主将','副将',function(){
|
|
|
|
|
return Math.floor(Math.random()*2);
|
|
|
|
|
}).set('prompt','选择要明置的武将牌');
|
|
|
|
|
}
|
|
|
|
|
else if(result.control=='选项二'){
|
|
|
|
|
target.loseHp();
|
|
|
|
|
event.goto(1);
|
|
|
|
|
}
|
|
|
|
|
else{
|
|
|
|
|
target.chooseToDiscard('he',{type:'equip'},true);
|
|
|
|
|
event.goto(1);
|
|
|
|
|
}
|
|
|
|
|
'step 3'
|
|
|
|
|
var target=event.current;
|
|
|
|
|
if(result.index==0){
|
|
|
|
|
target.showCharacter(0);
|
|
|
|
|
}
|
|
|
|
|
else{
|
|
|
|
|
target.showCharacter(1);
|
|
|
|
|
}
|
|
|
|
|
target.draw();
|
2017-02-26 17:01:20 +00:00
|
|
|
|
event.goto(1);
|
2016-06-25 06:30:34 +00:00
|
|
|
|
}
|
|
|
|
|
},
|
2019-07-07 10:35:24 +00:00
|
|
|
|
g_diaohulishan:{},
|
|
|
|
|
diaohulishan:{
|
|
|
|
|
trigger:{player:['damageBefore','loseHpBefore','recoverBefore']},
|
2017-04-15 00:25:50 +00:00
|
|
|
|
forced:true,
|
|
|
|
|
popup:false,
|
|
|
|
|
content:function(){
|
2019-07-07 10:35:24 +00:00
|
|
|
|
trigger.cancel();
|
|
|
|
|
},
|
2017-04-15 00:25:50 +00:00
|
|
|
|
mod:{
|
|
|
|
|
cardEnabled:function(){
|
|
|
|
|
return false;
|
|
|
|
|
},
|
|
|
|
|
cardSavable:function(){
|
|
|
|
|
return false;
|
|
|
|
|
},
|
|
|
|
|
targetEnabled:function(){
|
|
|
|
|
return false;
|
2019-07-07 10:35:24 +00:00
|
|
|
|
},
|
2017-04-15 00:25:50 +00:00
|
|
|
|
},
|
|
|
|
|
mark:true,
|
|
|
|
|
intro:{
|
2019-07-07 10:35:24 +00:00
|
|
|
|
content:'不计入距离的计算且不能使用牌且不是牌的合法目标且不能失去/回复体力和受到伤害'
|
|
|
|
|
},
|
|
|
|
|
group:'undist',
|
|
|
|
|
ai:{
|
|
|
|
|
effect:{
|
|
|
|
|
target:function (card,player,target){
|
|
|
|
|
if(get.tag(card,'recover')||get.tag(card,'damage')) return 'zeroplayertarget';
|
|
|
|
|
},
|
|
|
|
|
},
|
2017-04-15 00:25:50 +00:00
|
|
|
|
},
|
2016-06-25 06:30:34 +00:00
|
|
|
|
},
|
2017-04-15 00:25:50 +00:00
|
|
|
|
huxinjing:{
|
2018-08-13 07:17:34 +00:00
|
|
|
|
trigger:{player:'damageBefore'},
|
|
|
|
|
// forced:true,
|
|
|
|
|
filter:function(event,player){
|
2018-08-20 05:51:05 +00:00
|
|
|
|
if(event.source&&event.source.hasSkillTag('unequip',false,{
|
|
|
|
|
name:event.card?event.card.name:null,
|
|
|
|
|
target:player,
|
|
|
|
|
card:event.card
|
|
|
|
|
})) return false;
|
2018-08-13 07:17:34 +00:00
|
|
|
|
return event.num>=player.hp;
|
2017-04-15 00:25:50 +00:00
|
|
|
|
},
|
|
|
|
|
content:function(){
|
2018-08-13 07:17:34 +00:00
|
|
|
|
trigger.cancel();
|
|
|
|
|
var e2=player.getEquip('huxinjing');
|
|
|
|
|
if(e2){
|
|
|
|
|
player.discard(e2);
|
|
|
|
|
}
|
2016-06-25 06:30:34 +00:00
|
|
|
|
}
|
|
|
|
|
},
|
2017-04-15 00:25:50 +00:00
|
|
|
|
huxinjing2:{
|
|
|
|
|
trigger:{player:['damageEnd','damageZero']},
|
|
|
|
|
priority:10,
|
|
|
|
|
forced:true,
|
|
|
|
|
popup:false,
|
|
|
|
|
content:function(){
|
|
|
|
|
var card=player.getEquip('huxinjing');
|
|
|
|
|
if(card){
|
|
|
|
|
player.discard(card);
|
|
|
|
|
}
|
|
|
|
|
player.removeSkill('huxinjing2');
|
2016-06-25 06:30:34 +00:00
|
|
|
|
}
|
|
|
|
|
},
|
2017-04-15 00:25:50 +00:00
|
|
|
|
wuliu_skill:{},
|
2017-05-14 07:45:46 +00:00
|
|
|
|
g_wuliu_skill:{
|
2017-04-15 00:25:50 +00:00
|
|
|
|
mod:{
|
|
|
|
|
attackFrom:function(from,to,distance){
|
|
|
|
|
return distance-game.countPlayer(function(current){
|
|
|
|
|
if(current==from) return false;
|
|
|
|
|
if(current.identity=='unknown'||current.identity=='ye') return false;
|
|
|
|
|
if(current.identity!=from.identity) return false;
|
|
|
|
|
if(current.hasSkill('wuliu_skill')) return true;
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
sanjian_skill:{
|
|
|
|
|
audio:true,
|
|
|
|
|
trigger:{source:'damageAfter'},
|
|
|
|
|
direct:true,
|
|
|
|
|
filter:function(event,player){
|
2019-07-23 09:59:48 +00:00
|
|
|
|
if(event.player.isDead()) return false;
|
2017-04-15 00:25:50 +00:00
|
|
|
|
if(player.countCards('h')==0) return false;
|
|
|
|
|
if(!event.card) return false;
|
|
|
|
|
if(event.card.name!='sha') return false;
|
2019-07-23 10:03:56 +00:00
|
|
|
|
if(!event.notLink()) return false;
|
2017-04-15 00:25:50 +00:00
|
|
|
|
return game.hasPlayer(function(current){
|
|
|
|
|
return current!=event.player&&get.distance(event.player,current)<=1;
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
content:function(){
|
|
|
|
|
"step 0"
|
|
|
|
|
var damaged=trigger.player;
|
|
|
|
|
player.chooseCardTarget({
|
|
|
|
|
filterCard:lib.filter.cardDiscardable,
|
|
|
|
|
filterTarget:function(card,player,target){
|
|
|
|
|
var damaged=_status.event.damaged;
|
|
|
|
|
return get.distance(damaged,target)<=1&&target!=damaged;
|
|
|
|
|
},
|
|
|
|
|
ai1:function(card){
|
|
|
|
|
return 9-get.value(card);
|
|
|
|
|
},
|
|
|
|
|
ai2:function(target){
|
|
|
|
|
var player=_status.event.player;
|
|
|
|
|
return get.damageEffect(target,player,player);
|
|
|
|
|
},
|
|
|
|
|
prompt:get.prompt('sanjian')
|
|
|
|
|
}).set('damaged',damaged);
|
|
|
|
|
"step 1"
|
|
|
|
|
if(result.bool){
|
|
|
|
|
player.logSkill('sanjian_skill',result.targets);
|
|
|
|
|
player.discard(result.cards);
|
|
|
|
|
result.targets[0].damage();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
translate:{
|
2019-07-07 10:35:24 +00:00
|
|
|
|
|
|
|
|
|
equip6:'坐骑',
|
|
|
|
|
liulongcanjia:'六龙骖驾',
|
|
|
|
|
liulongcanjia_info:'锁定技,你计算与其他角色的距离+1,其他角色计算与你的距离-1。</br>锁定技,当此牌进入你的装备区时,你弃置你装备区内其他坐骑牌;当此牌在你的装备区内,你不能使用其他坐骑牌(你的装备区便不能置入其他坐骑牌)。',
|
2018-08-13 07:17:34 +00:00
|
|
|
|
minguangkai:'明光铠',
|
|
|
|
|
minguangkai_cancel:'明光铠',
|
|
|
|
|
minguangkai_link:'明光铠',
|
|
|
|
|
minguangkai_info:'锁定技,当你成为【火烧连营】、【火攻】或火【杀】的目标时,取消之;若你是小势力角色,你不会被横置。',
|
2018-08-11 16:48:38 +00:00
|
|
|
|
dinglanyemingzhu:'定澜夜明珠',
|
|
|
|
|
dinglanyemingzhu_bg:'珠',
|
|
|
|
|
dinglanyemingzhu_info:'锁定技,你视为拥有技能“制衡”,若你已经有“制衡”,则改为取消弃置牌数的限制。',
|
|
|
|
|
dinglanyemingzhu_skill:'制衡',
|
|
|
|
|
dinglanyemingzhu_skill_info:'出牌阶段限一次,你可以弃置至多X张牌(X为你的体力上限),然后摸等量的牌',
|
2017-04-15 00:25:50 +00:00
|
|
|
|
feilongduofeng:'飞龙夺凤',
|
|
|
|
|
feilongduofeng2:'飞龙夺凤',
|
2019-07-07 10:35:24 +00:00
|
|
|
|
feilongduofeng3:'飞龙夺凤',
|
|
|
|
|
feilongduofeng_info:'当你使用【杀】指定一名角色为目标后,你可令该角色弃置一张牌。当你使用【杀】令其他角色进入濒死状态时,你可以获得其一张手牌。',
|
2017-04-15 00:25:50 +00:00
|
|
|
|
taipingyaoshu:'太平要术',
|
2019-07-20 14:58:35 +00:00
|
|
|
|
taipingyaoshu_info:'锁定技,防止你受到的所有属性伤害;全场每有一名与你势力相同的角色存活,你的手牌上限便+1;当你失去装备区里的【太平要术】时,你摸两张牌,然后若你的体力值大于1,你失去1点体力。',
|
2017-04-15 00:25:50 +00:00
|
|
|
|
yuxi_skill:'玉玺',
|
|
|
|
|
yuxi_skill2:'玉玺',
|
|
|
|
|
yuxi:'玉玺',
|
|
|
|
|
yuxi_info:'锁定技,若你有明置的武将牌,你的势力视为唯一的大势力;锁定技,摸牌阶段,若你有明置的武将牌,你多摸一张牌;锁定技,出牌阶段开始时,若你有明置的武将牌,你视为使用【知己知彼】',
|
|
|
|
|
xietianzi:'挟令',
|
2019-07-07 10:35:24 +00:00
|
|
|
|
xietianzi_info:'出牌阶段,对自己使用。你结束出牌阶段,若如此做,弃牌阶段结束时,你可以弃置一张手牌,获得一个额外的回合',
|
|
|
|
|
xietianzi_info_guozhan:'出牌阶段,对为大势力角色的你使用。你结束出牌阶段,若如此做,弃牌阶段结束时,你可以弃置一张手牌,获得一个额外的回合',
|
2017-04-15 00:25:50 +00:00
|
|
|
|
shuiyanqijunx:'水淹七军',
|
|
|
|
|
shuiyanqijunx_info:'出牌阶段,对一名装备区里有牌的其他角色使用。目标角色选择一项:1、弃置装备区里的所有牌;2、受到你造成的1点雷电伤害',
|
|
|
|
|
lulitongxin:'勠力同心',
|
|
|
|
|
lulitongxin_info:'出牌阶段,对所有大势力角色或所有小势力角色使用。若目标角色:不处于“连环状态”,其横置;处于“连环状态”,其摸一张牌',
|
|
|
|
|
lianjunshengyan:'联军盛宴',
|
2019-07-07 10:35:24 +00:00
|
|
|
|
lianjunshengyan_info:'出牌阶段,对你和你选择的除你的势力外的一个势力的所有角色。若目标角色:为你,你摸X张牌或回复X点体力(X为该势力的角色数);不为你,其摸一张牌,然后重置',
|
2017-04-15 00:25:50 +00:00
|
|
|
|
chiling:'敕令',
|
|
|
|
|
chiling_info:'出牌阶段,对所有没有势力的角色使用。目标角色选择一项:1、明置一张武将牌,然后摸一张牌;2、弃置一张装备牌;3、失去1点体力。当【敕令】因判定或弃置而置入弃牌堆时,系统将之移出游戏,然后系统于当前回合结束后视为对所有没有势力的角色使用【敕令】',
|
|
|
|
|
diaohulishan:'调虎离山',
|
2019-07-07 10:35:24 +00:00
|
|
|
|
diaohulishan_info:'出牌阶段,对至多两名其他角色使用。目标角色于此回合结束之前不计入距离的计算且不能使用牌且不是牌的合法目标且不能失去或回复体力或受到伤害。',
|
2017-04-15 00:25:50 +00:00
|
|
|
|
huoshaolianying:'火烧连营',
|
|
|
|
|
huoshaolianying_bg:'烧',
|
|
|
|
|
huoshaolianying_info_guozhan:'出牌阶段,对你的下家和与其处于同一队列的角色使用,每名角色受到一点火焰伤害',
|
|
|
|
|
huoshaolianying_info:'对离你最近的一名横置角色使用(若无横置角色则改为对距离你最近的所有角色使用),对目标造成一点火焰伤害',
|
|
|
|
|
yuanjiao:'远交近攻',
|
|
|
|
|
yuanjiao_info_guozhan:'对一名不同势力的角色使用,对方摸一张牌,然后你摸3张牌',
|
|
|
|
|
yuanjiao_info:'对一名其他角色使用,你与其各摸一张牌',
|
|
|
|
|
yuanjiao_bg:'交',
|
|
|
|
|
zhibi:'知己知彼',
|
|
|
|
|
zhibi_info:'出牌阶段对一名其他角色使用,观看其手牌或武将牌',
|
|
|
|
|
yiyi:'以逸待劳',
|
|
|
|
|
yiyi_info_guozhan:'对与自己势力相同的所有角色使用,摸两张牌然后弃置两张牌',
|
|
|
|
|
yiyi_info_combat:'对所有友方角色使用,摸两张牌然后弃置两张牌',
|
|
|
|
|
yiyi_info:'对与任意三名角色使用,摸两张牌然后弃置两张牌',
|
|
|
|
|
yiyi_bg:'逸',
|
|
|
|
|
wuliu:'吴六剑',
|
|
|
|
|
wuliu_info:'其他与装备者势力相同的角色攻击范围+1',
|
|
|
|
|
sanjian:'三尖两刃刀',
|
|
|
|
|
sanjian_info:'当你使用杀造成伤害后,可以弃置1张手牌对一名距离受伤害角色1以内的其他角色造成1点伤害',
|
|
|
|
|
wuliu_skill:'吴六剑',
|
|
|
|
|
sanjian_skill:'三尖两刃刀',
|
|
|
|
|
jingfanma_bg:'-马',
|
|
|
|
|
jingfanma:'惊帆',
|
|
|
|
|
jingfanma_info:'你的进攻距离+1',
|
|
|
|
|
huxinjing_bg:'镜',
|
|
|
|
|
huxinjing:'护心镜',
|
2018-08-13 07:17:34 +00:00
|
|
|
|
huxinjing_info:'当你受到伤害时,若伤害值大于或等于你的体力值,则你可以将【护心镜】置入弃牌堆,然后防止此伤害。',
|
2015-04-29 03:25:17 +00:00
|
|
|
|
},
|
2017-04-15 00:25:50 +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'],
|
|
|
|
|
["spade",4,'shunshou'],
|
|
|
|
|
["spade",12,'guohe'],
|
|
|
|
|
["spade",11,'wuxie'],
|
|
|
|
|
['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'],
|
|
|
|
|
],
|
|
|
|
|
}
|
2017-04-14 23:35:56 +00:00
|
|
|
|
});
|