2015-04-29 03:25:17 +00:00
|
|
|
|
card.swd={
|
|
|
|
|
card:{
|
2016-07-05 14:11:33 +00:00
|
|
|
|
lingjiandai:{
|
|
|
|
|
fullskin:true,
|
|
|
|
|
enable:true,
|
|
|
|
|
type:'basic',
|
|
|
|
|
range:{global:1},
|
|
|
|
|
filterTarget:true,
|
|
|
|
|
content:function(){
|
|
|
|
|
var list=get.typeCard('hslingjian');
|
|
|
|
|
if(list.length){
|
|
|
|
|
list=list.randomGets(3);
|
|
|
|
|
for(var i=0;i<list.length;i++){
|
|
|
|
|
list[i]=game.createCard(list[i]);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
target.gain(list,'gain2');
|
|
|
|
|
},
|
|
|
|
|
ai:{
|
|
|
|
|
order:10,
|
|
|
|
|
result:{
|
|
|
|
|
target:function(player,target){
|
|
|
|
|
if(target==player&&target.num('h',{type:'equip'})) return 2.5;
|
|
|
|
|
if(target.hasSkill('mujiaren_skill')) return 2;
|
|
|
|
|
return 1;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
jiguanshu:{
|
|
|
|
|
fullskin:true,
|
|
|
|
|
enable:true,
|
|
|
|
|
type:'basic',
|
|
|
|
|
range:{global:1},
|
|
|
|
|
filterTarget:function(card,player,target){
|
|
|
|
|
var es=target.get('e');
|
|
|
|
|
for(var i=0;i<es.length;i++){
|
|
|
|
|
if(lib.inpile.contains(es[i].name)) return true;
|
|
|
|
|
}
|
|
|
|
|
return false;
|
|
|
|
|
},
|
|
|
|
|
content:function(){
|
|
|
|
|
var es=target.get('e');
|
|
|
|
|
var list=get.typeCard('hslingjian');
|
|
|
|
|
var cards=[];
|
|
|
|
|
var time=0;
|
|
|
|
|
for(var i=0;i<es.length;i++){
|
|
|
|
|
if(lib.inpile.contains(es[i].name)){
|
|
|
|
|
var card=game.createCard(list.randomGet());
|
|
|
|
|
cards.push(card);
|
|
|
|
|
time+=200;
|
|
|
|
|
setTimeout((function(card,name){
|
|
|
|
|
return function(){
|
|
|
|
|
card.init([card.suit,card.number,name,card.nature]);
|
|
|
|
|
card.style.transform='scale(1.1)';
|
|
|
|
|
card.classList.add('glow');
|
|
|
|
|
setTimeout(function(){
|
|
|
|
|
card.style.transform='';
|
|
|
|
|
card.classList.remove('glow');
|
|
|
|
|
},500);
|
|
|
|
|
}
|
|
|
|
|
}(es[i],lib.skill._lingjianduanzao.process([card,es[i]]))),i*200);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
target.$gain2(cards);
|
|
|
|
|
game.delay(0,time)
|
|
|
|
|
},
|
|
|
|
|
ai:{
|
|
|
|
|
order:7.5,
|
|
|
|
|
result:{
|
|
|
|
|
target:function(player,target){
|
|
|
|
|
var es=target.get('e');
|
|
|
|
|
var num=0;
|
|
|
|
|
for(var i=0;i<es.length;i++){
|
|
|
|
|
if(lib.inpile.contains(es[i].name)) num++;
|
|
|
|
|
}
|
|
|
|
|
return num;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
mujiaren:{
|
|
|
|
|
fullskin:true,
|
|
|
|
|
enable:true,
|
|
|
|
|
type:'basic',
|
|
|
|
|
range:{global:1},
|
|
|
|
|
filterTarget:function(card,player,target){
|
|
|
|
|
return !target.hasSkill('mujiaren_skill');
|
|
|
|
|
},
|
|
|
|
|
content:function(){
|
|
|
|
|
target.addSkill('mujiaren_skill');
|
|
|
|
|
},
|
|
|
|
|
ai:{
|
|
|
|
|
order:10.1,
|
|
|
|
|
result:{
|
|
|
|
|
target:1
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
hslingjian_xuanfengzhiren:{
|
|
|
|
|
type:'hslingjian',
|
|
|
|
|
fullimage:true,
|
|
|
|
|
vanish:true,
|
|
|
|
|
enable:true,
|
|
|
|
|
derivation:true,
|
2016-07-10 01:25:12 +00:00
|
|
|
|
derivationpack:'swd',
|
2016-07-05 14:11:33 +00:00
|
|
|
|
filterTarget:function(card,player,target){
|
|
|
|
|
return target.num('he')>0;
|
|
|
|
|
},
|
|
|
|
|
content:function(){
|
|
|
|
|
target.discard(target.get('he').randomGet());
|
|
|
|
|
},
|
|
|
|
|
ai:{
|
|
|
|
|
order:6.5,
|
|
|
|
|
result:{
|
|
|
|
|
target:-1,
|
|
|
|
|
},
|
|
|
|
|
useful:[2,0.5],
|
|
|
|
|
value:[2,0.5],
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
hslingjian_zhongxinghujia:{
|
|
|
|
|
type:'hslingjian',
|
|
|
|
|
fullimage:true,
|
|
|
|
|
vanish:true,
|
|
|
|
|
enable:true,
|
|
|
|
|
derivation:true,
|
2016-07-10 01:25:12 +00:00
|
|
|
|
derivationpack:'swd',
|
2016-07-05 14:11:33 +00:00
|
|
|
|
filterTarget:true,
|
|
|
|
|
content:function(){
|
|
|
|
|
'step 0'
|
|
|
|
|
var list=[];
|
|
|
|
|
for(var i=0;i<lib.inpile.length;i++){
|
|
|
|
|
if(lib.card[lib.inpile[i]].subtype=='equip2'){
|
|
|
|
|
list.push(lib.inpile[i]);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
if(list.length){
|
|
|
|
|
var card=game.createCard(list.randomGet());
|
|
|
|
|
target.$draw(card);
|
|
|
|
|
game.delay();
|
|
|
|
|
target.equip(card);
|
|
|
|
|
}
|
|
|
|
|
'step 1'
|
|
|
|
|
var hs=target.get('h');
|
|
|
|
|
if(hs.length){
|
|
|
|
|
target.discard(hs.randomGet());
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
ai:{
|
|
|
|
|
order:1,
|
|
|
|
|
result:{
|
|
|
|
|
target:function(player,target){
|
|
|
|
|
if(target.get('e','2')){
|
|
|
|
|
if(target.num('h')) return -0.6;
|
|
|
|
|
return 0;
|
|
|
|
|
}
|
|
|
|
|
else{
|
|
|
|
|
if(target.num('h')) return 0.5;
|
|
|
|
|
return 1;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
useful:[2,0.5],
|
|
|
|
|
value:[2,0.5],
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
hslingjian_xingtigaizao:{
|
|
|
|
|
type:'hslingjian',
|
|
|
|
|
fullimage:true,
|
|
|
|
|
vanish:true,
|
|
|
|
|
enable:true,
|
|
|
|
|
derivation:true,
|
2016-07-10 01:25:12 +00:00
|
|
|
|
derivationpack:'swd',
|
2016-07-05 14:11:33 +00:00
|
|
|
|
filterTarget:function(card,player,target){
|
|
|
|
|
return target==player;
|
|
|
|
|
},
|
|
|
|
|
selectTarget:-1,
|
|
|
|
|
content:function(){
|
|
|
|
|
target.draw();
|
|
|
|
|
target.addSkill('hslingjian_xingtigaizao');
|
|
|
|
|
if(typeof target.storage.hslingjian_xingtigaizao=='number'){
|
|
|
|
|
target.storage.hslingjian_xingtigaizao++;
|
|
|
|
|
}
|
|
|
|
|
else{
|
|
|
|
|
target.storage.hslingjian_xingtigaizao=1;
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
ai:{
|
|
|
|
|
order:1,
|
|
|
|
|
result:{
|
|
|
|
|
target:function(player,target){
|
|
|
|
|
if(target.num('h')<target.hp) return 1;
|
|
|
|
|
return 0;
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
useful:[2,0.5],
|
|
|
|
|
value:[2,0.5],
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
hslingjian_shijianhuisu:{
|
|
|
|
|
type:'hslingjian',
|
|
|
|
|
fullimage:true,
|
|
|
|
|
vanish:true,
|
|
|
|
|
enable:true,
|
|
|
|
|
derivation:true,
|
2016-07-10 01:25:12 +00:00
|
|
|
|
derivationpack:'swd',
|
2016-07-05 14:11:33 +00:00
|
|
|
|
filterTarget:function(card,player,target){
|
|
|
|
|
return target!=player&&target.num('e')>0;
|
|
|
|
|
},
|
|
|
|
|
content:function(){
|
|
|
|
|
var es=target.get('e');
|
|
|
|
|
target.gain(es);
|
|
|
|
|
target.$gain2(es);
|
|
|
|
|
},
|
|
|
|
|
ai:{
|
|
|
|
|
order:5,
|
|
|
|
|
result:{
|
|
|
|
|
target:function(player,target){
|
|
|
|
|
if(target.hasSkillTag('noe')) return target.num('e')*2;
|
|
|
|
|
return -target.num('e');
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
useful:[2,0.5],
|
|
|
|
|
value:[2,0.5],
|
|
|
|
|
tag:{
|
|
|
|
|
loseCard:1,
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
hslingjian_jinjilengdong:{
|
|
|
|
|
type:'hslingjian',
|
|
|
|
|
fullimage:true,
|
|
|
|
|
vanish:true,
|
|
|
|
|
enable:true,
|
|
|
|
|
derivation:true,
|
2016-07-10 01:25:12 +00:00
|
|
|
|
derivationpack:'swd',
|
2016-07-05 14:11:33 +00:00
|
|
|
|
filterTarget:function(card,player,target){
|
|
|
|
|
return !target.isTurnedOver()&&target!=player;
|
|
|
|
|
},
|
|
|
|
|
content:function(){
|
|
|
|
|
target.draw(2);
|
|
|
|
|
target.turnOver();
|
|
|
|
|
},
|
|
|
|
|
ai:{
|
|
|
|
|
order:2,
|
|
|
|
|
result:{
|
|
|
|
|
target:-1,
|
|
|
|
|
},
|
|
|
|
|
useful:[2,0.5],
|
|
|
|
|
value:[2,0.5],
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
hslingjian_shengxiuhaojiao:{
|
|
|
|
|
type:'hslingjian',
|
|
|
|
|
fullimage:true,
|
|
|
|
|
vanish:true,
|
|
|
|
|
enable:true,
|
|
|
|
|
derivation:true,
|
2016-07-10 01:25:12 +00:00
|
|
|
|
derivationpack:'swd',
|
2016-07-05 14:11:33 +00:00
|
|
|
|
filterTarget:function(card,player,target){
|
|
|
|
|
return !target.hasSkill('hslingjian_chaofeng');
|
|
|
|
|
},
|
|
|
|
|
content:function(){
|
|
|
|
|
target.addTempSkill('hslingjian_chaofeng',{player:'phaseBegin'});
|
|
|
|
|
},
|
|
|
|
|
ai:{
|
|
|
|
|
order:2,
|
|
|
|
|
result:{
|
|
|
|
|
target:function(player,target){
|
|
|
|
|
if(get.distance(player,target,'absolute')<=1) return 0;
|
|
|
|
|
if(target.num('h')<=target.hp) return -0.1;
|
|
|
|
|
return -1;
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
useful:[2,0.5],
|
|
|
|
|
value:[2,0.5],
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
hslingjian_yinmilichang:{
|
|
|
|
|
type:'hslingjian',
|
|
|
|
|
fullimage:true,
|
|
|
|
|
vanish:true,
|
|
|
|
|
enable:true,
|
|
|
|
|
derivation:true,
|
2016-07-10 01:25:12 +00:00
|
|
|
|
derivationpack:'swd',
|
2016-07-05 14:11:33 +00:00
|
|
|
|
filterTarget:function(card,player,target){
|
|
|
|
|
return player!=target&&!target.hasSkill('hslingjian_yinshen');
|
|
|
|
|
},
|
|
|
|
|
content:function(){
|
|
|
|
|
target.addTempSkill('hslingjian_yinshen',{player:'phaseBegin'});
|
|
|
|
|
},
|
|
|
|
|
ai:{
|
|
|
|
|
order:2,
|
|
|
|
|
result:{
|
|
|
|
|
target:function(player,target){
|
|
|
|
|
if(get.distance(player,target,'absolute')<=1) return 0;
|
|
|
|
|
if(target.hp==1) return 2;
|
|
|
|
|
if(target.hp==2&&target.num('h')<=2) return 1.2;
|
|
|
|
|
return 1;
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
useful:[2,0.5],
|
|
|
|
|
value:[2,0.5],
|
|
|
|
|
}
|
|
|
|
|
},
|
2016-06-08 01:43:10 +00:00
|
|
|
|
xingjunyan:{
|
|
|
|
|
fullskin:true,
|
|
|
|
|
type:'equip',
|
|
|
|
|
subtype:'equip5',
|
|
|
|
|
skills:['xingjunyan'],
|
|
|
|
|
ai:{
|
|
|
|
|
basic:{
|
|
|
|
|
equipValue:4
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
qinglonglingzhu:{
|
|
|
|
|
fullskin:true,
|
|
|
|
|
type:'equip',
|
|
|
|
|
subtype:'equip5',
|
|
|
|
|
skills:['qinglonglingzhu'],
|
|
|
|
|
ai:{
|
|
|
|
|
basic:{
|
|
|
|
|
equipValue:5
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
},
|
2015-04-29 03:25:17 +00:00
|
|
|
|
baihupifeng:{
|
|
|
|
|
fullskin:true,
|
|
|
|
|
type:"equip",
|
|
|
|
|
subtype:"equip2",
|
|
|
|
|
skills:['baihupifeng'],
|
|
|
|
|
ai:{
|
|
|
|
|
basic:{
|
|
|
|
|
equipValue:function(card,player){
|
|
|
|
|
if(player.hp<=2) return 8;
|
|
|
|
|
return 6;
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
fengxueren:{
|
2016-06-08 02:36:15 +00:00
|
|
|
|
fullskin:true,
|
2015-04-29 03:25:17 +00:00
|
|
|
|
type:"equip",
|
|
|
|
|
subtype:"equip1",
|
|
|
|
|
distance:{attackFrom:-1},
|
|
|
|
|
skills:['fengxueren'],
|
|
|
|
|
ai:{
|
|
|
|
|
basic:{
|
2016-06-08 04:29:54 +00:00
|
|
|
|
equipValue:5
|
2015-04-29 03:25:17 +00:00
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
chilongya:{
|
2016-06-08 02:36:15 +00:00
|
|
|
|
fullskin:true,
|
2015-04-29 03:25:17 +00:00
|
|
|
|
type:"equip",
|
|
|
|
|
subtype:"equip1",
|
|
|
|
|
distance:{attackFrom:-1},
|
|
|
|
|
skills:['chilongya'],
|
|
|
|
|
ai:{
|
|
|
|
|
basic:{
|
|
|
|
|
equipValue:4
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
daihuofenglun:{
|
|
|
|
|
type:'equip',
|
|
|
|
|
subtype:'equip4',
|
|
|
|
|
distance:{globalFrom:-2,globalTo:-1},
|
|
|
|
|
ai:{
|
|
|
|
|
basic:{
|
|
|
|
|
equipValue:4
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
xiayuncailing:{
|
|
|
|
|
type:'equip',
|
|
|
|
|
subtype:'equip3',
|
|
|
|
|
distance:{globalFrom:1,globalTo:2},
|
|
|
|
|
},
|
|
|
|
|
shentoumianju:{
|
|
|
|
|
fullskin:true,
|
|
|
|
|
type:'equip',
|
|
|
|
|
subtype:'equip5',
|
|
|
|
|
skills:['shentou'],
|
|
|
|
|
ai:{
|
|
|
|
|
basic:{
|
|
|
|
|
equipValue:7,
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
pusafazhou:{
|
|
|
|
|
type:'equip',
|
|
|
|
|
subtype:'equip5',
|
|
|
|
|
skills:['pusafazhou'],
|
|
|
|
|
ai:{
|
|
|
|
|
basic:{
|
|
|
|
|
equipValue:function(card,player){
|
|
|
|
|
if(player.hp==2) return 7;
|
|
|
|
|
if(player.hp==1) return 9;
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
yuhuanghua:{
|
|
|
|
|
type:'basic',
|
|
|
|
|
enable:true,
|
|
|
|
|
selectTarget:-1,
|
|
|
|
|
// filterTarget:function(card,player,target){
|
|
|
|
|
// return target.hp<target.maxHp;
|
|
|
|
|
// },
|
|
|
|
|
filterTarget:true,
|
|
|
|
|
content:function(){
|
|
|
|
|
"step 0"
|
|
|
|
|
target.recover();
|
|
|
|
|
"step 1"
|
|
|
|
|
target.draw();
|
|
|
|
|
},
|
|
|
|
|
ai:{
|
|
|
|
|
basic:{
|
|
|
|
|
order:7,
|
|
|
|
|
useful:3,
|
|
|
|
|
value:3,
|
|
|
|
|
},
|
|
|
|
|
result:{
|
|
|
|
|
target:function(player,target){
|
|
|
|
|
target.hp<target.maxHp?2:1;
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
xiangyuye:{
|
|
|
|
|
type:'basic',
|
|
|
|
|
enable:true,
|
|
|
|
|
fullskin:true,
|
|
|
|
|
filterTarget:function(card,player,target){
|
|
|
|
|
return get.distance(player,target,'attack')>1;
|
|
|
|
|
},
|
|
|
|
|
content:function(){
|
|
|
|
|
"step 0"
|
2015-08-15 09:10:06 +00:00
|
|
|
|
if(!target.num('h',{color:'black'})){
|
|
|
|
|
target.loseHp();
|
|
|
|
|
event.finish();
|
|
|
|
|
}
|
|
|
|
|
else{
|
|
|
|
|
target.chooseToDiscard({color:'black'},'弃置一张黑色手牌或受流失一点体力').ai=function(card){
|
|
|
|
|
return 8-ai.get.value(card);
|
|
|
|
|
};
|
|
|
|
|
}
|
2015-04-29 03:25:17 +00:00
|
|
|
|
"step 1"
|
|
|
|
|
if(!result.bool){
|
|
|
|
|
target.loseHp();
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
ai:{
|
|
|
|
|
basic:{
|
|
|
|
|
order:9,
|
|
|
|
|
value:3,
|
|
|
|
|
useful:1,
|
|
|
|
|
},
|
|
|
|
|
result:{
|
|
|
|
|
target:-2
|
|
|
|
|
},
|
|
|
|
|
tag:{
|
|
|
|
|
discard:1,
|
|
|
|
|
loseHp:1
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
caoyao:{
|
|
|
|
|
fullskin:true,
|
|
|
|
|
type:'basic',
|
|
|
|
|
range:{global:1},
|
|
|
|
|
enable:true,
|
|
|
|
|
filterTarget:function(card,player,target){
|
|
|
|
|
return target.hp<target.maxHp;
|
|
|
|
|
},
|
|
|
|
|
content:function(){
|
|
|
|
|
target.recover();
|
|
|
|
|
},
|
|
|
|
|
ai:{
|
|
|
|
|
basic:{
|
|
|
|
|
useful:[7,2],
|
|
|
|
|
value:[7,2],
|
|
|
|
|
},
|
|
|
|
|
order:7,
|
|
|
|
|
result:{
|
|
|
|
|
target:2
|
|
|
|
|
},
|
|
|
|
|
tag:{
|
|
|
|
|
recover:1,
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
huanpodan:{
|
|
|
|
|
type:'basic',
|
|
|
|
|
enable:function(){return game.dead.length>0},
|
|
|
|
|
notarget:true,
|
|
|
|
|
content:function(){
|
|
|
|
|
"step 0"
|
|
|
|
|
var list=[];
|
|
|
|
|
for(var i=0;i<game.dead.length;i++){
|
|
|
|
|
list.push(game.dead[i].name);
|
|
|
|
|
}
|
|
|
|
|
player.chooseButton(ui.create.dialog([list,'character']),function(button){
|
|
|
|
|
for(var i=0;i<game.dead.length&&game.dead[i].name!=button.link;i++);
|
|
|
|
|
return ai.get.attitude(_status.event.player,game.dead[i]);
|
|
|
|
|
},true);
|
|
|
|
|
"step 1"
|
|
|
|
|
if(result.bool){
|
|
|
|
|
for(var i=0;i<game.dead.length&&game.dead[i].name!=result.buttons[0].link;i++);
|
|
|
|
|
var dead=game.dead[i];
|
|
|
|
|
dead.revive(1);
|
|
|
|
|
player.logSkill('huanpodan',dead);
|
|
|
|
|
player.loseHp();
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
ai:{
|
|
|
|
|
basic:{
|
|
|
|
|
useful:[4,2],
|
|
|
|
|
value:[9,2],
|
|
|
|
|
},
|
|
|
|
|
order:function(card,player){
|
|
|
|
|
if(player.hp<=2) return -1;
|
|
|
|
|
for(var i=0;i<game.dead.length;i++){
|
|
|
|
|
if(ai.get.attitude(player,game.dead[i])>3) return 7;
|
|
|
|
|
}
|
|
|
|
|
return -10;
|
|
|
|
|
},
|
|
|
|
|
result:{
|
|
|
|
|
player:function(player){
|
|
|
|
|
if(player.hp<=2) return -1;
|
|
|
|
|
for(var i=0;i<game.dead.length;i++){
|
|
|
|
|
if(ai.get.attitude(player,game.dead[i])>3) return 2;
|
|
|
|
|
}
|
|
|
|
|
return -10;
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
pantao:{
|
|
|
|
|
type:'basic',
|
|
|
|
|
enable:function(card,player){
|
|
|
|
|
return player.hp<player.maxHp;
|
|
|
|
|
},
|
|
|
|
|
savable:true,
|
|
|
|
|
selectTarget:-1,
|
|
|
|
|
filterTarget:function(card,player,target){
|
|
|
|
|
return target==player;
|
|
|
|
|
},
|
|
|
|
|
content:function(){
|
|
|
|
|
target.recover(2);
|
|
|
|
|
},
|
|
|
|
|
ai:{
|
|
|
|
|
order:7,
|
|
|
|
|
basic:{
|
|
|
|
|
useful:[10,6],
|
|
|
|
|
value:[10,6],
|
|
|
|
|
},
|
|
|
|
|
result:{
|
|
|
|
|
target:function(player,target){
|
|
|
|
|
if(target.get('h').length<=target.hp) return 0;
|
|
|
|
|
return 2;
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
tag:{
|
|
|
|
|
recover:2,
|
|
|
|
|
save:2
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
tianxianjiu:{
|
|
|
|
|
fullskin:true,
|
|
|
|
|
type:'basic',
|
|
|
|
|
enable:true,
|
|
|
|
|
savable:function(card,player){
|
|
|
|
|
return _status.event.dying==player;
|
|
|
|
|
},
|
|
|
|
|
usable:1,
|
|
|
|
|
selectTarget:-1,
|
2016-05-11 15:50:00 +00:00
|
|
|
|
modTarget:true,
|
2015-04-29 03:25:17 +00:00
|
|
|
|
filterTarget:function(card,player,target){
|
|
|
|
|
return target==player;
|
|
|
|
|
},
|
|
|
|
|
content:function(){
|
|
|
|
|
"step 0"
|
|
|
|
|
if(target==_status.dying) target.recover();
|
|
|
|
|
else{
|
|
|
|
|
target.addTempSkill('tianxianjiu',['phaseAfter','shaAfter']);
|
2016-05-11 15:50:00 +00:00
|
|
|
|
if(target==targets[0]&&card.clone&&(card.clone.parentNode==player.parentNode||card.clone.parentNode==ui.arena)){
|
2015-11-23 10:59:44 +00:00
|
|
|
|
card.clone.moveDelete(target);
|
2015-11-04 01:59:00 +00:00
|
|
|
|
game.addVideo('gain2',target,get.cardsInfo([card]));
|
2015-04-29 03:25:17 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
ai:{
|
|
|
|
|
basic:{
|
2015-11-09 03:15:16 +00:00
|
|
|
|
useful:function(card,i){
|
|
|
|
|
if(_status.event.player.hp>1){
|
|
|
|
|
if(i==0) return 5;
|
|
|
|
|
return 1;
|
|
|
|
|
}
|
|
|
|
|
if(i==0) return 7.3;
|
|
|
|
|
return 3;
|
|
|
|
|
},
|
|
|
|
|
value:function(card,player){
|
|
|
|
|
if(player.hp>1){
|
|
|
|
|
if(i==0) return 5;
|
|
|
|
|
return 1;
|
|
|
|
|
}
|
|
|
|
|
if(i==0) return 7.3;
|
|
|
|
|
return 3;
|
|
|
|
|
},
|
2015-04-29 03:25:17 +00:00
|
|
|
|
},
|
|
|
|
|
order:function(){
|
|
|
|
|
return lib.card.sha.ai.order+0.2;
|
|
|
|
|
},
|
|
|
|
|
result:{
|
|
|
|
|
target:function(player,target){
|
|
|
|
|
if(target&&target==_status.dying) return 2;
|
2016-02-04 06:55:02 +00:00
|
|
|
|
if(lib.config.mode=='stone'&&!player.isMin()){
|
|
|
|
|
if(player.getActCount()+1>=player.actcount) return false;
|
|
|
|
|
}
|
2015-04-29 03:25:17 +00:00
|
|
|
|
var shas=target.get('h','sha');
|
|
|
|
|
var ok=false;
|
|
|
|
|
if(shas.length){
|
|
|
|
|
for(var i=0;i<shas.length;i++){
|
|
|
|
|
if(lib.filter.filterCard(shas[i],target)){
|
|
|
|
|
ok=true;break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
if(ok){
|
|
|
|
|
var card=target.get('h','sha',0);
|
|
|
|
|
for(var i=0;i<game.players.length;i++){
|
|
|
|
|
if(ai.get.attitude(target,game.players[i])<0&&
|
|
|
|
|
target.canUse(card,game.players[i],true,true)){
|
|
|
|
|
if(ai.get.effect(game.players[i],card,target)>0) return 1;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
return 0;
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
langeguaiyi:{
|
|
|
|
|
fullskin:true,
|
|
|
|
|
type:'equip',
|
|
|
|
|
subtype:'equip5',
|
|
|
|
|
skills:['longfan'],
|
|
|
|
|
ai:{
|
|
|
|
|
basic:{
|
|
|
|
|
equipValue:7,
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
guiyoujie:{
|
|
|
|
|
fullskin:true,
|
|
|
|
|
type:'delay',
|
|
|
|
|
filterTarget:function(card,player,target){
|
|
|
|
|
return (lib.filter.judge(card,player,target)&&player!=target);
|
|
|
|
|
},
|
|
|
|
|
judge:function(card){
|
2015-05-04 14:27:10 +00:00
|
|
|
|
if(get.color(card)=='black') return -3;
|
|
|
|
|
return 0;
|
2015-04-29 03:25:17 +00:00
|
|
|
|
},
|
|
|
|
|
effect:function(){
|
|
|
|
|
if(result.bool==false){
|
|
|
|
|
player.turnOver();
|
|
|
|
|
player.draw();
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
ai:{
|
|
|
|
|
basic:{
|
|
|
|
|
order:1,
|
|
|
|
|
useful:1,
|
|
|
|
|
value:6,
|
|
|
|
|
},
|
|
|
|
|
result:{
|
|
|
|
|
target:-3
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
yufulu:{
|
|
|
|
|
fullskin:true,
|
|
|
|
|
type:'equip',
|
2015-05-05 09:23:31 +00:00
|
|
|
|
chongzhu:true,
|
2015-04-29 03:25:17 +00:00
|
|
|
|
enable:function(card,player){
|
|
|
|
|
return player.sex=='female';
|
|
|
|
|
},
|
|
|
|
|
subtype:'equip5',
|
|
|
|
|
skills:['touzhi'],
|
|
|
|
|
ai:{
|
|
|
|
|
basic:{
|
|
|
|
|
equipValue:function(card,player){
|
|
|
|
|
if(player.sex=='female') return 5;
|
|
|
|
|
return 0;
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
xixueguizhihuan:{
|
|
|
|
|
fullskin:true,
|
|
|
|
|
type:'equip',
|
|
|
|
|
subtype:'equip5',
|
|
|
|
|
skills:['xixue'],
|
|
|
|
|
ai:{
|
|
|
|
|
basic:{
|
|
|
|
|
equipValue:5
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
zhufangshenshi:{
|
|
|
|
|
fullskin:true,
|
|
|
|
|
chongzhu:true,
|
2015-09-17 10:04:55 +00:00
|
|
|
|
type:'trick',
|
2015-04-29 03:25:17 +00:00
|
|
|
|
enable:function(){
|
|
|
|
|
return game.players.length>2;
|
|
|
|
|
},
|
|
|
|
|
filterTarget:function(card,player,target){
|
|
|
|
|
return player.next==target||player.previous==target;
|
|
|
|
|
},
|
|
|
|
|
content:function(){
|
|
|
|
|
game.swapSeat(player,target);
|
|
|
|
|
},
|
|
|
|
|
ai:{
|
|
|
|
|
basic:{
|
|
|
|
|
order:7,
|
|
|
|
|
},
|
|
|
|
|
result:{
|
|
|
|
|
target:function(player,target){
|
|
|
|
|
if(player.next==target) return -1;
|
|
|
|
|
if(player.previous==target) return 1;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
mode:['identity','guozhan'],
|
|
|
|
|
},
|
|
|
|
|
jingleishan:{
|
|
|
|
|
fullskin:true,
|
|
|
|
|
type:'trick',
|
|
|
|
|
enable:true,
|
|
|
|
|
selectTarget:-1,
|
|
|
|
|
filterTarget:function(card,player,target){
|
|
|
|
|
return target!=player;
|
|
|
|
|
},
|
|
|
|
|
content:function(){
|
|
|
|
|
"step 0"
|
|
|
|
|
var next=target.chooseToRespond({name:'sha'});
|
|
|
|
|
next.ai=function(card){
|
|
|
|
|
if(ai.get.damageEffect(target,player,target,'thunder')>=0) return 0;
|
2015-11-06 10:05:08 +00:00
|
|
|
|
if(player.get('s').contains('xinwuyan')) return 0;
|
|
|
|
|
if(target.get('s').contains('xinwuyan')) return 0;
|
2015-04-29 03:25:17 +00:00
|
|
|
|
return 1;
|
|
|
|
|
};
|
|
|
|
|
next.autochoose=lib.filter.autoRespondSha;
|
|
|
|
|
"step 1"
|
|
|
|
|
if(result.bool==false){
|
|
|
|
|
target.damage('thunder');
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
ai:{
|
|
|
|
|
wuxie:function(target,card,player,viewer){
|
|
|
|
|
if(ai.get.attitude(viewer,target)>0&&target.num('h','sha')){
|
|
|
|
|
if(!target.num('h')||target.hp==1||Math.random()<0.7) return 0;
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
basic:{
|
|
|
|
|
order:9,
|
|
|
|
|
useful:[5,1]
|
|
|
|
|
},
|
|
|
|
|
result:{
|
|
|
|
|
target:function(player,target){
|
|
|
|
|
if(target.hasSkillTag('nothunder')) return 0;
|
|
|
|
|
var num=0;
|
|
|
|
|
for(var i=0;i<game.players.length;i++){
|
|
|
|
|
if(game.players[i].ai.shown==0) num++;
|
|
|
|
|
}
|
|
|
|
|
if(num>1) return 0;
|
2015-12-06 15:23:47 +00:00
|
|
|
|
var nh=target.num('h');
|
|
|
|
|
if(lib.config.mode=='identity'){
|
|
|
|
|
if(target.isZhu&&nh<=2&&target.hp<=1) return -100;
|
|
|
|
|
}
|
|
|
|
|
if(nh==0) return -2;
|
|
|
|
|
if(nh==1) return -1.7
|
2015-04-29 03:25:17 +00:00
|
|
|
|
return -1.5;
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
tag:{
|
|
|
|
|
respond:1,
|
|
|
|
|
respondSha:1,
|
|
|
|
|
damage:1,
|
|
|
|
|
natureDamage:1,
|
|
|
|
|
thunderDamage:1,
|
|
|
|
|
multitarget:1,
|
|
|
|
|
multineg:1,
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
chiyuxi:{
|
|
|
|
|
fullskin:true,
|
|
|
|
|
type:'trick',
|
|
|
|
|
enable:true,
|
|
|
|
|
selectTarget:-1,
|
|
|
|
|
filterTarget:function(card,player,target){
|
|
|
|
|
return target!=player;
|
|
|
|
|
},
|
|
|
|
|
content:function(){
|
|
|
|
|
"step 0"
|
|
|
|
|
var next=target.chooseToRespond({name:'shan'});
|
|
|
|
|
next.ai=function(card){
|
|
|
|
|
if(ai.get.damageEffect(target,player,target,'fire')>=0) return 0;
|
2015-11-06 10:05:08 +00:00
|
|
|
|
if(player.get('s').contains('xinwuyan')) return 0;
|
|
|
|
|
if(target.get('s').contains('xinwuyan')) return 0;
|
2015-04-29 03:25:17 +00:00
|
|
|
|
return 1;
|
|
|
|
|
};
|
|
|
|
|
next.autochoose=lib.filter.autoRespondShan;
|
|
|
|
|
"step 1"
|
|
|
|
|
if(result.bool==false){
|
|
|
|
|
target.damage('fire');
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
ai:{
|
|
|
|
|
wuxie:function(target,card,player,viewer){
|
|
|
|
|
if(ai.get.attitude(viewer,target)>0&&target.num('h','shan')){
|
|
|
|
|
if(!target.num('h')||target.hp==1||Math.random()<0.7) return 0;
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
basic:{
|
|
|
|
|
order:9,
|
|
|
|
|
useful:1
|
|
|
|
|
},
|
|
|
|
|
result:{
|
|
|
|
|
target:function(player,target){
|
|
|
|
|
if(target.hasSkillTag('nofire')) return 0;
|
|
|
|
|
var num=0;
|
|
|
|
|
for(var i=0;i<game.players.length;i++){
|
|
|
|
|
if(game.players[i].ai.shown==0) num++;
|
|
|
|
|
}
|
|
|
|
|
if(num>1) return 0;
|
2015-12-06 15:23:47 +00:00
|
|
|
|
var nh=target.num('h');
|
|
|
|
|
if(lib.config.mode=='identity'){
|
|
|
|
|
if(target.isZhu&&nh<=2&&target.hp<=1) return -100;
|
|
|
|
|
}
|
|
|
|
|
if(nh==0) return -2;
|
|
|
|
|
if(nh==1) return -1.7
|
2015-04-29 03:25:17 +00:00
|
|
|
|
return -1.5;
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
tag:{
|
|
|
|
|
respond:1,
|
|
|
|
|
respondShan:1,
|
|
|
|
|
damage:1,
|
|
|
|
|
natureDamage:1,
|
|
|
|
|
fireDamage:1,
|
|
|
|
|
multitarget:1,
|
|
|
|
|
multineg:1,
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
guangshatianyi:{
|
|
|
|
|
fullskin:true,
|
|
|
|
|
type:'equip',
|
|
|
|
|
enable:function(card,player){
|
|
|
|
|
return player.sex=='female';
|
|
|
|
|
},
|
|
|
|
|
subtype:'equip2',
|
|
|
|
|
skills:['guangshatianyi'],
|
|
|
|
|
ai:{
|
|
|
|
|
basic:{
|
|
|
|
|
equipValue:function(card,player){
|
|
|
|
|
if(player.sex=='female') return 6;
|
|
|
|
|
return 0;
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
guilingzhitao:{
|
|
|
|
|
type:'equip',
|
|
|
|
|
subtype:'equip5',
|
|
|
|
|
skills:['nigong'],
|
|
|
|
|
ai:{
|
|
|
|
|
basic:{
|
|
|
|
|
equipValue:function(card,player){
|
|
|
|
|
if(!player.storage.nigong) return 5;
|
|
|
|
|
return 5+player.storage.nigong;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
onLose:function(){
|
|
|
|
|
player.storage.nigong=0;
|
|
|
|
|
},
|
|
|
|
|
onEquip:function(){
|
|
|
|
|
player.storage.nigong=0;
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
qipoguyu:{
|
|
|
|
|
type:'equip',
|
|
|
|
|
subtype:'equip5',
|
|
|
|
|
skills:['xujin'],
|
|
|
|
|
onLose:function(){
|
|
|
|
|
player.storage.xujin=0;
|
|
|
|
|
},
|
|
|
|
|
onEquip:function(){
|
|
|
|
|
player.storage.xujin=0;
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
sadengjinhuan:{
|
|
|
|
|
fullskin:true,
|
|
|
|
|
type:'equip',
|
|
|
|
|
subtype:'equip5',
|
|
|
|
|
skills:['sadengjinhuan'],
|
|
|
|
|
ai:{
|
|
|
|
|
basic:{
|
2015-05-10 05:34:37 +00:00
|
|
|
|
equipValue:5.5
|
2015-04-29 03:25:17 +00:00
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
ximohu:{
|
|
|
|
|
type:'equip',
|
|
|
|
|
subtype:'equip5',
|
|
|
|
|
skills:['ximohu'],
|
|
|
|
|
ai:{
|
|
|
|
|
basic:{
|
|
|
|
|
equipValue:6
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
guiyanfadao:{
|
|
|
|
|
type:'equip',
|
|
|
|
|
subtype:'equip1',
|
|
|
|
|
distance:{attackFrom:-1},
|
|
|
|
|
ai:{
|
|
|
|
|
basic:{
|
|
|
|
|
equipValue:3
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
skills:['guiyanfadao']
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
skill:{
|
2016-07-05 14:11:33 +00:00
|
|
|
|
hslingjian_xuanfengzhiren_equip1:{
|
2016-06-08 01:43:10 +00:00
|
|
|
|
trigger:{source:'damageEnd'},
|
2016-07-05 14:11:33 +00:00
|
|
|
|
forced:true,
|
|
|
|
|
filter:function(event){
|
|
|
|
|
return event.card&&event.card.name=='sha'&&event.player.num('he');
|
2016-06-08 01:43:10 +00:00
|
|
|
|
},
|
|
|
|
|
content:function(){
|
2016-07-05 14:11:33 +00:00
|
|
|
|
trigger.player.discard(trigger.player.get('he').randomGet());
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
hslingjian_xuanfengzhiren_equip2:{
|
|
|
|
|
trigger:{player:'damageEnd'},
|
|
|
|
|
forced:true,
|
|
|
|
|
filter:function(event){
|
|
|
|
|
return event.card&&event.card.name=='sha'&&event.source&&event.source.num('he');
|
2016-06-08 01:43:10 +00:00
|
|
|
|
},
|
2016-07-05 14:11:33 +00:00
|
|
|
|
content:function(){
|
|
|
|
|
trigger.source.discard(trigger.source.get('he').randomGet());
|
|
|
|
|
}
|
2016-06-08 01:43:10 +00:00
|
|
|
|
},
|
2016-07-05 14:11:33 +00:00
|
|
|
|
hslingjian_xuanfengzhiren_equip3:{
|
|
|
|
|
trigger:{player:'loseAfter'},
|
2016-06-08 01:43:10 +00:00
|
|
|
|
forced:true,
|
|
|
|
|
filter:function(event,player){
|
2016-07-05 14:11:33 +00:00
|
|
|
|
return _status.currentPhase!=player&&!player.hasSkill('hslingjian_xuanfengzhiren_equip3_dist');
|
2016-06-08 01:43:10 +00:00
|
|
|
|
},
|
|
|
|
|
content:function(){
|
2016-07-05 14:11:33 +00:00
|
|
|
|
player.addTempSkill('hslingjian_xuanfengzhiren_equip3_dist','phaseAfter');
|
2016-06-08 01:43:10 +00:00
|
|
|
|
}
|
|
|
|
|
},
|
2016-07-05 14:11:33 +00:00
|
|
|
|
hslingjian_xuanfengzhiren_equip3_dist:{
|
|
|
|
|
mod:{
|
|
|
|
|
globalTo:function(from,to,distance){
|
|
|
|
|
return distance+1;
|
2015-04-29 03:25:17 +00:00
|
|
|
|
}
|
2016-07-05 14:11:33 +00:00
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
hslingjian_xuanfengzhiren_equip4:{
|
|
|
|
|
trigger:{player:'loseAfter'},
|
|
|
|
|
forced:true,
|
|
|
|
|
filter:function(event,player){
|
|
|
|
|
return _status.currentPhase==player&&!player.hasSkill('hslingjian_xuanfengzhiren_equip4_dist');
|
2015-04-29 03:25:17 +00:00
|
|
|
|
},
|
|
|
|
|
content:function(){
|
2016-07-05 14:11:33 +00:00
|
|
|
|
player.addTempSkill('hslingjian_xuanfengzhiren_equip4_dist','phaseAfter');
|
|
|
|
|
}
|
2015-04-29 03:25:17 +00:00
|
|
|
|
},
|
2016-07-05 14:11:33 +00:00
|
|
|
|
hslingjian_xuanfengzhiren_equip4_dist:{
|
|
|
|
|
mod:{
|
|
|
|
|
globalFrom:function(from,to,distance){
|
|
|
|
|
return distance-1;
|
2015-04-29 03:25:17 +00:00
|
|
|
|
}
|
2016-07-05 14:11:33 +00:00
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
hslingjian_xuanfengzhiren_equip5:{
|
|
|
|
|
enable:'phaseUse',
|
|
|
|
|
usable:1,
|
|
|
|
|
filterCard:true,
|
|
|
|
|
position:'he',
|
2015-04-29 03:25:17 +00:00
|
|
|
|
filter:function(event,player){
|
2016-07-05 14:11:33 +00:00
|
|
|
|
return player.num('he')>0;
|
|
|
|
|
},
|
|
|
|
|
filterTarget:function(card,player,target){
|
|
|
|
|
return target.num('he')>0;
|
|
|
|
|
},
|
|
|
|
|
check:function(card){
|
|
|
|
|
return 5-ai.get.value(card);
|
2015-04-29 03:25:17 +00:00
|
|
|
|
},
|
|
|
|
|
content:function(){
|
2016-07-05 14:11:33 +00:00
|
|
|
|
target.discard(target.get('he').randomGet());
|
|
|
|
|
},
|
|
|
|
|
ai:{
|
|
|
|
|
order:5,
|
|
|
|
|
result:{
|
|
|
|
|
target:function(player,target){
|
|
|
|
|
var dh=player.num('he')-target.num('he');
|
|
|
|
|
if(dh>0){
|
|
|
|
|
return -Math.sqrt(dh);
|
|
|
|
|
}
|
|
|
|
|
return 0;
|
|
|
|
|
}
|
|
|
|
|
}
|
2015-04-29 03:25:17 +00:00
|
|
|
|
}
|
|
|
|
|
},
|
2016-07-05 14:11:33 +00:00
|
|
|
|
hslingjian_zhongxinghujia_equip1:{
|
|
|
|
|
trigger:{source:'damageEnd'},
|
|
|
|
|
check:function(event,player){
|
|
|
|
|
return !player.get('e','2');
|
|
|
|
|
},
|
2016-06-08 04:29:54 +00:00
|
|
|
|
filter:function(event){
|
2016-07-05 14:11:33 +00:00
|
|
|
|
return event.card&&event.card.name=='sha';
|
2016-06-08 04:29:54 +00:00
|
|
|
|
},
|
2015-04-29 03:25:17 +00:00
|
|
|
|
content:function(){
|
2016-07-05 14:11:33 +00:00
|
|
|
|
var card=game.createCard(get.inpile('equip2').randomGet());
|
|
|
|
|
player.equip(card);
|
|
|
|
|
player.$draw(card);
|
|
|
|
|
game.delay();
|
2015-04-29 03:25:17 +00:00
|
|
|
|
}
|
|
|
|
|
},
|
2016-07-05 14:11:33 +00:00
|
|
|
|
hslingjian_zhongxinghujia_equip2:{
|
|
|
|
|
trigger:{player:'damageEnd'},
|
|
|
|
|
check:function(event,player){
|
|
|
|
|
return ai.get.attitude(player,event.source)<0;
|
|
|
|
|
},
|
|
|
|
|
filter:function(event){
|
|
|
|
|
return event.card&&event.card.name=='sha'&&event.source&&event.source.get('e','2');
|
2015-04-29 03:25:17 +00:00
|
|
|
|
},
|
|
|
|
|
content:function(){
|
2016-07-05 14:11:33 +00:00
|
|
|
|
player.line(trigger.source,'green');
|
|
|
|
|
trigger.source.discard(trigger.source.get('e','2'));
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
hslingjian_zhongxinghujia_equip3:{
|
|
|
|
|
mod:{
|
|
|
|
|
globalTo:function(from,to,distance){
|
|
|
|
|
if(to.get('e','2')) return distance+1;
|
2015-04-29 03:25:17 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
2016-07-05 14:11:33 +00:00
|
|
|
|
hslingjian_zhongxinghujia_equip4:{
|
|
|
|
|
mod:{
|
|
|
|
|
globalFrom:function(from,to,distance){
|
|
|
|
|
if(from.get('e','2')) return distance-1;
|
|
|
|
|
}
|
2015-04-29 03:25:17 +00:00
|
|
|
|
}
|
|
|
|
|
},
|
2016-07-05 14:11:33 +00:00
|
|
|
|
hslingjian_zhongxinghujia_equip5:{
|
|
|
|
|
enable:'phaseUse',
|
|
|
|
|
usable:1,
|
|
|
|
|
filterCard:true,
|
|
|
|
|
position:'he',
|
|
|
|
|
filterTarget:true,
|
|
|
|
|
selectCard:2,
|
|
|
|
|
filter:function(event,player){
|
|
|
|
|
return player.num('he')>=2;
|
|
|
|
|
},
|
|
|
|
|
check:function(card){
|
|
|
|
|
return 5-ai.get.value(card);
|
|
|
|
|
},
|
|
|
|
|
content:function(){
|
|
|
|
|
var card=game.createCard(get.inpile('equip2').randomGet());
|
|
|
|
|
target.equip(card);
|
|
|
|
|
target.$draw(card);
|
|
|
|
|
game.delay();
|
|
|
|
|
},
|
|
|
|
|
ai:{
|
|
|
|
|
order:1,
|
|
|
|
|
result:{
|
|
|
|
|
target:function(player,target){
|
|
|
|
|
if(target.get('e','2')) return 0;
|
|
|
|
|
return 1;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
hslingjian_jinjilengdong_equip1:{
|
|
|
|
|
trigger:{source:'damageEnd'},
|
|
|
|
|
check:function(event,player){
|
|
|
|
|
if(event.player.isTurnedOver()){
|
|
|
|
|
return ai.get.attitude(player,event.player)>0;
|
|
|
|
|
}
|
|
|
|
|
return ai.get.attitude(player,event.player)<=0;
|
|
|
|
|
},
|
|
|
|
|
filter:function(event){
|
|
|
|
|
return event.card&&event.card.name=='sha'&&event.player&&event.player.isAlive();
|
|
|
|
|
},
|
|
|
|
|
logTarget:function(event){
|
|
|
|
|
return event.player;
|
|
|
|
|
},
|
|
|
|
|
content:function(){
|
|
|
|
|
trigger.player.draw(2);
|
|
|
|
|
trigger.player.turnOver();
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
hslingjian_jinjilengdong_equip2:{
|
|
|
|
|
trigger:{player:'damageEnd'},
|
|
|
|
|
check:function(event,player){
|
|
|
|
|
if(event.player.isTurnedOver()){
|
|
|
|
|
return ai.get.attitude(player,event.source)>0;
|
|
|
|
|
}
|
|
|
|
|
return ai.get.attitude(player,event.source)<=0;
|
|
|
|
|
},
|
|
|
|
|
filter:function(event){
|
|
|
|
|
return event.card&&event.card.name=='sha'&&event.source&&event.source.isAlive();
|
|
|
|
|
},
|
|
|
|
|
logTarget:function(event){
|
|
|
|
|
return event.source;
|
|
|
|
|
},
|
|
|
|
|
content:function(){
|
|
|
|
|
player.line(trigger.source,'green');
|
|
|
|
|
trigger.source.draw(2);
|
|
|
|
|
trigger.source.turnOver();
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
hslingjian_jinjilengdong_equip3:{
|
|
|
|
|
mod:{
|
|
|
|
|
globalTo:function(from,to,distance){
|
|
|
|
|
if(to.isTurnedOver()) return distance+2;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
hslingjian_jinjilengdong_equip4:{
|
|
|
|
|
mod:{
|
|
|
|
|
globalFrom:function(from,to,distance){
|
|
|
|
|
if(from.isTurnedOver()) return distance-2;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
hslingjian_jinjilengdong_equip5:{
|
|
|
|
|
trigger:{player:'phaseAfter'},
|
|
|
|
|
direct:true,
|
|
|
|
|
filter:function(event,player){
|
|
|
|
|
return !player.isTurnedOver();
|
|
|
|
|
},
|
|
|
|
|
content:function(){
|
|
|
|
|
"step 0"
|
|
|
|
|
player.chooseTarget('是否发动【冰冻】?',function(card,player,target){
|
|
|
|
|
return player!=target&&!target.isTurnedOver();
|
|
|
|
|
}).ai=function(target){
|
|
|
|
|
return Math.max(0,-ai.get.attitude(player,target)-2);
|
|
|
|
|
};
|
|
|
|
|
"step 1"
|
|
|
|
|
if(result.bool){
|
|
|
|
|
player.logSkill('hslingjian_jinjilengdong_equip5',result.targets);
|
|
|
|
|
player.turnOver();
|
|
|
|
|
result.targets[0].turnOver();
|
|
|
|
|
game.asyncDraw([player,result.targets[0]],2);
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
hslingjian_yinmilichang_equip1:{
|
|
|
|
|
trigger:{source:'damageEnd'},
|
|
|
|
|
forced:true,
|
|
|
|
|
filter:function(event){
|
|
|
|
|
return event.card&&event.card.name=='sha';
|
|
|
|
|
},
|
|
|
|
|
content:function(){
|
|
|
|
|
'step 0'
|
|
|
|
|
player.chooseTarget('是否发动【隐力】?',function(card,player,target){
|
|
|
|
|
return target!=player&&!target.hasSkill('hslingjian_yinshen');
|
|
|
|
|
}).ai=function(target){
|
|
|
|
|
var att=ai.get.attitude(player,target);
|
|
|
|
|
if(get.distance(player,target,'absolute')<=1) return 0;
|
|
|
|
|
if(target.hp==1) return 2*att;
|
|
|
|
|
if(target.hp==2&&target.num('h')<=2) return 1.2*att;
|
|
|
|
|
return att;
|
|
|
|
|
}
|
|
|
|
|
'step 1'
|
|
|
|
|
if(result.bool){
|
|
|
|
|
player.logSkill('hslingjian_yinmilichang_equip1',result.targets);
|
|
|
|
|
result.targets[0].addTempSkill('hslingjian_yinshen',{player:'phaseBegin'});
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
hslingjian_yinmilichang_equip2:{
|
|
|
|
|
trigger:{player:'damageEnd'},
|
|
|
|
|
forced:true,
|
|
|
|
|
filter:function(event,player){
|
|
|
|
|
return !player.hasSkill('hslingjian_yinshen');
|
|
|
|
|
},
|
|
|
|
|
content:function(){
|
|
|
|
|
player.addTempSkill('hslingjian_yinshen','phaseAfter');
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
hslingjian_yinmilichang_equip3:{
|
|
|
|
|
mod:{
|
|
|
|
|
globalTo:function(from,to,distance){
|
|
|
|
|
if(to.hp==1) return distance+1;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
hslingjian_yinmilichang_equip4:{
|
|
|
|
|
mod:{
|
|
|
|
|
globalFrom:function(from,to,distance){
|
|
|
|
|
if(from.hp==1) return distance-1;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
hslingjian_yinmilichang_equip5:{
|
|
|
|
|
mod:{
|
|
|
|
|
targetEnabled:function(card,player,target,now){
|
|
|
|
|
if(target.num('h')==0){
|
|
|
|
|
if(card.name=='sha'||card.name=='juedou') return false;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
ai:{
|
|
|
|
|
noh:true,
|
|
|
|
|
skillTagFilter:function(player,tag){
|
|
|
|
|
if(tag=='noh'){
|
|
|
|
|
if(player.num('h')!=1) return false;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
hslingjian_xingtigaizao_equip1:{
|
|
|
|
|
trigger:{source:'damageEnd'},
|
|
|
|
|
forced:true,
|
|
|
|
|
filter:function(event){
|
|
|
|
|
return event.card&&event.card.name=='sha';
|
|
|
|
|
},
|
|
|
|
|
content:function(){
|
|
|
|
|
player.draw();
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
hslingjian_xingtigaizao_equip2:{
|
|
|
|
|
trigger:{player:'damageEnd'},
|
|
|
|
|
forced:true,
|
|
|
|
|
filter:function(event){
|
|
|
|
|
return event.card&&event.card.name=='sha';
|
|
|
|
|
},
|
|
|
|
|
content:function(){
|
|
|
|
|
player.draw();
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
hslingjian_xingtigaizao_equip3:{
|
|
|
|
|
mod:{
|
|
|
|
|
globalTo:function(from,to,distance){
|
|
|
|
|
return distance+1;
|
|
|
|
|
},
|
|
|
|
|
globalFrom:function(from,to,distance){
|
|
|
|
|
return distance+1;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
hslingjian_xingtigaizao_equip4:{
|
|
|
|
|
mod:{
|
|
|
|
|
globalTo:function(from,to,distance){
|
|
|
|
|
return distance-1;
|
|
|
|
|
},
|
|
|
|
|
globalFrom:function(from,to,distance){
|
|
|
|
|
return distance-1;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
hslingjian_xingtigaizao_equip5:{
|
|
|
|
|
mod:{
|
|
|
|
|
maxHandcard:function(player,num){
|
|
|
|
|
return num-1;
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
trigger:{player:'phaseDrawBegin'},
|
|
|
|
|
forced:true,
|
|
|
|
|
content:function(){
|
|
|
|
|
trigger.num++;
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
hslingjian_shengxiuhaojiao_equip1:{
|
|
|
|
|
trigger:{player:'shaBegin'},
|
|
|
|
|
forced:true,
|
|
|
|
|
filter:function(event,player){
|
|
|
|
|
return event.target.hasSkill('hslingjian_chaofeng');
|
|
|
|
|
},
|
|
|
|
|
content:function(){
|
|
|
|
|
trigger.directHit=true;
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
hslingjian_shengxiuhaojiao_equip2:{
|
|
|
|
|
mod:{
|
|
|
|
|
targetEnabled:function(card,player,target){
|
|
|
|
|
if(player.hasSkill('hslingjian_chaofeng')) return false;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
hslingjian_shengxiuhaojiao_equip3:{
|
|
|
|
|
mod:{
|
|
|
|
|
globalTo:function(from,to,distance){
|
|
|
|
|
if(to.hp<to.num('h')) return distance+1;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
hslingjian_shengxiuhaojiao_equip4:{
|
|
|
|
|
mod:{
|
|
|
|
|
globalFrom:function(from,to,distance){
|
|
|
|
|
if(from.hp<from.num('h')) return distance-1;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
hslingjian_shengxiuhaojiao_equip5:{
|
|
|
|
|
enable:'phaseUse',
|
|
|
|
|
usable:1,
|
|
|
|
|
filterCard:true,
|
2016-07-16 02:11:40 +00:00
|
|
|
|
selectCard:2,
|
|
|
|
|
check:function(card){
|
|
|
|
|
return 5-ai.get.value(card);
|
|
|
|
|
},
|
2016-07-05 14:11:33 +00:00
|
|
|
|
position:'he',
|
|
|
|
|
filterTarget:true,
|
|
|
|
|
content:function(){
|
|
|
|
|
if(target.hasSkill('hslingjian_chaofeng')){
|
|
|
|
|
target.removeSkill('hslingjian_chaofeng');
|
|
|
|
|
}
|
|
|
|
|
else{
|
|
|
|
|
target.addSkill('hslingjian_chaofeng');
|
|
|
|
|
}
|
2016-07-16 02:11:40 +00:00
|
|
|
|
},
|
|
|
|
|
ai:{
|
|
|
|
|
order:2,
|
|
|
|
|
result:{
|
|
|
|
|
target:function(player,target){
|
|
|
|
|
if(target.hasSkill('hslingjian_chaofeng')){
|
|
|
|
|
return -Math.sqrt(target.hp+target.num('h'));
|
|
|
|
|
}
|
|
|
|
|
return 0;
|
|
|
|
|
}
|
|
|
|
|
}
|
2016-07-05 14:11:33 +00:00
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
hslingjian_shijianhuisu_equip1:{
|
|
|
|
|
onLose:function(){
|
|
|
|
|
"step 0"
|
|
|
|
|
game.delay(0.5);
|
|
|
|
|
player.chooseTarget([1,1],'是否发动【回溯】?',function(card,player,target){
|
|
|
|
|
if(player==target) return false;
|
|
|
|
|
return target.num('he')>0;
|
|
|
|
|
}).ai=function(target){
|
|
|
|
|
return -ai.get.attitude(player,target);
|
|
|
|
|
};
|
|
|
|
|
"step 1"
|
|
|
|
|
if(result.bool){
|
|
|
|
|
player.line(result.targets,'green');
|
|
|
|
|
player.discardPlayerCard(result.targets[0],'he',true);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
hslingjian_shijianhuisu_equip2:{
|
|
|
|
|
onLose:function(){
|
|
|
|
|
player.draw();
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
hslingjian_shijianhuisu_equip3:{
|
|
|
|
|
mod:{
|
|
|
|
|
globalTo:function(from,to,distance){
|
|
|
|
|
if(to.num('e')==1) return distance+1;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
hslingjian_shijianhuisu_equip4:{
|
|
|
|
|
mod:{
|
|
|
|
|
globalFrom:function(from,to,distance){
|
|
|
|
|
if(from.num('e')==1) return distance-1;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
hslingjian_shijianhuisu_equip5:{
|
|
|
|
|
enable:'phaseUse',
|
|
|
|
|
usable:1,
|
|
|
|
|
filterCard:true,
|
|
|
|
|
selectCard:1,
|
|
|
|
|
filterTarget:function(card,player,target){
|
|
|
|
|
return player!=target&&target.num('he')>0;
|
|
|
|
|
},
|
|
|
|
|
position:'he',
|
|
|
|
|
content:function(){
|
|
|
|
|
var es=target.get('e');
|
|
|
|
|
target.gain(es);
|
|
|
|
|
target.$gain2(es);
|
|
|
|
|
},
|
|
|
|
|
check:function(card){
|
|
|
|
|
return 4-ai.get.value(card);
|
|
|
|
|
},
|
|
|
|
|
ai:{
|
|
|
|
|
order:5,
|
|
|
|
|
result:{
|
|
|
|
|
target:function(player,target){
|
|
|
|
|
if(target.hasSkillTag('noe')) return target.num('e')*2;
|
|
|
|
|
return -target.num('e');
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
mujiaren_skill:{
|
|
|
|
|
enable:'phaseUse',
|
|
|
|
|
filter:function(event,player){
|
2016-07-09 15:23:11 +00:00
|
|
|
|
return player.num('h',{type:'hslingjian'})>=1;
|
2016-07-05 14:11:33 +00:00
|
|
|
|
},
|
|
|
|
|
filterCard:{type:'hslingjian'},
|
2016-07-09 15:23:11 +00:00
|
|
|
|
viewAs:{name:'jiguanshu'}
|
2016-07-05 14:11:33 +00:00
|
|
|
|
},
|
|
|
|
|
_lingjianduanzao:{
|
|
|
|
|
enable:'phaseUse',
|
|
|
|
|
position:'he',
|
|
|
|
|
prompt:function(event){
|
|
|
|
|
var lingjians=[],types=[];
|
2016-07-09 15:23:11 +00:00
|
|
|
|
var hs=event.player.get('he');
|
2016-07-05 14:11:33 +00:00
|
|
|
|
for(var i=0;i<hs.length;i++){
|
|
|
|
|
switch(get.type(hs[i])){
|
|
|
|
|
case 'equip':types.add(get.subtype(hs[i]));break;
|
|
|
|
|
case 'hslingjian':lingjians.add(hs[i].name);break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
var str='';
|
|
|
|
|
for(var i=0;i<lingjians.length;i++){
|
|
|
|
|
for(var j=0;j<types.length;j++){
|
|
|
|
|
if(j==0){
|
|
|
|
|
str+='<p class="shadowed" style="text-align:left;line-height:18px;padding:5px;border-radius:4px;margin-top:0px;margin-bottom:12px;">';
|
|
|
|
|
}
|
|
|
|
|
else{
|
|
|
|
|
str+='<p class="shadowed" style="text-align:left;line-height:18px;padding:5px;border-radius:4px;margin-top:12px;margin-bottom:12px;">';
|
|
|
|
|
}
|
|
|
|
|
str+=''+lib.translate[lingjians[i]]+'+'+lib.translate[types[j]]+
|
|
|
|
|
':'+lib.translate[lingjians[i]+'_'+types[j]+'_info']+'</p>';
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
return str;
|
|
|
|
|
},
|
|
|
|
|
check:function(card){
|
|
|
|
|
return 1+ai.get.value(card);
|
|
|
|
|
},
|
|
|
|
|
filterCard:function(card){
|
|
|
|
|
var type=get.type(card);
|
|
|
|
|
if(type=='equip'&&!lib.inpile.contains(card.name)) return false;
|
|
|
|
|
for(var i=0;i<ui.selected.cards.length;i++){
|
|
|
|
|
if(get.type(ui.selected.cards[i])=='equip') return type=='hslingjian';
|
|
|
|
|
}
|
|
|
|
|
if(_status.event.player.hasSkill('mujiaren_skill')){
|
|
|
|
|
if(ui.selected.cards.length==2) return type=='equip';
|
|
|
|
|
}
|
|
|
|
|
else{
|
|
|
|
|
if(ui.selected.cards.length==1) return type=='equip';
|
|
|
|
|
}
|
|
|
|
|
return type=='equip'||type=='hslingjian';
|
|
|
|
|
},
|
|
|
|
|
process:function(cards){
|
|
|
|
|
if(cards.length==3){
|
|
|
|
|
cards.sort(function(a,b){
|
|
|
|
|
if(a.name<b.name) return 1;
|
|
|
|
|
return -1;
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
var equip;
|
|
|
|
|
for(var i=0;i<cards.length;i++){
|
|
|
|
|
if(get.type(cards[i])=='equip'){
|
|
|
|
|
equip=cards[i];
|
|
|
|
|
cards.splice(i--,1);
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
var name=equip.name;
|
|
|
|
|
var equipname=equip.name;
|
|
|
|
|
for(var i=0;i<cards.length;i++){
|
|
|
|
|
name+=cards[i].name.slice(10);
|
|
|
|
|
}
|
|
|
|
|
if(lib.card[name]) return name;
|
|
|
|
|
lib.card[name]={};
|
|
|
|
|
lib.card[name].cardimage=equip.name;
|
|
|
|
|
for(var i in lib.card[equip.name]){
|
|
|
|
|
if(i=='ai'){
|
|
|
|
|
lib.card[name][i]={};
|
|
|
|
|
for(var j in lib.card[equip.name][i]){
|
|
|
|
|
if(j=='basic'){
|
|
|
|
|
lib.card[name][i][j]={};
|
|
|
|
|
for(var k in lib.card[equip.name][i][j]){
|
|
|
|
|
lib.card[name][i][j][k]=lib.card[equip.name][i][j][k];
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
else{
|
|
|
|
|
lib.card[name][i][j]=lib.card[equip.name][i][j];
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
else{
|
|
|
|
|
lib.card[name][i]=lib.card[equip.name][i];
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
if(cards.length==2){
|
|
|
|
|
lib.card[name].legend=true;
|
|
|
|
|
if(typeof lib.card[name].ai.equipValue=='number'){
|
|
|
|
|
lib.card[name].ai.equipValue=Math.min(10,lib.card[name].ai.equipValue+3);
|
|
|
|
|
}
|
|
|
|
|
else if(typeof lib.card[name].ai.equipValue=='function'){
|
|
|
|
|
lib.card[name].ai.equipValue=function(){
|
|
|
|
|
return lib.card[equipname].ai.equipValue.apply(this,arguments)+2;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
else if(lib.card[name].ai.basic&&typeof lib.card[name].ai.basic.equipValue=='number'){
|
|
|
|
|
lib.card[name].ai.basic.equipValue=Math.min(10,lib.card[name].ai.basic.equipValue+3);
|
|
|
|
|
}
|
|
|
|
|
else if(lib.card[name].ai.basic&&typeof lib.card[name].ai.basic.equipValue=='function'){
|
|
|
|
|
lib.card[name].ai.basic.equipValue=function(){
|
|
|
|
|
return lib.card[equipname].ai.basic.equipValue.apply(this,arguments)+2;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
else{
|
|
|
|
|
lib.card[name].epic=true;
|
|
|
|
|
if(typeof lib.card[name].ai.equipValue=='number'){
|
|
|
|
|
lib.card[name].ai.equipValue=Math.min(10,lib.card[name].ai.equipValue+1);
|
|
|
|
|
}
|
|
|
|
|
else if(typeof lib.card[name].ai.equipValue=='function'){
|
|
|
|
|
lib.card[name].ai.equipValue=function(){
|
|
|
|
|
return lib.card[equipname].ai.equipValue.apply(this,arguments)+1;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
else if(lib.card[name].ai.basic&&typeof lib.card[name].ai.basic.equipValue=='number'){
|
|
|
|
|
lib.card[name].ai.basic.equipValue=Math.min(10,lib.card[name].ai.basic.equipValue+1);
|
|
|
|
|
}
|
|
|
|
|
else if(lib.card[name].ai.basic&&typeof lib.card[name].ai.basic.equipValue=='function'){
|
|
|
|
|
lib.card[name].ai.basic.equipValue=function(){
|
|
|
|
|
return lib.card[equipname].ai.basic.equipValue.apply(this,arguments)+1;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
if(Array.isArray(lib.card[name].skills)){
|
|
|
|
|
lib.card[name].skills=lib.card[name].skills.slice(0);
|
|
|
|
|
}
|
|
|
|
|
else{
|
|
|
|
|
lib.card[name].skills=[];
|
|
|
|
|
}
|
|
|
|
|
lib.card[name].filterTarget=true;
|
|
|
|
|
lib.card[name].selectTarget=1;
|
|
|
|
|
lib.card[name].range={global:1};
|
|
|
|
|
var str;
|
|
|
|
|
if(cards.length==2){
|
|
|
|
|
str=lib.translate[cards[0].name+'_duanzao2']+lib.translate[cards[1].name+'_duanzao2'];
|
|
|
|
|
}
|
|
|
|
|
else{
|
|
|
|
|
str=lib.translate[cards[0].name+'_duanzao'];
|
|
|
|
|
}
|
|
|
|
|
var str2=lib.translate[equip.name];
|
|
|
|
|
if(str2.length>2){
|
|
|
|
|
str2=str2.slice(0,2);
|
|
|
|
|
}
|
|
|
|
|
lib.translate[name]=str+str2;
|
|
|
|
|
str2=lib.translate[equip.name+'_info']||'';
|
|
|
|
|
if(str2[str2.length-1]=='.'||str2[str2.length-1]=='。'){
|
|
|
|
|
str2=str2.slice(0,str2.length-1);
|
|
|
|
|
}
|
|
|
|
|
for(var i=0;i<cards.length;i++){
|
|
|
|
|
var name2=cards[i].name+'_'+get.subtype(equip);
|
|
|
|
|
lib.card[name].skills.add(name2);
|
|
|
|
|
if(lib.skill[name2].onEquip){
|
|
|
|
|
lib.card[name].onEquip=lib.skill[name2].onEquip;
|
|
|
|
|
}
|
|
|
|
|
if(lib.skill[name2].onLose){
|
|
|
|
|
lib.card[name].onLose=lib.skill[name2].onLose;
|
|
|
|
|
}
|
|
|
|
|
lib.translate[name2]=lib.translate[cards[i].name+'_duanzao'];
|
|
|
|
|
str2+=';'+lib.translate[name2+'_info'];
|
|
|
|
|
}
|
|
|
|
|
lib.translate[name+'_info']=str2;
|
|
|
|
|
try{
|
|
|
|
|
game.addVideo('newcard',null,{
|
|
|
|
|
name:name,
|
|
|
|
|
translate:lib.translate[name],
|
|
|
|
|
info:str2,
|
|
|
|
|
card:equip.name,
|
|
|
|
|
legend:cards.length==2,
|
|
|
|
|
epic:cards.length==1
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
catch(e){
|
|
|
|
|
console.log(e);
|
|
|
|
|
}
|
|
|
|
|
return name;
|
|
|
|
|
},
|
|
|
|
|
selectCard:function(){
|
|
|
|
|
if(_status.event.player.hasSkill('mujiaren_skill')) return [2,3];
|
|
|
|
|
return 2;
|
|
|
|
|
},
|
|
|
|
|
filter:function(event,player){
|
2016-07-09 15:23:11 +00:00
|
|
|
|
return player.num('he',{type:'equip'})&&player.num('h',{type:'hslingjian'});
|
2016-07-05 14:11:33 +00:00
|
|
|
|
},
|
|
|
|
|
content:function(){
|
|
|
|
|
var name=lib.skill._lingjianduanzao.process(cards);
|
|
|
|
|
player.gain(game.createCard(name),'gain2');
|
|
|
|
|
},
|
|
|
|
|
ai:{
|
|
|
|
|
order:10,
|
|
|
|
|
result:{
|
|
|
|
|
player:1,
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
hslingjian_yinshen:{
|
|
|
|
|
mark:true,
|
|
|
|
|
nopop:true,
|
|
|
|
|
intro:{
|
|
|
|
|
content:'锁定技,你不能成为其他角色的卡牌的目标'
|
|
|
|
|
},
|
|
|
|
|
mod:{
|
|
|
|
|
targetEnabled:function(card,player,target){
|
|
|
|
|
if(player!=target) return false;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
hslingjian_chaofeng:{
|
|
|
|
|
global:'hslingjian_chaofeng_disable',
|
|
|
|
|
nopop:true,
|
|
|
|
|
unique:true,
|
|
|
|
|
gainnable:true,
|
|
|
|
|
mark:true,
|
|
|
|
|
intro:{
|
|
|
|
|
content:'锁定技,若你的手牌数大于你的体力值,则只要你在任一其他角色的攻击范围内,该角色使用【杀】时便不能指定你以外的角色为目标',
|
|
|
|
|
},
|
|
|
|
|
subSkill:{
|
|
|
|
|
disable:{
|
|
|
|
|
mod:{
|
|
|
|
|
targetEnabled:function(card,player,target){
|
|
|
|
|
if(player.skills.contains('hslingjian_chaofeng')) return;
|
|
|
|
|
if(card.name=='sha'){
|
|
|
|
|
if(target.skills.contains('hslingjian_chaofeng')) return;
|
|
|
|
|
for(var i=0;i<game.players.length;i++){
|
|
|
|
|
if(game.players[i].skills.contains('hslingjian_chaofeng')){
|
|
|
|
|
if(game.players[i].hp<game.players[i].num('h')&&
|
|
|
|
|
get.distance(player,game.players[i],'attack')<=1){
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
hslingjian_xingtigaizao:{
|
|
|
|
|
nopop:true,
|
|
|
|
|
mod:{
|
|
|
|
|
maxHandcard:function(player,num){
|
|
|
|
|
if(typeof player.storage.hslingjian_xingtigaizao=='number'){
|
|
|
|
|
return num-player.storage.hslingjian_xingtigaizao;
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
mark:true,
|
|
|
|
|
intro:{
|
|
|
|
|
content:function(storage){
|
|
|
|
|
return '手牌上限-'+storage;
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
trigger:{player:'phaseEnd'},
|
|
|
|
|
forced:true,
|
|
|
|
|
popup:false,
|
|
|
|
|
silent:true,
|
|
|
|
|
content:function(){
|
|
|
|
|
player.removeSkill('hslingjian_xingtigaizao');
|
|
|
|
|
player.storage.hslingjian_xingtigaizao=0;
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
qinglonglingzhu:{
|
|
|
|
|
trigger:{source:'damageEnd'},
|
|
|
|
|
direct:true,
|
|
|
|
|
filter:function(event,player){
|
|
|
|
|
return event.nature&&event.player&&event.player.isAlive();
|
|
|
|
|
},
|
|
|
|
|
content:function(){
|
|
|
|
|
player.gainPlayerCard('是否对'+get.translation(trigger.player)+'发动【青龙灵珠】?',trigger.player,function(button){
|
|
|
|
|
if(ai.get.attitude(player,trigger.player)<=0){
|
|
|
|
|
return ai.get.buttonValue(button);
|
|
|
|
|
}
|
|
|
|
|
return 0;
|
|
|
|
|
},'he').logSkill=['qinglonglingzhu',trigger.player];
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
xingjunyan:{
|
|
|
|
|
trigger:{source:'damageBegin',player:'damageBegin'},
|
|
|
|
|
forced:true,
|
|
|
|
|
filter:function(event,player){
|
|
|
|
|
return event.card&&event.card.name=='sha';
|
|
|
|
|
},
|
|
|
|
|
content:function(){
|
|
|
|
|
trigger.num++;
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
baihupifeng:{
|
|
|
|
|
trigger:{player:'phaseEnd'},
|
|
|
|
|
frequent:true,
|
|
|
|
|
filter:function(event,player){
|
|
|
|
|
if(player.hp==player.maxHp) return false;
|
|
|
|
|
for(var i=0;i<game.players.length;i++){
|
|
|
|
|
if(player.hp>game.players[i].hp) return false;
|
|
|
|
|
}
|
|
|
|
|
return true;
|
|
|
|
|
},
|
|
|
|
|
content:function(){
|
|
|
|
|
player.recover();
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
fengxueren:{
|
|
|
|
|
trigger:{player:'shaHit'},
|
|
|
|
|
check:function(event,player){
|
|
|
|
|
var att=ai.get.attitude(player,event.target);
|
|
|
|
|
if(player.skills.contains('jiu')) return att>0;
|
|
|
|
|
if(event.target.hp==1) return att>0;
|
|
|
|
|
if(event.target.hasSkillTag('maixie')){
|
|
|
|
|
return att<=0;
|
|
|
|
|
}
|
|
|
|
|
if(player.skills.contains('tianxianjiu')) return false;
|
|
|
|
|
return att<=0;
|
|
|
|
|
},
|
|
|
|
|
filter:function(event,player){
|
|
|
|
|
return !event.target.isTurnedOver();
|
|
|
|
|
},
|
|
|
|
|
content:function(){
|
|
|
|
|
trigger.unhurt=true;
|
|
|
|
|
trigger.target.draw();
|
|
|
|
|
trigger.target.turnOver();
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
fengxueren2:{},
|
|
|
|
|
chilongya:{
|
|
|
|
|
trigger:{source:'damageBegin'},
|
|
|
|
|
forced:true,
|
|
|
|
|
filter:function(event){
|
|
|
|
|
return event.nature=='fire'&&event.notLink();
|
|
|
|
|
},
|
|
|
|
|
content:function(){
|
|
|
|
|
trigger.num++;
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
chilongya2:{
|
|
|
|
|
trigger:{source:'damageBegin'},
|
|
|
|
|
filter:function(event,player){
|
|
|
|
|
return (event.card&&event.card.name=='sha');
|
|
|
|
|
},
|
|
|
|
|
popup:false,
|
|
|
|
|
forced:true,
|
|
|
|
|
content:function(){
|
|
|
|
|
if(Math.random()<0.5){
|
|
|
|
|
trigger.num++;
|
|
|
|
|
trigger.player.addSkill('chilongfengxue');
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
chilongfengxue:{
|
|
|
|
|
trigger:{global:'shaAfter'},
|
|
|
|
|
forced:true,
|
|
|
|
|
popup:false,
|
|
|
|
|
content:function(){
|
|
|
|
|
player.draw();
|
|
|
|
|
player.removeSkill('chilongfengxue');
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
shentou:{
|
2015-04-29 03:25:17 +00:00
|
|
|
|
enable:'phaseUse',
|
|
|
|
|
usable:1,
|
|
|
|
|
filterCard:true,
|
2015-09-03 03:49:14 +00:00
|
|
|
|
filter:function(event,player){
|
|
|
|
|
var nh=player.num('h');
|
|
|
|
|
if(nh==0) return false;
|
|
|
|
|
for(var i=0;i<game.players.length;i++){
|
|
|
|
|
if(game.players[i]!=player&&game.players[i].num('h')>nh) return true;
|
|
|
|
|
}
|
|
|
|
|
return false;
|
|
|
|
|
},
|
2015-04-29 03:25:17 +00:00
|
|
|
|
check:function(card){
|
|
|
|
|
return 8-ai.get.value(card);
|
|
|
|
|
},
|
|
|
|
|
filterTarget:function(card,player,target){
|
|
|
|
|
if(target.get('h').length==0) return false;
|
|
|
|
|
if(target==player) return false;
|
|
|
|
|
if(target.num('h')<=player.num('h')) return false;
|
|
|
|
|
return true;
|
|
|
|
|
},
|
|
|
|
|
content:function(){
|
|
|
|
|
"step 0"
|
|
|
|
|
player.judge(function(card){
|
|
|
|
|
if(get.suit(card)=='club') return -1;
|
|
|
|
|
return 1;
|
|
|
|
|
});
|
|
|
|
|
"step 1"
|
|
|
|
|
if(result.bool){
|
|
|
|
|
player.gain(target.get('h').randomGet());
|
|
|
|
|
target.$give(1,player);
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
ai:{
|
|
|
|
|
basic:{
|
|
|
|
|
order:5
|
|
|
|
|
},
|
|
|
|
|
result:{
|
|
|
|
|
player:0.3,
|
|
|
|
|
target:-1,
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
pusafazhou:{
|
|
|
|
|
trigger:{player:'dieBefore'},
|
|
|
|
|
forced:true,
|
|
|
|
|
filter:function(event,player){
|
|
|
|
|
return player.maxHp>0;
|
|
|
|
|
},
|
|
|
|
|
content:function(){
|
|
|
|
|
trigger.untrigger();
|
|
|
|
|
trigger.finish();
|
|
|
|
|
player.hp=1;
|
|
|
|
|
player.draw();
|
|
|
|
|
player.discard(player.get('e',{subtype:'equip5'}));
|
|
|
|
|
game.delay();
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
old_longfan:{
|
|
|
|
|
enable:'phaseUse',
|
|
|
|
|
usable:1,
|
|
|
|
|
prompt:'?',
|
|
|
|
|
filterTarget:true,
|
|
|
|
|
content:function(){
|
|
|
|
|
"step 0"
|
|
|
|
|
if(event.isMine()){
|
|
|
|
|
event.longfan=ui.create.control('〇','〇','〇','〇',function(){
|
|
|
|
|
event.longfan.status--;
|
|
|
|
|
});
|
|
|
|
|
event.longfan.status=4;
|
|
|
|
|
for(var i=0;i<event.longfan.childNodes.length;i++){
|
|
|
|
|
event.longfan.childNodes[i].num=0;
|
|
|
|
|
}
|
|
|
|
|
event.timer=setInterval(function(){
|
|
|
|
|
if(event.longfan.status<=0){
|
|
|
|
|
clearInterval(event.timer);
|
|
|
|
|
game.resume();
|
|
|
|
|
event.longfan.close();
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
event.count(0);
|
|
|
|
|
if(event.longfan.status>1) event.count(1);
|
|
|
|
|
if(event.longfan.status>2) event.count(2);
|
|
|
|
|
if(event.longfan.status>3) event.count(3);
|
|
|
|
|
},200);
|
|
|
|
|
event.count=function(num){
|
|
|
|
|
event.longfan.childNodes[num].num=(event.longfan.childNodes[num].num+1)%10;
|
|
|
|
|
if(event.longfan.childNodes[num].num==2) event.longfan.childNodes[num].innerHTML='二';
|
|
|
|
|
else event.longfan.childNodes[num].innerHTML=get.cnNumber(event.longfan.childNodes[num].num);
|
|
|
|
|
}
|
|
|
|
|
game.pause();
|
|
|
|
|
}
|
|
|
|
|
else{
|
|
|
|
|
event.finish();
|
|
|
|
|
var x=Math.random();
|
|
|
|
|
if(x<0.1) target.draw();
|
|
|
|
|
else if(x<0.2) target.chooseToDiscard(true);
|
|
|
|
|
else if(x<0.3) target.loseHp();
|
|
|
|
|
else if(x<0.4) target.recover();
|
|
|
|
|
else if(x<0.6){
|
|
|
|
|
if(ai.get.attitude(player,target)>0) target.draw();
|
|
|
|
|
else target.chooseToDiscard(true);
|
|
|
|
|
}
|
|
|
|
|
else if(x<0.8){
|
|
|
|
|
if(ai.get.attitude(player,target)>0) target.recover();
|
|
|
|
|
else target.loseHp();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
"step 1"
|
|
|
|
|
var str='';
|
|
|
|
|
for(var i=0;i<event.longfan.childNodes.length;i++){
|
|
|
|
|
str+=event.longfan.childNodes[i].num;
|
|
|
|
|
}
|
|
|
|
|
target.popup(str);
|
|
|
|
|
game.delay();
|
|
|
|
|
switch(str){
|
|
|
|
|
case '0000':target.turnOver();break;
|
|
|
|
|
case '1111':target.chooseToDiscard(2,true);break;
|
|
|
|
|
case '2222':target.chooseToDiscard('e',true);break;
|
|
|
|
|
case '3333':target.damage();break;
|
|
|
|
|
case '4444':target.loseHp();break;
|
|
|
|
|
case '5555':target.link();break;
|
|
|
|
|
case '6666':target.draw();break;
|
|
|
|
|
case '7777':target.recover();break;
|
|
|
|
|
case '8888':target.discard(target.get('j'));break;
|
|
|
|
|
case '9999':target.draw(2);target.chooseToDiscard(2,true);break;
|
|
|
|
|
default:
|
|
|
|
|
for(var i=1;i<4;i++){
|
|
|
|
|
if(str[i]==str[0]) return;
|
|
|
|
|
}
|
|
|
|
|
player.chooseToDiscard(true);return;
|
|
|
|
|
}
|
|
|
|
|
player.draw();
|
|
|
|
|
},
|
|
|
|
|
ai:{
|
|
|
|
|
basic:{
|
|
|
|
|
order:10
|
|
|
|
|
},
|
|
|
|
|
result:{
|
|
|
|
|
target:function(){
|
|
|
|
|
return Math.random()-0.5;
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
longfan:{
|
|
|
|
|
enable:'phaseUse',
|
|
|
|
|
usable:1,
|
|
|
|
|
content:function(){
|
|
|
|
|
"step 0"
|
|
|
|
|
player.judge(function(card){
|
|
|
|
|
switch(get.suit(card)){
|
2016-02-04 06:55:02 +00:00
|
|
|
|
case 'heart':return player.maxHp>player.hp?2:0;
|
|
|
|
|
case 'diamond':return 1;
|
|
|
|
|
case 'club':return 1;
|
|
|
|
|
case 'spade':return 0;
|
2015-04-29 03:25:17 +00:00
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
"step 1"
|
|
|
|
|
switch(result.suit){
|
|
|
|
|
case 'heart':player.recover();break;
|
|
|
|
|
case 'diamond':player.draw();break;
|
|
|
|
|
case 'club':{
|
|
|
|
|
player.chooseTarget('弃置一名角色的一张牌',function(card,player,target){
|
|
|
|
|
return player!=target&&target.num('he')>0;
|
|
|
|
|
}).ai=function(target){
|
|
|
|
|
return -ai.get.attitude(player,target);
|
|
|
|
|
};
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
if(result.suit!='club'){
|
|
|
|
|
event.finish();
|
|
|
|
|
}
|
|
|
|
|
"step 2"
|
|
|
|
|
if(result.bool&&result.targets&&result.targets.length){
|
2016-06-08 09:05:04 +00:00
|
|
|
|
player.line(result.targets[0],'green');
|
2015-04-29 03:25:17 +00:00
|
|
|
|
player.discardPlayerCard(result.targets[0],'he',true);
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
ai:{
|
|
|
|
|
order:10,
|
|
|
|
|
result:{
|
|
|
|
|
player:1
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
touzhi:{
|
|
|
|
|
enable:'phaseUse',
|
|
|
|
|
usable:1,
|
|
|
|
|
filterCard:function(card){
|
|
|
|
|
return get.subtype(card)=='equip1';
|
|
|
|
|
},
|
|
|
|
|
filter:function(event,player){
|
|
|
|
|
return player.num('he',{subtype:'equip1'})>0;
|
|
|
|
|
},
|
|
|
|
|
discard:false,
|
|
|
|
|
prepare:function(cards,player,targets){
|
|
|
|
|
player.$give(cards,targets[0]);
|
|
|
|
|
},
|
|
|
|
|
filterTarget:function(card,player,target){
|
|
|
|
|
if(player==target) return false;
|
|
|
|
|
return true;
|
|
|
|
|
},
|
|
|
|
|
content:function(){
|
|
|
|
|
target.damage();
|
|
|
|
|
target.gain(cards);
|
|
|
|
|
game.delay();
|
|
|
|
|
},
|
|
|
|
|
check:function(card){
|
|
|
|
|
return 10-ai.get.value(card);
|
|
|
|
|
},
|
|
|
|
|
position:'he',
|
|
|
|
|
ai:{
|
|
|
|
|
basic:{
|
|
|
|
|
order:8
|
|
|
|
|
},
|
|
|
|
|
result:{
|
|
|
|
|
target:-1
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
xixue:{
|
|
|
|
|
trigger:{source:'damageEnd'},
|
|
|
|
|
forced:true,
|
|
|
|
|
filter:function(event,player){
|
2015-09-10 13:56:57 +00:00
|
|
|
|
return event.card&&event.card.name=='sha'&&player.hp<player.maxHp;
|
2015-04-29 03:25:17 +00:00
|
|
|
|
},
|
|
|
|
|
content:function(){
|
|
|
|
|
player.recover(trigger.num);
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
guangshatianyi:{
|
|
|
|
|
trigger:{player:'damageBegin'},
|
|
|
|
|
forced:true,
|
|
|
|
|
filter:function(event,player){
|
|
|
|
|
if(event.source&&event.source.num('s','unequip')) return;
|
|
|
|
|
if(Math.random()>1/3) return false;
|
|
|
|
|
if(event.parent.player.num('s','unequip')) return false;
|
|
|
|
|
return true;
|
|
|
|
|
},
|
|
|
|
|
content:function(){
|
|
|
|
|
trigger.num--;
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
nigong:{
|
|
|
|
|
trigger:{player:'damageAfter'},
|
|
|
|
|
group:['nigong2'],
|
|
|
|
|
forced:true,
|
|
|
|
|
content:function(){
|
|
|
|
|
player.storage.nigong+=trigger.num;
|
|
|
|
|
if(player.storage.nigong>4){
|
|
|
|
|
player.storage.nigong=4;
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
ai:{
|
|
|
|
|
threaten:0.6,
|
|
|
|
|
effect:function(card,player,target){
|
|
|
|
|
if(get.tag(card,'damage')) return [1,0.5];
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
intro:{
|
|
|
|
|
content:function(storage){
|
|
|
|
|
return '已积攒'+storage+'点伤害';
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
nigong2:{
|
|
|
|
|
enable:'phaseUse',
|
|
|
|
|
usable:1,
|
|
|
|
|
filter:function(event,player){
|
|
|
|
|
return player.storage.nigong>1;
|
|
|
|
|
},
|
|
|
|
|
filterTarget:function(card,player,target){
|
|
|
|
|
return player!=target;
|
|
|
|
|
},
|
|
|
|
|
content:function(){
|
|
|
|
|
target.damage(Math.floor(player.storage.nigong/2));
|
|
|
|
|
player.storage.nigong=0;
|
|
|
|
|
},
|
|
|
|
|
ai:{
|
|
|
|
|
order:10,
|
|
|
|
|
result:{
|
|
|
|
|
target:function(player,target){
|
|
|
|
|
return -Math.floor(player.storage.nigong/2);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
xujin:{
|
|
|
|
|
trigger:{player:'phaseBefore'},
|
|
|
|
|
check:function(){return false;},
|
|
|
|
|
filter:function(event,player){
|
|
|
|
|
return player.storage.xujin<player.hp;
|
|
|
|
|
},
|
|
|
|
|
content:function(){
|
|
|
|
|
player.storage.xujin++;
|
|
|
|
|
trigger.untrigger();
|
|
|
|
|
trigger.finish();
|
|
|
|
|
},
|
|
|
|
|
intro:{
|
|
|
|
|
content:function(storage){
|
|
|
|
|
return '已积攒'+storage+'点力量';
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
group:['xujin2']
|
|
|
|
|
},
|
|
|
|
|
xujin2:{
|
|
|
|
|
trigger:{source:'damageBegin'},
|
|
|
|
|
forced:true,
|
|
|
|
|
filter:function(event,player){
|
|
|
|
|
return player.storage.xujin>0;
|
|
|
|
|
},
|
|
|
|
|
content:function(){
|
|
|
|
|
trigger.num+=player.storage.xujin;
|
|
|
|
|
player.storage.xujin--;
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
sadengjinhuan:{
|
|
|
|
|
trigger:{player:'shaMiss'},
|
|
|
|
|
check:function(event,player){
|
|
|
|
|
return ai.get.attitude(player,event.target)<0;
|
|
|
|
|
},
|
|
|
|
|
content:function(){
|
|
|
|
|
"step 0"
|
|
|
|
|
player.judge(function(card){
|
|
|
|
|
return get.color(card)=='red'?1:0;
|
|
|
|
|
})
|
|
|
|
|
"step 1"
|
|
|
|
|
if(result.bool){
|
|
|
|
|
trigger.target.chooseToRespond({name:'shan'}).autochoose=lib.filter.autoRespondShan;
|
|
|
|
|
}
|
|
|
|
|
else{
|
|
|
|
|
event.finish();
|
|
|
|
|
}
|
|
|
|
|
"step 2"
|
|
|
|
|
if(!result.bool){
|
|
|
|
|
trigger.untrigger();
|
|
|
|
|
trigger.trigger('shaHit');
|
|
|
|
|
trigger._result.bool=false;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
ximohu:{
|
|
|
|
|
trigger:{player:'damageBefore'},
|
|
|
|
|
forced:true,
|
|
|
|
|
filter:function(event){
|
|
|
|
|
return event.nature=='thunder';
|
|
|
|
|
},
|
|
|
|
|
content:function(){
|
|
|
|
|
trigger.untrigger();
|
|
|
|
|
trigger.finish();
|
|
|
|
|
player.recover(trigger.num);
|
|
|
|
|
},
|
|
|
|
|
ai:{
|
|
|
|
|
effect:function(card){
|
|
|
|
|
if(get.tag(card,'thunderDamage')) return [0,2];
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
guiyanfadao:{
|
|
|
|
|
trigger:{player:'useCardToBefore'},
|
|
|
|
|
priority:5,
|
|
|
|
|
filter:function(event,player){
|
|
|
|
|
if(event.card.name=='sha'&&!event.card.nature) return true;
|
|
|
|
|
},
|
|
|
|
|
content:function(){
|
|
|
|
|
trigger.card.nature='poison';
|
|
|
|
|
player.addSkill('guiyanfadao2');
|
|
|
|
|
player.storage.zhuque_skill=trigger.card;
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
guiyanfadao2:{
|
|
|
|
|
trigger:{player:'useCardAfter'},
|
|
|
|
|
forced:true,
|
|
|
|
|
popup:false,
|
|
|
|
|
content:function(){
|
|
|
|
|
delete player.storage.zhuque_skill.nature;
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
tianxianjiu:{
|
|
|
|
|
trigger:{source:'damageEnd'},
|
|
|
|
|
filter:function(event){
|
|
|
|
|
return (event.card&&(event.card.name=='sha'));
|
|
|
|
|
},
|
|
|
|
|
forced:true,
|
|
|
|
|
content:function(){
|
|
|
|
|
player.draw(2);
|
|
|
|
|
player.removeSkill('tianxianjiu');
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
},
|
2016-07-05 14:11:33 +00:00
|
|
|
|
cardType:{
|
|
|
|
|
hslingjian:0.5,
|
|
|
|
|
},
|
2015-04-29 03:25:17 +00:00
|
|
|
|
translate:{
|
2016-07-05 14:11:33 +00:00
|
|
|
|
hslingjian_xuanfengzhiren_duanzao:'风刃',
|
|
|
|
|
hslingjian_xuanfengzhiren_duanzao2:'风',
|
|
|
|
|
hslingjian_xuanfengzhiren_equip1_info:'每当你用杀造成一次伤害,受伤害角色随机弃置一张牌',
|
|
|
|
|
hslingjian_xuanfengzhiren_equip2_info:'每当你受到杀造成的伤害,伤害来源随机弃置一张牌',
|
|
|
|
|
hslingjian_xuanfengzhiren_equip3_info:'当你于回合外失去牌后,你本回合的防御距离+1',
|
|
|
|
|
hslingjian_xuanfengzhiren_equip4_info:'当你于回合内失去牌后,你本回合的进攻距离+1',
|
|
|
|
|
hslingjian_xuanfengzhiren_equip5_info:'出牌阶段限一次,你可以弃置一张牌,然后随机弃置一名其他角色的一张牌',
|
|
|
|
|
hslingjian_zhongxinghujia_duanzao:'重甲',
|
|
|
|
|
hslingjian_zhongxinghujia_duanzao2:'护',
|
|
|
|
|
hslingjian_zhongxinghujia_equip1_info:'每当你用杀造成一次伤害,你可以随机装备一件防具牌',
|
|
|
|
|
hslingjian_zhongxinghujia_equip2_info:'每当你受到杀造成的伤害,你可以弃置伤害来源的防具牌',
|
|
|
|
|
hslingjian_zhongxinghujia_equip3_info:'当你的装备区内有防具牌时,你的防御距离+1',
|
|
|
|
|
hslingjian_zhongxinghujia_equip4_info:'当你的装备区内有防具牌时,你的进攻距离+1',
|
|
|
|
|
hslingjian_zhongxinghujia_equip5_info:'出牌阶段限一次,你可以弃置两张牌,然后令一名角色随机装备一件防具',
|
|
|
|
|
hslingjian_jinjilengdong_duanzao:'冰冻',
|
|
|
|
|
hslingjian_jinjilengdong_duanzao2:'冰',
|
|
|
|
|
hslingjian_jinjilengdong_equip1_info:'每当你用杀造成一次伤害,你可以令目标摸两张牌并翻面',
|
|
|
|
|
hslingjian_jinjilengdong_equip2_info:'每当你受到杀造成的伤害,你可以令伤害来源摸两张牌并翻面',
|
|
|
|
|
hslingjian_jinjilengdong_equip3_info:'你的武将牌背面朝上时防御距离+2',
|
|
|
|
|
hslingjian_jinjilengdong_equip4_info:'你的武将牌背面朝上时进攻距离+2',
|
|
|
|
|
hslingjian_jinjilengdong_equip5_info:'回合结束后,若你的武将牌正面朝上,你可以与一名武将牌正面朝上的其他角色同时翻面,然后各摸两张牌',
|
|
|
|
|
hslingjian_yinmilichang_duanzao:'隐力',
|
|
|
|
|
hslingjian_yinmilichang_duanzao2:'隐',
|
|
|
|
|
hslingjian_yinmilichang_equip1_info:'每当你用杀造成一次伤害,你可以令一名其他角色获得潜行直到其下一回合开始',
|
|
|
|
|
hslingjian_yinmilichang_equip2_info:'每当你受到一次伤害,你本回合内获得潜行',
|
|
|
|
|
hslingjian_yinmilichang_equip3_info:'当你的体力值为1时,你的防御距离+1',
|
|
|
|
|
hslingjian_yinmilichang_equip4_info:'当你的体力值为1时,你的进攻距离+1',
|
|
|
|
|
hslingjian_yinmilichang_equip5_info:'当你没有手牌时,你不能成为杀或决斗的目标',
|
|
|
|
|
hslingjian_xingtigaizao_duanzao:'移形',
|
|
|
|
|
hslingjian_xingtigaizao_duanzao2:'形',
|
|
|
|
|
hslingjian_xingtigaizao_equip1_info:'每当你用杀造成一次伤害,你摸一张牌',
|
|
|
|
|
hslingjian_xingtigaizao_equip2_info:'每当你受到杀造成的伤害,你摸一张牌',
|
|
|
|
|
hslingjian_xingtigaizao_equip3_info:'你的防御距离+1,进攻距离-1',
|
|
|
|
|
hslingjian_xingtigaizao_equip4_info:'你的防御距离-1,进攻距离+1',
|
|
|
|
|
hslingjian_xingtigaizao_equip5_info:'你于摸牌阶段额外摸一张牌;你的手牌上限-1',
|
|
|
|
|
hslingjian_shengxiuhaojiao_duanzao:'号角',
|
|
|
|
|
hslingjian_shengxiuhaojiao_duanzao2:'角',
|
|
|
|
|
hslingjian_shengxiuhaojiao_equip1_info:'有嘲讽的角色不能闪避你的杀',
|
|
|
|
|
hslingjian_shengxiuhaojiao_equip2_info:'有嘲讽的角色不能对你使用杀',
|
|
|
|
|
hslingjian_shengxiuhaojiao_equip3_info:'若你的手牌数大于你的体力值,你的防御距离+1',
|
|
|
|
|
hslingjian_shengxiuhaojiao_equip4_info:'若你的手牌数大于你的体力值,你的进攻距离+1',
|
2016-07-16 02:11:40 +00:00
|
|
|
|
hslingjian_shengxiuhaojiao_equip5_info:'出牌阶段限一次,你可以弃置两张牌,然后令一名角色获得或解除嘲讽',
|
2016-07-05 14:11:33 +00:00
|
|
|
|
hslingjian_shijianhuisu_duanzao:'回溯',
|
|
|
|
|
hslingjian_shijianhuisu_duanzao2:'溯',
|
|
|
|
|
hslingjian_shijianhuisu_equip1_info:'当你失去此牌时,你可以弃置一名角色的一张牌',
|
|
|
|
|
hslingjian_shijianhuisu_equip2_info:'当你失去此牌时,你摸一张牌',
|
|
|
|
|
hslingjian_shijianhuisu_equip3_info:'当你的装备区内没有其他牌时,你的防御距离+1',
|
|
|
|
|
hslingjian_shijianhuisu_equip4_info:'当你的装备区内没有其他牌时,你的进攻距离+1',
|
|
|
|
|
hslingjian_shijianhuisu_equip5_info:'出牌阶段限一次,你可以弃置一张牌,然后令一名其他角色将其装备区内的牌收回手牌',
|
|
|
|
|
_lingjianduanzao:'煅造',
|
|
|
|
|
_lingjianduanzao_info:'出牌阶段,你可以弃置一张装备牌和一张零件牌,并获得一件强化装备;强化装备可以装备给距离1以内的角色',
|
|
|
|
|
jiguanshu:'机关鼠',
|
|
|
|
|
jiguanshu_info:'出牌阶段对距离1以内的一名角色使用,用随机零件强化目标装备区内的装备',
|
|
|
|
|
lingjiandai:'零件袋',
|
|
|
|
|
lingjiandai_info:'出牌阶段对距离1以内的一名角色使用,目标获得3张随机零件',
|
|
|
|
|
mujiaren:'木甲人',
|
|
|
|
|
mujiaren_skill:'木甲人',
|
2016-07-09 15:23:11 +00:00
|
|
|
|
mujiaren_skill_info:'你在煅造装备时可以额外加入一个零件;你可以将零件当作机关鼠使用',
|
2016-07-05 14:11:33 +00:00
|
|
|
|
mujiaren_info:'出牌阶段对距离1以内的一名角色使用,目标获得技能木甲人(你在煅造装备时可以额外加入一个零件;你可以弃置两个零件并获得一个机关鼠)',
|
|
|
|
|
hslingjian:'零件',
|
|
|
|
|
hslingjian_xuanfengzhiren:'旋风之刃',
|
|
|
|
|
hslingjian_xuanfengzhiren_info:'随机弃置一名角色的一张牌',
|
|
|
|
|
hslingjian_zhongxinghujia:'重型护甲',
|
|
|
|
|
hslingjian_zhongxinghujia_info:'令一名角色装备一件随机防具,然后随机弃置其一张手牌',
|
|
|
|
|
hslingjian_jinjilengdong:'紧急冷冻',
|
|
|
|
|
hslingjian_jinjilengdong_info:'令一名武将牌正面朝上的其他角色摸两张牌并翻面',
|
|
|
|
|
hslingjian_yinmilichang:'隐秘力场',
|
|
|
|
|
hslingjian_yinmilichang_info:'令一名其他角色获得技能潜行,直到其下一回合开始',
|
|
|
|
|
hslingjian_xingtigaizao:'型体改造',
|
|
|
|
|
hslingjian_xingtigaizao_info:'摸一张牌,本回合手牌上限-1',
|
|
|
|
|
hslingjian_shengxiuhaojiao:'生锈号角',
|
|
|
|
|
hslingjian_shengxiuhaojiao_info:'令一名角色获得技能嘲讽,直到其下一回合开始',
|
|
|
|
|
hslingjian_shijianhuisu:'时间回溯',
|
|
|
|
|
hslingjian_shijianhuisu_info:'令一名其他角色将其装备牌收回手牌',
|
|
|
|
|
hslingjian_chaofeng:'嘲讽',
|
|
|
|
|
hslingjian_chaofeng_info:'锁定技,若你的手牌数大于你的体力值,则只要你在任一其他角色的攻击范围内,该角色使用【杀】时便不能指定你以外的角色为目标',
|
|
|
|
|
hslingjian_yinshen:'潜行',
|
|
|
|
|
hslingjian_yinshen_info:'锁定技,你不能成为其他角色的卡牌的目标',
|
2016-06-08 01:43:10 +00:00
|
|
|
|
qinglonglingzhu:'青龙灵珠',
|
|
|
|
|
qinglonglingzhu_info:'每当你造成一次属性伤害,你可以获得对方的一张牌',
|
|
|
|
|
xingjunyan:'星君眼',
|
|
|
|
|
xingjunyan_info:'你的杀造成的伤害+1;杀对你造成的伤害+1',
|
2015-04-29 03:25:17 +00:00
|
|
|
|
guiyanfadao:'鬼眼法刀',
|
|
|
|
|
guiyanfadao_bg:'眼',
|
2016-07-01 14:17:24 +00:00
|
|
|
|
// guiyanfadao_info:'每当你使用杀命中目标,你可以防止伤害,改为令目标失去一点体力',
|
2015-04-29 03:25:17 +00:00
|
|
|
|
tianxianjiu:'天仙酒',
|
|
|
|
|
tianxianjiu_bg:'仙',
|
|
|
|
|
tianxianjiu_info:'出牌阶段对自己使用,你使用的下一张杀造成伤害后可以摸两张牌',
|
|
|
|
|
xiangyuye:'翔羽叶',
|
|
|
|
|
xiangyuye_info:'出牌阶段,对一名攻击范围外的角色使用,令其弃置一张黑色手牌或流失一点体力',
|
|
|
|
|
huanpodan:'还魄丹',
|
|
|
|
|
huanpodan_bg:'魄',
|
|
|
|
|
// huanpodan_info:'出牌阶段对一名已死亡角色使用,令其复活并回复一点体力,然后你流失一点体力',
|
|
|
|
|
ximohu:'吸魔壶',
|
|
|
|
|
ximohu_bg:'魔',
|
|
|
|
|
// ximohu_info:'锁定技,你将即将受到的雷属性伤害转化为你的体力值',
|
|
|
|
|
sadengjinhuan:'萨登荆环',
|
|
|
|
|
sadengjinhuan_info:'当你的杀被闪避后,可以进行一次判定,若结果为红色目标需再打出一张闪',
|
|
|
|
|
// sadengjinhuan_info:'锁定技,每当你使用一张杀被闪避后,若此杀在弃牌堆,你有50%的机率对目标再使用一次此杀',
|
|
|
|
|
sadengjinhuan_bg:'荆',
|
|
|
|
|
qipoguyu:'奇魄古玉',
|
|
|
|
|
xujin:'蓄劲',
|
|
|
|
|
xujin2:'蓄劲',
|
|
|
|
|
// qipoguyu_info:'装备后获得蓄劲技能',
|
|
|
|
|
xujin_info:'回合开始前,若你的蓄劲标记数小于当前的体力值,你可以跳过此回合,并获得一枚蓄劲标记。锁定技,每当你即将造成伤害,你令此伤害+X,然后弃置一枚蓄劲标记,X为你拥有的蓄劲标记数',
|
|
|
|
|
guilingzhitao:'归灵指套',
|
|
|
|
|
nigong:'逆攻',
|
|
|
|
|
nigong2:'逆攻',
|
|
|
|
|
nigong3:'逆攻',
|
|
|
|
|
nigong4:'逆攻',
|
|
|
|
|
// guilingzhitao_info:'装备后获得逆攻技能',
|
|
|
|
|
nigong_info:'每当你受到一点伤害,你获得一个逆攻标记,标记数不能超4。出牌阶段,你可以弃置所有逆攻标记并令任意一名其他角色X/2点伤害,X为逆攻标记的数量且向下取整',
|
|
|
|
|
baihupifeng:'白狐披风',
|
|
|
|
|
baihupifeng_bg:'狐',
|
|
|
|
|
baihupifeng_info:'回合结束阶段,若你的体力值是全场最小的之一,你可以回复一点体力',
|
|
|
|
|
fengxueren:'封雪刃',
|
|
|
|
|
fengxueren_bg:'雪',
|
2016-06-08 02:36:15 +00:00
|
|
|
|
fengxueren_info:'你使用杀击中目标后,若目标武将牌正面朝上,你可以防止伤害,然后令目标摸一张牌并翻面',
|
2015-04-29 03:25:17 +00:00
|
|
|
|
chilongya:'赤龙牙',
|
2016-06-08 02:36:15 +00:00
|
|
|
|
chilongya_info:'锁定技,你的火属性伤害+1',
|
2015-04-29 03:25:17 +00:00
|
|
|
|
daihuofenglun:'带火风轮',
|
|
|
|
|
daihuofenglun_bg:'轮',
|
|
|
|
|
// daihuofenglun_info:'你与其他角色的距离-2,其他角色与你的距离-1',
|
|
|
|
|
xiayuncailing:'霞云彩绫',
|
|
|
|
|
xiayuncailing_bg:'云',
|
|
|
|
|
// xiayuncailing_info:'你与其他角色的距离+1,其他角色与你的距离+2',
|
|
|
|
|
shentoumianju:'神偷面具',
|
|
|
|
|
shentoumianju_bg:'偷',
|
|
|
|
|
shentoumianju_info:'出牌阶段,你可以指定一名手牌比你多的角色进行一次判定,若结果不为梅花,你获得其一张手牌',
|
|
|
|
|
shentou:'神偷',
|
|
|
|
|
shentou_info:'出牌阶段,你可以进行一次判定,若结果不为梅花,你获得任意一名角色的一张手牌',
|
|
|
|
|
pusafazhou:'菩萨发咒',
|
|
|
|
|
pusafazhou_bg:'发',
|
|
|
|
|
// pusafazhou_info:'令你抵挡一次死亡,将体力回复至1,并摸一张牌',
|
|
|
|
|
yuhuanghua:'雨皇花',
|
|
|
|
|
yuhuanghua_bg:'皇',
|
|
|
|
|
// yuhuanghua_info:'令所有角色回复一点体力并摸一张牌',
|
|
|
|
|
caoyao:'草药',
|
|
|
|
|
caoyao_info:'出牌阶段,对距离为1以内的角色使用,回复一点体力。',
|
|
|
|
|
pantao:'蟠桃',
|
|
|
|
|
// pantao_info:'出牌阶段,对自己使用,回复两点体力。',
|
|
|
|
|
langeguaiyi:'蓝格怪衣',
|
|
|
|
|
langeguaiyi_bg:'格',
|
2015-12-01 05:46:28 +00:00
|
|
|
|
langeguaiyi_info:'出牌阶段限一次,你可以进行一次判定,然后按花色执行以下效果。红桃:你回复一点体力;方片:你摸一张牌;梅花:你弃置一名其他角色的一张牌;黑桃:无事发生',
|
2015-04-29 03:25:17 +00:00
|
|
|
|
longfan:'龙帆',
|
|
|
|
|
longfan_info:'出牌阶段限一次,你可以进行一次判定,然后按花色执行以下效果。红桃:你回复一点体力;方片:你摸一张牌;梅花:你弃置一名其他角色的一张牌;黑桃:无事发生',
|
|
|
|
|
// longfan_info:'0000:翻面;1111:弃手牌;2222:弃装备牌;3333:受伤害;4444:流失体力;5555:连环;6666:摸牌;7777:回复体力;8888:弃置判定牌;9999:置衡',
|
|
|
|
|
guiyoujie:'鬼幽结',
|
|
|
|
|
guiyoujie_info:'出牌阶段,对一名其他角色使用。若判定结果为黑色,则将其翻面。',
|
|
|
|
|
yufulu:'御夫录',
|
|
|
|
|
yufulu_info:'仅女性角色可以使用,出牌阶段,可弃置一张武器牌令一名角色受到一点伤害,然后该角色获得此武器牌',
|
|
|
|
|
touzhi:'投掷',
|
|
|
|
|
touzhi_info:'出牌阶段,可弃置一张武器牌令一名角色受到一点伤害,然后该角色获得此武器牌',
|
|
|
|
|
xixueguizhihuan:'吸血鬼指环',
|
|
|
|
|
xixueguizhihuan_info:'锁定技,每当你使用杀造成一点伤害,你回复一点体力',
|
|
|
|
|
xixue:'吸血',
|
|
|
|
|
xixue_info:'锁定技,每当你使用杀造成一点伤害,你回复一点体力',
|
2015-09-16 02:45:45 +00:00
|
|
|
|
zhufangshenshi:'祠符',
|
2015-04-29 03:25:17 +00:00
|
|
|
|
zhufangshenshi_info:'出牌阶段,对一名相邻角色使用,与其交换位置',
|
|
|
|
|
jingleishan:'惊雷闪',
|
|
|
|
|
jingleishan_info:'出牌阶段,对所有其他角色使用。每名目标角色需打出一张【杀】,否则受到1点雷电伤害。',
|
|
|
|
|
chiyuxi:'炽羽袭',
|
|
|
|
|
chiyuxi_info:'出牌阶段,对所有其他角色使用。每名目标角色需打出一张【闪】,否则受到1点火焰伤害。',
|
|
|
|
|
guangshatianyi:'光纱天衣',
|
|
|
|
|
guangshatianyi_bg:'纱',
|
|
|
|
|
// guangshatianyi_info:'仅女性可装备,锁定技,每当你即将受到伤害,有三分之一的概率令伤害减一',
|
|
|
|
|
},
|
|
|
|
|
list:[
|
|
|
|
|
['spade',1,'baihupifeng'],
|
2016-06-10 04:01:07 +00:00
|
|
|
|
['club',1,'fengxueren'],
|
2015-04-29 03:25:17 +00:00
|
|
|
|
['diamond',1,'langeguaiyi'],
|
|
|
|
|
// ['heart',1,'daihuofenglun','fire'],
|
|
|
|
|
|
|
|
|
|
// ['diamond',2,'xiayuncailing'],
|
|
|
|
|
// ['spade',2,'pusafazhou'],
|
|
|
|
|
// ['heart',2,'pantao'],
|
|
|
|
|
//['club',2,'huanpodan'],
|
|
|
|
|
|
|
|
|
|
['club',3,'caoyao'],
|
2016-06-10 04:01:07 +00:00
|
|
|
|
['diamond',3,'chilongya','fire'],
|
2015-04-29 03:25:17 +00:00
|
|
|
|
['spade',3,'guiyoujie'],
|
|
|
|
|
//['heart',3,'xiangyuye','poison'],
|
|
|
|
|
|
|
|
|
|
['club',4,'caoyao'],
|
2015-09-16 02:45:45 +00:00
|
|
|
|
['spade',4,'zhufangshenshi'],
|
2015-04-29 03:25:17 +00:00
|
|
|
|
//['spade',4,'huanpodan'],
|
|
|
|
|
// ['diamond',4,'xiangyuye','poison'],
|
|
|
|
|
|
|
|
|
|
['club',5,'caoyao'],
|
|
|
|
|
['spade',5,'xixueguizhihuan'],
|
|
|
|
|
//['diamond',5,'huanpodan'],
|
|
|
|
|
|
|
|
|
|
['club',6,'shentoumianju'],
|
|
|
|
|
['spade',6,'yufulu'],
|
|
|
|
|
// ['heart',6,'xiangyuye','poison'],
|
|
|
|
|
//['diamond',6,'xiangyuye','poison'],
|
|
|
|
|
|
|
|
|
|
['diamond',7,'chiyuxi','fire'],
|
|
|
|
|
['club',7,'jingleishan','thunder'],
|
|
|
|
|
// ['spade',7,'guilingzhitao'],
|
|
|
|
|
// ['heart',7,'xiangyuye','poison'],
|
|
|
|
|
|
|
|
|
|
['spade',8,'zhufangshenshi'],
|
|
|
|
|
['club',8,'xiangyuye'],
|
|
|
|
|
//['heart',8,'huanpodan'],
|
|
|
|
|
|
|
|
|
|
// ['spade',9,'ximohu','brown'],
|
|
|
|
|
['club',9,'guiyoujie'],
|
|
|
|
|
['diamond',9,'xiangyuye'],
|
|
|
|
|
|
|
|
|
|
// ['diamond',9,'tianxianjiu'],
|
|
|
|
|
['heart',9,'tianxianjiu'],
|
|
|
|
|
['spade',5,'jiu'],
|
|
|
|
|
['diamond',2,'tianxianjiu'],
|
|
|
|
|
|
2016-06-08 02:36:15 +00:00
|
|
|
|
['spade',2,'qinglonglingzhu'],
|
|
|
|
|
['spade',7,'xingjunyan'],
|
|
|
|
|
|
2015-04-29 03:25:17 +00:00
|
|
|
|
//['spade',10,'qipoguyu'],
|
|
|
|
|
//['diamond',10,'xiangyuye','poison'],
|
|
|
|
|
|
|
|
|
|
['spade',11,'xiangyuye'],
|
|
|
|
|
// ['club',11,'xiangyuye','poison'],
|
|
|
|
|
|
|
|
|
|
// ['diamond',12,'xiangyuye','poison'],
|
|
|
|
|
//['spade',12,'guiyanfadao','poison'],
|
|
|
|
|
|
|
|
|
|
// ['heart',13,'yuhuanghua'],
|
|
|
|
|
// ['diamond',13,'guangshatianyi'],
|
|
|
|
|
['club',13,'sadengjinhuan'],
|
|
|
|
|
//['spade',6,'xiangyuye','poison'],
|
2016-07-01 14:17:24 +00:00
|
|
|
|
|
|
|
|
|
['club',1,'lingjiandai'],
|
|
|
|
|
['spade',1,'lingjiandai'],
|
|
|
|
|
['heart',1,'lingjiandai'],
|
|
|
|
|
['diamond',1,'lingjiandai'],
|
|
|
|
|
|
|
|
|
|
['club',2,'jiguanshu'],
|
|
|
|
|
['spade',2,'jiguanshu'],
|
|
|
|
|
['heart',2,'jiguanshu'],
|
|
|
|
|
['diamond',2,'jiguanshu'],
|
|
|
|
|
|
|
|
|
|
['club',3,'mujiaren'],
|
|
|
|
|
['spade',3,'mujiaren'],
|
|
|
|
|
['heart',3,'mujiaren'],
|
|
|
|
|
['diamond',3,'mujiaren'],
|
2015-04-29 03:25:17 +00:00
|
|
|
|
],
|
|
|
|
|
}
|