This commit is contained in:
libccy 2017-02-06 15:35:38 +08:00
parent 3adc7d8f89
commit 090c5a9ba5
4 changed files with 64 additions and 41 deletions

View File

@ -114,12 +114,33 @@ card.gujian={
heilonglinpian:{
fullskin:true,
type:'trick',
enable:true,
filterTarget:function(card,player,target){
return target==player;
},
selectTarget:-1,
modTarget:true,
content:function(){
target.changeHujia();
target.addTempSkill('heilonglinpian',{player:'phaseBegin'});
},
ai:{
value:[5.5,1],
useful:1,
order:2,
result:{
target:1
}
}
},
mutoumianju:{
fullskin:true,
type:'equip',
subtype:'equip2',
skills:['mutoumianju_skill']
skills:['mutoumianju_skill'],
ai:{
equipValue:4
}
},
yuheng:{
fullskin:true,
@ -433,6 +454,18 @@ card.gujian={
},
},
skill:{
heilonglinpian:{
mark:true,
marktext:'鳞',
intro:{
content:'计算其他角色与你的距离时始终+1'
},
mod:{
globalTo:function(from,to,distance){
return distance+1
}
}
},
mutoumianju_skill:{
enable:'chooseToUse',
filterCard:true,
@ -678,8 +711,8 @@ card.gujian={
mutoumianju_info:'你可以将一张手牌当作杀使用',
mutoumianju_skill:'木杀',
mutoumianju_skill_info:'你可以将一张手牌当作杀使用',
// heilonglinpian:'黑龙鳞片',
// heilonglinpian_info:'对自己使用,获得一点护甲,直到下一回合开始,计算其他角色与你的距离时始终+1',
heilonglinpian:'黑龙鳞片',
heilonglinpian_info:'对自己使用,获得一点护甲,直到下一回合开始,计算其他角色与你的距离时始终+1',
// food:'食物',
// chunbing:'春饼',
@ -722,6 +755,7 @@ card.gujian={
['spade',7,'yuheng'],
['club',4,'mutoumianju'],
['spade',2,'heilonglinpian'],
['diamond',6,'shujinsan'],
['spade',2,'shujinsan'],

View File

@ -1369,9 +1369,7 @@ character.ow={
bingqiang2:{
mark:true,
intro:{
content:function(storage){
return '防御距离+'+storage;
}
content:'防御距离+#'
},
mod:{
globalTo:function(from,to,distance){
@ -1382,9 +1380,7 @@ character.ow={
bingqiang3:{
mark:true,
intro:{
content:function(storage){
return '防御距离-'+storage;
}
content:'防御距离-#'
},
mod:{
globalTo:function(from,to,distance){
@ -1395,9 +1391,7 @@ character.ow={
bingqiang4:{
mark:true,
intro:{
content:function(storage){
return '进攻距离+'+storage;
}
content:'进攻距离+#'
},
mod:{
globalFrom:function(from,to,distance){
@ -1408,9 +1402,7 @@ character.ow={
bingqiang5:{
mark:true,
intro:{
content:function(storage){
return '进攻距离-'+storage;
}
content:'进攻距离-#'
},
mod:{
globalFrom:function(from,to,distance){
@ -1557,9 +1549,7 @@ character.ow={
player.storage.jijia2=0;
},
intro:{
content:function(storage){
return '机甲体力值:'+storage;
}
content:'机甲体力值:#'
},
mod:{
maxHandcard:function(player,num){

View File

@ -154,9 +154,7 @@ character.xianjian={
},
mark:true,
intro:{
content:function(storage){
return '已累计摸'+storage+'次牌';
}
content:'已累计摸#次牌'
},
trigger:{player:'drawBegin'},
forced:true,
@ -180,9 +178,7 @@ character.xianjian={
},
mark:true,
intro:{
content:function(storage){
return '已累计受到'+storage+'次伤害';
}
content:'已累计受到#次伤害'
},
trigger:{player:'damageBegin'},
filter:function(event,player){
@ -210,9 +206,7 @@ character.xianjian={
},
mark:true,
intro:{
content:function(storage){
return '已累计造成'+storage+'次伤害';
}
content:'已累计造成#次伤害'
},
trigger:{source:'damageBegin'},
forced:true,
@ -1510,11 +1504,11 @@ character.xianjian={
player.logSkill('changnian',target);
target.marks.changnian=target.markCharacter(player,{
name:'长念',
content:'$<div><div class="skill">【追思】</div><div>锁定技,结束阶段,你摸一张牌</div></div>'
content:'@<div><div class="skill">【追思】</div><div>锁定技,结束阶段,你摸一张牌</div></div>'
});
game.addVideo('markCharacter',target,{
name:'长念',
content:'$<div><div class="skill">【追思】</div><div>锁定技,结束阶段,你摸一张牌</div></div>',
content:'@<div><div class="skill">【追思】</div><div>锁定技,结束阶段,你摸一张牌</div></div>',
id:'changnian',
target:player.dataset.position
});

View File

@ -33334,7 +33334,8 @@
default:{
if(typeof type=='string'){
type=type.replace(/#/g,content);
type=type.replace(/\$/g,get.cnNumber(content));
type=type.replace(/&/g,get.cnNumber(content));
type=type.replace(/\$/g,get.translation(content));
return type;
}
else if(typeof type=='function'){
@ -33589,26 +33590,30 @@
if(typeof info.mark=='function'){
var stint=info.mark(uiintro,player.storage[node.skill],player);
if(stint){
if(stint.length<=100){
uiintro.add('<div class="text center">'+stint+'</div>');
}
else{
uiintro.add('<div class="text">'+stint+'</div>');
}
uiintro._place_text=uiintro.add('<div class="text" style="display:inline">'+stint+'</div>');
// if(stint.length<=100){
// uiintro.add('<div class="text center">'+stint+'</div>');
// }
// else{
// uiintro.add('<div class="text">'+stint+'</div>');
// }
}
}
else{
var stint=get.storageintro(info.content,player.storage[node.skill],player,uiintro,node.skill);
if(stint){
if(stint[0]=='$'){
if(stint[0]=='@'){
uiintro.add('<div class="caption">'+stint.slice(1)+'</div>');
}
else if(stint.length<=100){
uiintro.add('<div class="text center">'+stint+'</div>');
}
else{
uiintro.add('<div class="text">'+stint+'</div>');
uiintro._place_text=uiintro.add('<div class="text" style="display:inline">'+stint+'</div>');
}
// else if(stint.length<=100){
// uiintro.add('<div class="text center">'+stint+'</div>');
// }
// else{
// uiintro.add('<div class="text">'+stint+'</div>');
// }
}
}
uiintro.add(ui.create.div('.placeholder.slim'));