update models/dmg/DmgMastery.js.

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

View File

@ -9,6 +9,8 @@ let DmgMastery = {
return 16 * mastery / (mastery + 2000)
} else if (typeCfg.type === 'bonus') {
return 5 * mastery / (mastery + 1200)
} else if (typeCfg.type === 'shield') {
return (40 / 9) * mastery / (mastery + 1400)
}
return 0
},