This commit is contained in:
libccy 2017-09-26 19:20:38 +08:00
parent eb420e705b
commit 046586816f
5 changed files with 15 additions and 13 deletions

View File

@ -206,7 +206,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){
video:function(player,data){ video:function(player,data){
var skill=data[0]; var skill=data[0];
var name=data[1]; var name=data[1];
console.log(skill,name);
lib.skill.hsnitai.process(skill,name); lib.skill.hsnitai.process(skill,name);
}, },
onremove:function(player){ onremove:function(player){
@ -284,13 +283,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){
mark:'card', mark:'card',
onremove:true, onremove:true,
intro:{ intro:{
name:function(storage){
var skill=storage.name.slice(8);
return '拟态:'+lib.translate[skill];
},
content:function(storage){ content:function(storage){
var skill=storage.name.slice(8); var skill=storage.name.slice(8);
return lib.translate[skill+'_info']; return '<div class="skill">【'+lib.translate[skill]+'】</div><div>'+
get.skillInfoTranslation(skill)+'</div>';
} }
} }
} }

View File

@ -7716,7 +7716,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
player.storage.cunsi=true; player.storage.cunsi=true;
game.delay(); game.delay();
target.addSkill('yongjue'); target.addSkill('yongjue');
target.markSkillCharacter('yongjue',player,'存嗣','$<div><div class="skill">【勇决】</div><div>每当其他角色于回合内使用一张杀,若目标不是你,你可以获得之,每回合限一次</div></div>'); target.markSkillCharacter('yongjue',player,'存嗣','<div class="skill">【勇决】</div><div>每当其他角色于回合内使用一张杀,若目标不是你,你可以获得之,每回合限一次</div>');
"step 1" "step 1"
player.turnOver(); player.turnOver();
}, },

View File

@ -3211,11 +3211,11 @@ game.import('character',function(lib,game,ui,get,ai,_status){
player.logSkill('changnian',target); player.logSkill('changnian',target);
target.marks.changnian=target.markCharacter(player,{ target.marks.changnian=target.markCharacter(player,{
name:'长念', name:'长念',
content:'@<div><div class="skill">【追思】</div><div>锁定技,结束阶段,你摸一张牌</div></div>' content:'<div class="skill">【追思】</div><div>锁定技,结束阶段,你摸一张牌</div>'
}); });
game.addVideo('markCharacter',target,{ game.addVideo('markCharacter',target,{
name:'长念', name:'长念',
content:'@<div><div class="skill">【追思】</div><div>锁定技,结束阶段,你摸一张牌</div></div>', content:'<div class="skill">【追思】</div><div>锁定技,结束阶段,你摸一张牌</div>',
id:'changnian', id:'changnian',
target:player.dataset.position target:player.dataset.position
}); });

View File

@ -43423,7 +43423,10 @@
if(typeof info.mark=='function'){ if(typeof info.mark=='function'){
var stint=info.mark(uiintro,player.storage[node.skill],player); var stint=info.mark(uiintro,player.storage[node.skill],player);
if(stint){ if(stint){
uiintro._place_text=uiintro.add('<div class="text" style="display:inline">'+stint+'</div>'); var placetext=uiintro.add('<div class="text" style="display:inline">'+stint+'</div>');
if(stint.indexOf('<div class="skill"')!=0){
uiintro._place_text=placetext;
}
// if(stint.length<=100){ // if(stint.length<=100){
// uiintro.add('<div class="text center">'+stint+'</div>'); // uiintro.add('<div class="text center">'+stint+'</div>');
// } // }
@ -43439,7 +43442,10 @@
uiintro.add('<div class="caption">'+stint.slice(1)+'</div>'); uiintro.add('<div class="caption">'+stint.slice(1)+'</div>');
} }
else{ else{
uiintro._place_text=uiintro.add('<div class="text" style="display:inline">'+stint+'</div>'); var placetext=uiintro.add('<div class="text" style="display:inline">'+stint+'</div>');
if(stint.indexOf('<div class="skill"')!=0){
uiintro._place_text=placetext;
}
} }
// else if(stint.length<=100){ // else if(stint.length<=100){
// uiintro.add('<div class="text center">'+stint+'</div>'); // uiintro.add('<div class="text center">'+stint+'</div>');

View File

@ -1,6 +1,6 @@
window.noname_update={ window.noname_update={
version:'1.9.38.1', version:'1.9.39',
update:'1.9.38', // update:'1.9.38',
changeLog:[ changeLog:[
'bug修复' 'bug修复'
], ],