update models/dmg/DmgCalc.js.

Signed-off-by: liangshi <1142607614@qq.com>
This commit is contained in:
liangshi 2024-01-02 15:47:19 +00:00 committed by Gitee
parent e7081578ab
commit a7e0b11ede
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -184,6 +184,12 @@ let DmgCalc = {
break
}
case 'crystallize':{
eleBase *= cryBaseDmg[level]
ret = { avg: eleBase * eleNum * (calc(attr.shield) / 100) * (attr.shield.inc / 100) }
break
}
case 'aggravate':
case 'spread': {
eleBase *= eleBaseDmg[level]