修复曹髦决进给的护甲无上限的问题

This commit is contained in:
copcap 2024-04-10 06:13:44 +08:00
parent 0cf703c0ec
commit 16dc7d6057
No known key found for this signature in database
GPG Key ID: 30E7AB6699451AEE
1 changed files with 1 additions and 1 deletions

View File

@ -1084,7 +1084,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
const target = event.target;
const delt = target.getHp(true) - 1, num = Math.abs(delt);
await target[delt > 0 ? 'loseHp' : 'recover'](num);
if (num > 0) await target.changeHujia(num);
if (num > 0) await target.changeHujia(num, null ,true);
},
async contentAfter(event,trigger,player){
game.addGlobalSkill('mbjuejin_xiangsicunwei');