koishi-plugin-maple-warriors 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/index.js +1 -1
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -100,7 +100,7 @@ var INITIAL_ITEMS = [
100
100
  function calculateRates(character) {
101
101
  const resistance = (character.toughness / (character.toughness + 90)).toFixed(4);
102
102
  const critRate = (character.crit / (character.crit + 90)).toFixed(4);
103
- const chargeTime = (1 + 720 / (character.agility + 80)).toFixed(2);
103
+ const chargeTime = (1 + 1800 / (7 * character.agility + 200)).toFixed(2);
104
104
  const dodgeRate = (0.2 * character.agility / (character.agility + 90)).toFixed(4);
105
105
  return { resistance, critRate, chargeTime, dodgeRate };
106
106
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "koishi-plugin-maple-warriors",
3
3
  "description": "-",
4
- "version": "0.1.1",
4
+ "version": "0.1.2",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",
7
7
  "files": [