Skip to content

Commit

Permalink
2.2.1
Browse files Browse the repository at this point in the history
- Fixed piece names in Travelling Doctor's Set
- Add "Eye of Perception" weapon.
  • Loading branch information
frzyc committed Dec 24, 2020
1 parent c477f84 commit 14386b9
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"homepage": "https://frzyc.github.io/genshin-optimizer/",
"name": "genshin-optimizer",
"version": "2.2.0",
"version": "2.2.1",
"private": true,
"dependencies": {
"@fortawesome/fontawesome-svg-core": "^1.2.32",
Expand Down
2 changes: 2 additions & 0 deletions src/Assets/Weapons/Catalysts/Catalysts.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import SacrificialFragments from './Weapon_Sacrificial_Fragments.png'
import SolarPearl from './Weapon_Solar_Pearl.png'
import TheWidsith from './Weapon_The_Widsith.png'
import WineAndSong from './Weapon_Wine_and_Song.png'
import EyeOfPerception from './Weapon_Eye_of_Perception.png'
import Frostbearer from './Weapon_Frostbearer.png'
import LostPrayerToTheSacredWinds from './Weapon_Lost_Prayer_to_the_Sacred_Winds.png'
import SkywardAtlas from './Weapon_Skyward_Atlas.png'
Expand All @@ -37,6 +38,7 @@ const catalysts = {
SolarPearl,
TheWidsith,
WineAndSong,
EyeOfPerception,
Frostbearer,
LostPrayerToTheSacredWinds,
SkywardAtlas,
Expand Down
8 changes: 4 additions & 4 deletions src/Data/ArtifactData.js
Original file line number Diff line number Diff line change
Expand Up @@ -495,11 +495,11 @@ const ArtifactSetsData = {
},
"Traveling Doctor": {
name: "Traveling Doctor", rarity: [3], pieces: {
flower: "Traveling Doctor's Medicine Pot",
plume: "Traveling Doctor's Handkerchief",
flower: "Traveling Doctor's Silver Lotus",
plume: "Traveling Doctor's Owl Feather",
sands: "Traveling Doctor's Pocket Watch",
goblet: "Traveling Doctor's Silver Lotus",
circlet: "Traveling Doctor's Owl Feather"
goblet: "Traveling Doctor's Medicine Pot",
circlet: "Traveling Doctor's Handkerchief Crown"
},
sets: {
2: {
Expand Down
2 changes: 2 additions & 0 deletions src/Data/Weapons/Catalyst.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import SacrificialFragments from './Catalyst/SacrificialFragments'
import SolarPearl from './Catalyst/SolarPearl'
import TheWidsith from './Catalyst/TheWidsith'
import WineAndSong from './Catalyst/WineAndSong'
import EyeOfPerception from './Catalyst/EyeOfPerception'
import Frostbearer from './Catalyst/Frostbearer'
import LostPrayerToTheSacredWinds from './Catalyst/LostPrayerToTheSacredWinds'
import SkywardAtlas from './Catalyst/SkywardAtlas'
Expand All @@ -37,6 +38,7 @@ const catalyst = {
SolarPearl,
TheWidsith,
WineAndSong,
EyeOfPerception,
Frostbearer,
LostPrayerToTheSacredWinds,
SkywardAtlas,
Expand Down
18 changes: 18 additions & 0 deletions src/Data/Weapons/Catalyst/EyeOfPerception.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import WeaponPercent from "../../../Components/WeaponPercent"

const refinementVals = [240, 270, 300, 330, 360]
const refinementCdVals = [12, 11, 10, 9, 8]
const weapon = {
name: "Eye of Perception",
weaponType: "catalyst",
rarity: 4,
passiveName: "Echo",
passiveDescription: (refineIndex, charFinalStats) => <span>Normal and Charged Attacks have a 50% chance to fire a Bolt of Perception, dealing {refinementVals[refineIndex]}% ATK{WeaponPercent(refinementVals[refineIndex], charFinalStats.atk)} as DMG. This bolt can bounce between opponents a maximum of 4 times. This effect can occur once every {refinementCdVals[refineIndex]}s.</span>,
description: "A dim black glaze pearl that is said to have the power to read the purity of one's heart.",
baseStats: {
main: [41, 54, 69, 84, 99, 125, 140, 155, 169, 184, 210, 224, 238, 264, 278, 293, 319, 333, 347, 373, 387, 401, 427, 440, 454],
subStatKey: "atk_",
sub: [12, 13.9, 16.4, 18.8, 21.2, 21.2, 23.6, 26.1, 28.5, 30.9, 30.9, 33.3, 35.7, 35.7, 38.2, 40.6, 40.6, 43, 45.4, 45.4, 47.9, 50.3, 50.3, 52.7, 55.1],
},
}
export default weapon

0 comments on commit 14386b9

Please sign in to comment.