修复失效武器技能不恢复的bug

This commit is contained in:
mengxinzxz 2024-01-29 03:30:13 +08:00
parent 7b7a196dd5
commit 16ca8fe4ec
1 changed files with 3 additions and 0 deletions

View File

@ -498,6 +498,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){
init(player,skill){
player.disableSkill(skill,lib.skill.twhuajing.getSkills(player));
},
onremove(player,skill){
player.enableSkill(skill);
},
mod:{
attackRange(player,num){
const sum=player.getCards('e',card=>get.subtype(card)=='equip1').reduce((sum,card)=>{