mirror of
https://github.com/ZZZure/ZZZ-Plugin.git
synced 2025-12-16 13:17:32 +00:00
fix:朱鸢伤害计算无视抗性错误
This commit is contained in:
parent
3a492fd4dd
commit
4ac0f913a2
1 changed files with 9 additions and 4 deletions
|
|
@ -207,13 +207,18 @@ export const avatar_ability = (data, base_detail, bonus_detail) => {
|
|||
bonus_detail['C_DmgAdd'] = C_DmgAdd + 0.5;
|
||||
}
|
||||
if (data.rank >= 4) {
|
||||
let Ether_ResistancePenetration = _.get(
|
||||
let A_ResistancePenetration = _.get(
|
||||
bonus_detail,
|
||||
'Ether_ResistancePenetration',
|
||||
'A_ResistancePenetration',
|
||||
0
|
||||
);
|
||||
bonus_detail['Ether_ResistancePenetration'] =
|
||||
Ether_ResistancePenetration + 0.25;
|
||||
bonus_detail['A_ResistancePenetration'] = A_ResistancePenetration + 0.25;
|
||||
let C_ResistancePenetration = _.get(
|
||||
bonus_detail,
|
||||
'C_ResistancePenetration',
|
||||
0
|
||||
);
|
||||
bonus_detail['C_ResistancePenetration'] = C_ResistancePenetration + 0.25;
|
||||
}
|
||||
|
||||
/** 处理天赋加成 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue