Browse Source

降低护甲减伤收益

v1.0
许孟阳 6 days ago
parent
commit
e0be478feb
  1. 2
      src/tool/caller.ts

2
src/tool/caller.ts

@ -66,7 +66,7 @@ export const callPlayerAttribute = (playerAttribute: any, rA: any) => { @@ -66,7 +66,7 @@ export const callPlayerAttribute = (playerAttribute: any, rA: any) => {
attribute.dps = Math.ceil((1 - crit + crit * critdmg) * atk);
//计算减伤比例
// attribute.def = 500;
attribute.reducPercent = (0.5 * attribute.def) / (35 + 0.55 * attribute.def) + (0.09 * attribute.def) / (attribute.def + 200);
attribute.reducPercent = attribute.def / (200 + 1.1 * attribute.def) + (0.09 * attribute.def) / (attribute.def + 200);
// attribute.reducPercent = (0.5 * attribute.def) / (200 + 0.502 * attribute.def);
return attribute;
};

Loading…
Cancel
Save