muniu icon

This commit is contained in:
Spmario233 2023-09-18 17:50:25 +08:00
parent 76e058159f
commit 9f4aaa01d3
5 changed files with 10 additions and 3 deletions

View File

@ -604,6 +604,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
},
},
mark:true,
markimage2:'image/card/muniu_small.png',
intro:{
content:function(storage,player){
var muniu=player.getEquip('muniu');

View File

@ -4715,7 +4715,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
countdown:{
trigger:{player:'useCardAfter'},
mark:true,
marktext:'💀',
marktext:'',
silent:true,
forced:true,
charlotte:true,

View File

@ -24892,6 +24892,11 @@
node.style['box-shadow']='none';
node.style['background-size']='contain';
}
else if(lib.skill[name]&&lib.skill[name].markimage2){
let img=ui.create.div('.background.skillmark',node);
img.setBackgroundImage(lib.skill[name].markimage2);
img.style['background-size']='contain';
}
else{
var str=lib.translate[name+'_bg'];
if(!str||str[0]=='+'||str[0]=='-'){
@ -46384,7 +46389,8 @@
}
}
else if(updates[i].indexOf('image/card')==0){
if(updates[i].indexOf('qiaosi_card')!=11&&!skipcard.contains(updates[i].slice(11,updates[i].lastIndexOf('.')))){
let cardname=updates[i].slice(11,updates[i].lastIndexOf('.'));
if(lib.card[cardname]&&!skipcard.contains(cardname)){
updates.splice(i--,1);
}
}

BIN
image/card/muniu_small.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

View File

@ -1392,7 +1392,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
}
}
if(!game.zhu) game.zhu=game.me;
if(!game.zhu) game.zhu=game.me;
else{
game.zhu.setIdentity();
game.zhu.identityShown=true;