mirror of
https://github.com/ZZZure/ZZZ-Plugin.git
synced 2025-12-16 13:17:32 +00:00
新增星见雅伤害计算等
1、新增星见雅面板伤害计算 2、补充星见雅技能倍率、专属音擎属性参数 3、补充折枝剑歌套装效果计算 4、补充霞落星殿音擎效果计算 5、补充伤害计算抗性区计算缺失 6、完善伤害计算防御区针对技能生效减抗 7、修改伤害计算失衡易伤区为1.0 8、删除无用重复计算 9、修正艾莲连携技倍率参数错误 10、补充角色属性map
This commit is contained in:
parent
8312fc9c56
commit
e73c0178c3
10 changed files with 325 additions and 71 deletions
|
|
@ -13,6 +13,14 @@ const weapon_effect = getMapData('weapon_effect');
|
|||
export const weapon_ability = (equipment, base_detail, bonus_detail) => {
|
||||
let equipid = equipment.id
|
||||
switch (equipid) {
|
||||
case 14109:{
|
||||
let CriticalDamageBase = _.get(bonus_detail, 'CriticalDamageBase', 0);
|
||||
bonus_detail['CriticalDamageBase'] = CriticalDamageBase + weapon_effect[equipment.id]['Param']['CriticalDamageBase'][equipment.star - 1];
|
||||
|
||||
let IceDmgAdd = _.get(bonus_detail, 'Ice_DmgAdd', 0);
|
||||
bonus_detail['Ice_DmgAdd'] = IceDmgAdd + weapon_effect[equipment.id]['Param']['IceDmgAdd'][equipment.star - 1];
|
||||
break;
|
||||
}
|
||||
case 14119:{
|
||||
let IceDmgAdd = _.get(bonus_detail, 'Ice_DmgAdd', 0);
|
||||
bonus_detail['Ice_DmgAdd'] = IceDmgAdd + weapon_effect[equipment.id]['Param']['IceDmgAdd'][equipment.star - 1];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue