明忠模式适配新主公技写法
This commit is contained in:
parent
b48ae29434
commit
76b0ab8b61
|
@ -2347,6 +2347,14 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
|
||||||
game.zhu.ai.shown=1;
|
game.zhu.ai.shown=1;
|
||||||
game.zhu.setIdentity();
|
game.zhu.setIdentity();
|
||||||
game.zhu.isZhu=true;
|
game.zhu.isZhu=true;
|
||||||
|
var skills=player.getStockSkills(true,true).filter(skill=>{
|
||||||
|
if(player.hasSkill(skill)) return false;
|
||||||
|
var info=get.info(skill);
|
||||||
|
return info&&info.zhuSkill;
|
||||||
|
});
|
||||||
|
if(skills.length){
|
||||||
|
for(var i of skills) player.addSkillLog(i);
|
||||||
|
}
|
||||||
game.zhu.node.identity.classList.remove('guessing');
|
game.zhu.node.identity.classList.remove('guessing');
|
||||||
if(lib.config.animation&&!lib.config.low_performance) game.zhu.$legend();
|
if(lib.config.animation&&!lib.config.low_performance) game.zhu.$legend();
|
||||||
delete game.zhong;
|
delete game.zhong;
|
||||||
|
|
Loading…
Reference in New Issue