mirror of
https://github.com/ZZZure/ZZZ-Plugin.git
synced 2025-12-16 21:27:47 +00:00
优化部分伤害计算
This commit is contained in:
parent
afce42af23
commit
1e09912b84
5 changed files with 17 additions and 19 deletions
|
|
@ -268,6 +268,7 @@ export class Calculator {
|
|||
if (skill.after) {
|
||||
damage.add = (d) => {
|
||||
if (typeof d === 'string') d = this.calc_skill(d)
|
||||
if (!d) return
|
||||
logger.debug('追加伤害:' + d.skill.name, d.result)
|
||||
damage.result.expectDMG += d.result.expectDMG
|
||||
damage.result.critDMG += d.result.critDMG
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue