修复护甲失效时damagepop错误的bug
修复damage函数animate部分中,定义numx时未判断角色护甲是否失效,导致之后的$damagepop即使在角色护甲失效时也计算角色护甲的bug
This commit is contained in:
parent
3148fdb8a7
commit
96e5a464a9
|
@ -19366,7 +19366,7 @@
|
|||
}
|
||||
}
|
||||
},natures,player);
|
||||
var numx=Math.max(0,num-player.hujia);
|
||||
var numx=player.hasSkillTag('nohujia')?num:Math.max(0,num-player.hujia);
|
||||
player.$damagepop(-numx,natures[0]);
|
||||
}
|
||||
if(event.unreal) event.goto(6)
|
||||
|
|
Loading…
Reference in New Issue