mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-16 04:35:42 +00:00
修正久岐忍伤害计算错误的问题
This commit is contained in:
parent
c59698b954
commit
ca8432792c
@ -73,8 +73,8 @@ let Gacha = {
|
||||
let player = Player.create(uid)
|
||||
|
||||
let faceChar = Character.get(player.face || 10000014)
|
||||
let imgs = faceChar.imgs
|
||||
if (!imgs.face) {
|
||||
let imgs = faceChar?.imgs
|
||||
if (!imgs?.face) {
|
||||
imgs = Character.get(10000079).imgs
|
||||
}
|
||||
return {
|
||||
|
@ -156,7 +156,7 @@ export default class ProfileDmg extends Base {
|
||||
let ds = lodash.merge({ talent }, DmgAttr.getDs(attr, meta))
|
||||
detail = detail({ ...ds, attr, profile })
|
||||
}
|
||||
let params = lodash.merge({}, defParams, detail.params || {})
|
||||
let params = lodash.merge({}, defParams, detail?.params || {})
|
||||
let { attr } = DmgAttr.calcAttr({ originalAttr, buffs, meta, params, talent: detail.talent || '' })
|
||||
if (detail.isStatic) {
|
||||
return
|
||||
|
@ -1,8 +1,9 @@
|
||||
export const details = [, {
|
||||
export const details = [{
|
||||
title: '超绽放伤害',
|
||||
dmg: ({calc, attr}, { reaction }) => {
|
||||
return reaction('hyperBloom')}
|
||||
},{
|
||||
dmg: ({ calc, attr }, { reaction }) => {
|
||||
return reaction('hyperBloom')
|
||||
}
|
||||
}, {
|
||||
title: 'E释放伤害',
|
||||
dmg: ({ talent }, dmg) => dmg(talent.e['技能伤害'], 'e')
|
||||
}, {
|
||||
|
Loading…
Reference in New Issue
Block a user