This commit is contained in:
libccy 2017-12-01 20:40:15 +08:00
parent 59eacf0083
commit f620b8c5c1
4 changed files with 12 additions and 6 deletions

View File

@ -1569,9 +1569,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){
game.delay(0.5);
'step 1'
player.reinit(player.storage.nscongjun_show,'ns_huamulan','nosmooth');
player.logSkill('nscongjun_show',trigger.player);
player.logSkill('nscongjun_show');
'step 2'
player.removeSkill('nscongjun_show');
player.line(trigger.player,'green');
trigger.player.damage(2);
}
}

View File

@ -13737,6 +13737,10 @@
if(smooth) this.smoothAvatar(false);
this.node.avatar.setBackground(to,'character');
this.node.name.innerHTML=get.slimName(to);
if(this==game.me&&ui.fakeme){
ui.fakeme.style.backgroundImage=this.node.avatar.style.backgroundImage;
}
}
else{
return this;
@ -14029,7 +14033,7 @@
this.node.nameol.innerHTML=str||this.nickname||'';
return this;
},
setAvatar:function(name,name2,video){
setAvatar:function(name,name2,video,fakeme){
var node;
if(this.name2==name){
node=this.node.avatar2;
@ -14041,7 +14045,7 @@
}
if(node){
node.setBackground(name2,'character');
if(this==game.me&&ui.fakeme){
if(this==game.me&&ui.fakeme&&fakeme!==false){
ui.fakeme.style.backgroundImage=node.style.backgroundImage;
}
if(video!=false){
@ -14069,13 +14073,13 @@
else{
var func=function(){
if(node._avatarqueue.length){
player.setAvatar(name,node._avatarqueue.shift(),false);
player.setAvatar(name,node._avatarqueue.shift(),false,false);
}
else{
clearInterval(node._avatarqueueinterval);
delete node._avatarqueue;
delete node._avatarqueueinterval;
player.setAvatar(name,name);
player.setAvatar(name,name,false,false);
}
};
node._avatarqueue=list.slice(0);

View File

@ -3,7 +3,8 @@ window.noname_update={
// update:'1.9.45.3',
changeLog:[
'bug修复',
'players://["old_lingju","yj_jushou","swd_guyue","ns_duangui"]',
'DIY比赛武将',
'players://["old_lingju","yj_jushou","swd_guyue","ns_duangui","yxs_luobinhan"]',
],
files:[
'game/game.js',

Binary file not shown.

Before

Width:  |  Height:  |  Size: 115 KiB

After

Width:  |  Height:  |  Size: 162 KiB