Skip to content

Commit

Permalink
feat(weapon): remove amos' dyn effect
Browse files Browse the repository at this point in the history
  • Loading branch information
wormtql committed Feb 25, 2021
1 parent 69e0210 commit 82044c3
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1256,7 +1256,7 @@ eval("\r\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\r\n
/***/ ((__unused_webpack_module, exports) => {

"use strict";
eval("\r\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\r\nexports.default = {\r\n alt: [\"amosizhigong\", \"阿莫斯之弓\", \"amosbow\"],\r\n baseAtkFamily: \"atk46\",\r\n effect: function (attribute) {\r\n let that = this;\r\n let percentage = that.refine * 0.03 + 0.09;\r\n attribute.aBonus += percentage;\r\n attribute.bBonus += percentage;\r\n percentage = that.refine * 0.02 + 0.06;\r\n attribute.bonus += 2 * percentage;\r\n },\r\n secondary: {\r\n name: \"attackPercentage\",\r\n family: \"atk108\"\r\n }\r\n};\r\n\n\n//# sourceURL=webpack://genshinPanel/./src/numerics/weapon/data/bow/amosizhigong.ts?");
eval("\r\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\r\nexports.default = {\r\n alt: [\"amosizhigong\", \"阿莫斯之弓\", \"amosbow\"],\r\n baseAtkFamily: \"atk46\",\r\n effect: function (attribute) {\r\n let that = this;\r\n let percentage = that.refine * 0.03 + 0.09;\r\n attribute.aBonus += percentage;\r\n attribute.bBonus += percentage;\r\n },\r\n secondary: {\r\n name: \"attackPercentage\",\r\n family: \"atk108\"\r\n }\r\n};\r\n\n\n//# sourceURL=webpack://genshinPanel/./src/numerics/weapon/data/bow/amosizhigong.ts?");

/***/ }),

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "genshin_panel",
"version": "2.1.1",
"version": "2.1.2",
"description": "genshin panel calculator",
"main": "dist/index.js",
"files": [
Expand Down
3 changes: 0 additions & 3 deletions src/numerics/weapon/data/bow/amosizhigong.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ export default {
let percentage = that.refine * 0.03 + 0.09;
attribute.aBonus += percentage;
attribute.bBonus += percentage;

percentage = that.refine * 0.02 + 0.06;
attribute.bonus += 2 * percentage;
},
secondary: {
name: "attackPercentage",
Expand Down

0 comments on commit 82044c3

Please sign in to comment.