mirror of
https://github.com/ZZZure/ZZZ-Plugin.git
synced 2025-12-16 21:27:47 +00:00
优化命破角色展柜更新面板数据处理;更新命破角色默认评分规则
This commit is contained in:
parent
82ce98d425
commit
6d50740004
5 changed files with 50 additions and 62 deletions
|
|
@ -410,6 +410,26 @@ export class Property {
|
|||
property.final = property.base + property.add;
|
||||
}
|
||||
}
|
||||
if (this.info.avatar_profession === 6) {
|
||||
delete properties[231], delete properties[232];
|
||||
delete properties[305];
|
||||
const sheerForce = Math.trunc(properties[111].final * 1 / 10) +
|
||||
Math.trunc(properties[121].final * 3 / 10);
|
||||
properties[19] = {
|
||||
property_name: '贯穿力',
|
||||
property_id: 19,
|
||||
base: 0,
|
||||
add: sheerForce,
|
||||
final: sheerForce
|
||||
};
|
||||
properties[20] = {
|
||||
property_name: '闪能自动累积',
|
||||
property_id: 20,
|
||||
base: 2,
|
||||
add: 0,
|
||||
final: 2
|
||||
};
|
||||
}
|
||||
if (sp && sp.initial_after_format) {
|
||||
sp.initial_after_format(properties, this);
|
||||
}
|
||||
|
|
@ -496,35 +516,10 @@ const special = {
|
|||
properties[121].add += Math.trunc(value);
|
||||
}
|
||||
},
|
||||
1371: {
|
||||
id: 1371,
|
||||
name: '仪玄',
|
||||
initial_after_format: (properties) => {
|
||||
delete properties[231], delete properties[232];
|
||||
delete properties[305];
|
||||
const sheerForce = Math.trunc(properties[111].final * 1 / 10) +
|
||||
Math.trunc(properties[121].final * 3 / 10);
|
||||
properties[19] = {
|
||||
property_name: '贯穿力',
|
||||
property_id: 19,
|
||||
base: 0,
|
||||
add: sheerForce,
|
||||
final: sheerForce
|
||||
};
|
||||
properties[20] = {
|
||||
property_name: '闪能自动累积',
|
||||
property_id: 20,
|
||||
base: 2,
|
||||
add: 0,
|
||||
final: 2
|
||||
};
|
||||
}
|
||||
},
|
||||
1441: {
|
||||
id: 1441,
|
||||
name: '狛野真斗',
|
||||
initial_after_format: (properties) => {
|
||||
special[1371].initial_after_format(properties, {});
|
||||
properties[20] = {
|
||||
property_name: '闪能自动累积',
|
||||
property_id: 20,
|
||||
|
|
@ -533,5 +528,5 @@ const special = {
|
|||
final: 0
|
||||
};
|
||||
}
|
||||
}
|
||||
},
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue