diff --git a/package.json b/package.json index 24672f98..bc69289d 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "A collection of tools to help playing Genshin Impact", "version": "0.0.1", "scripts": { - "dev": "vite dev --port 3000", + "dev": "vite dev --port 3000 --host", "build": "NODE_OPTIONS=--max_old_space_size=4096 vite build", "preview": "vite preview", "start": "node build" diff --git a/src/data/banners.js b/src/data/banners.js index cc659ab1..99da599f 100644 --- a/src/data/banners.js +++ b/src/data/banners.js @@ -734,6 +734,28 @@ export const banners = { // timezoneDependent: true, // version: '3.5', // }, + { + name: 'The Transcendent One Returns', + image: 2, + shortName: 'Shenhe', + start: '2023-03-21 18:00:00', + end: '2023-04-11 14:59:59', + color: '#81DDF0', + featured: ['shenhe', 'kamisato_ayaka'], + featuredRare: ['diona', 'sucrose', 'mika'], + version: '3.5', + }, + // { + // name: 'The Herons Court', + // image: 3, + // shortName: 'Shenhe', + // start: '2023-03-21 18:00:00', + // end: '2023-04-11 14:59:59', + // color: '#FFFBF7', + // featured: ['shenhe', 'kamisato_ayaka'], + // featuredRare: ['diona', 'sucrose', 'mika'], + // version: '3.5', + // }, ], weapons: [ { @@ -1257,5 +1279,16 @@ export const banners = { timezoneDependent: true, version: '3.5', }, + { + name: 'Epitome Invocation', + image: 44, + shortName: 'Incision', + start: '2023-03-21 18:00:00', + end: '2023-04-11 14:59:59', + color: '#eae5e1', + featured: ['calamity_queller', 'mistsplitter_reforged'], + featuredRare: ['wine_and_song', 'sacrificial_sword', 'the_bell', 'favonius_lance', 'favonius_warbow'], + version: '3.5', + }, ], }; diff --git a/src/data/bannersDual.js b/src/data/bannersDual.js index 723d0267..98873518 100644 --- a/src/data/bannersDual.js +++ b/src/data/bannersDual.js @@ -453,4 +453,28 @@ export const bannersDual = { version: '3.5', }, ], + 'The Transcendent One Returns 2': [ + { + name: 'The Transcendent One Returns', + image: 2, + shortName: 'Shenhe', + start: '2023-03-21 18:00:00', + end: '2023-04-11 14:59:59', + color: '#81DDF0', + featured: ['shenhe', 'kamisato_ayaka'], + featuredRare: ['diona', 'sucrose', 'mika'], + version: '3.5', + }, + { + name: 'The Herons Court', + image: 3, + shortName: 'Shenhe', + start: '2023-03-21 18:00:00', + end: '2023-04-11 14:59:59', + color: '#FFFBF7', + featured: ['shenhe', 'kamisato_ayaka'], + featuredRare: ['diona', 'sucrose', 'mika'], + version: '3.5', + }, + ], }; diff --git a/src/data/build.js b/src/data/build.js index 2e7c5d2d..a190b299 100644 --- a/src/data/build.js +++ b/src/data/build.js @@ -2881,6 +2881,24 @@ export const builds = { }, }, }, + mika: { + roles: { + TBD: { + recommended: false, + weapons: [], + artifacts: [], + mainStats: { + sands: ['TBD'], + goblet: ['TBD'], + circlet: ['TBD'], + }, + subStats: ['TBD'], + talent: ['TBD'], + tip: '', + note: 'TBD', + }, + }, + }, qiqi: { roles: { SUPPORT: { diff --git a/src/data/characterData/mika.json b/src/data/characterData/mika.json new file mode 100755 index 00000000..ac6593f2 --- /dev/null +++ b/src/data/characterData/mika.json @@ -0,0 +1,1562 @@ +{ + "id": "mika", + "description": "A young knight born to an ordinary family. He serves as a Front-Line Surveyor in his Company. He is a low-key and cautious character.", + "weapon": "polearm", + "rarity": "rare", + "hp": [ + null, + 1048.5596923828125, + 1135.590088851488, + 1221.5720016265986, + 1308.60252309333, + 1394.5844358684408, + 1481.6148323371162, + 1567.596745112227, + 1654.6271415809024, + 1741.6576630476338, + 1827.6395758227445, + 1914.66997229142, + 2000.6518850665307, + 2087.682406533262, + 2173.664194310317, + 2260.6945907789923, + 2347.7252372437797, + 2433.7071500188904, + 2520.737546487566, + 2606.7194592626765, + 2693.749855731352, + 3477.0776145204145, + 3563.059527295525, + 3650.0899237642006, + 3737.120320232876, + 3823.102233007987, + 3910.132879472774, + 3996.114542251773, + 4083.1451887165604, + 4169.127101491671, + 4256.1574979603465, + 4342.139410735457, + 4429.169807204133, + 4516.200203672808, + 4602.182116447919, + 4689.212512916594, + 4775.194425691705, + 4862.225072156492, + 4948.206734935491, + 5035.237131404167, + 5122.267777868954, + 5208.249440647953, + 5764.824391819828, + 5851.855038284615, + 5937.837201055838, + 6024.867347528401, + 6110.849510299624, + 6197.879656772187, + 6284.910303236975, + 6370.891966015974, + 6457.922612480761, + 6543.90427525976, + 6630.934921724547, + 7373.034897310485, + 7459.016560089483, + 7546.047206554271, + 7633.077853019058, + 7719.059515798057, + 7806.090162262844, + 7892.071825041843, + 7979.1024715066305, + 8065.084134285629, + 8152.114780750417, + 8239.145427215204, + 8795.72037838708, + 8881.702041166078, + 8968.732687630865, + 9054.714350409864, + 9141.744996874651, + 9227.72665965365, + 9314.757306118438, + 9401.787452591001, + 9487.769615362224, + 9574.799761834787, + 9660.78192460601, + 10217.356875777885, + 10304.387522242672, + 10390.369185021671, + 10477.399831486458, + 10564.429977959022, + 10650.412140730245, + 10737.442287202808, + 10823.42444997403, + 10910.454596446594, + 10996.436759217817, + 11083.46690569038, + 11640.041856862255, + 11727.072503327043, + 11813.054666098265, + 11900.084812570829, + 11986.066975342052, + 12073.097121814615, + 12159.078784593614, + 12246.109431058401, + 12332.0910938374, + 12419.121740302187, + 12506.152386766975 + ], + "atk": [ + null, + 18.698400497436523, + 20.250366704457065, + 21.783635866226177, + 23.335604302269758, + 24.86887346403887, + 26.42083967105941, + 27.954108832828524, + 29.506075039849065, + 31.058043475892646, + 32.59131263766176, + 34.1432788446823, + 35.67654800645141, + 37.22851644249499, + 38.761783375241066, + 40.31374958226161, + 41.86572024732823, + 43.39898940909734, + 44.95095561611788, + 46.48422477788699, + 48.036190984907535, + 62.00518131083527, + 63.53845047260438, + 65.09041667962492, + 66.64238288664546, + 68.17565204841458, + 69.7276227134812, + 71.26088741720423, + 72.81285808227085, + 74.34612724403996, + 75.8980934510605, + 77.43136261282962, + 78.98332881985016, + 80.5352950268707, + 82.06856418863981, + 83.62053039566035, + 85.15379955742947, + 86.70577022249608, + 88.23903492621912, + 89.79100113323966, + 91.34297179830628, + 92.87623650202931, + 102.80157143244924, + 104.35354209751586, + 105.88681571733105, + 107.43877746630551, + 108.9720510861207, + 110.52401283509516, + 112.07598350016178, + 113.60924820388482, + 115.16121886895144, + 116.69448357267447, + 118.24645423774109, + 131.48023414496765, + 133.0134988486907, + 134.5654695137573, + 136.11744017882393, + 137.65070488254696, + 139.20267554761358, + 140.73594025133661, + 142.28791091640323, + 143.82117562012627, + 145.3731462851929, + 146.9251169502595, + 156.85045188067943, + 158.38371658440246, + 159.93568724946908, + 161.46895195319212, + 163.02092261825874, + 164.55418732198177, + 166.1061579870484, + 167.65811973602285, + 169.19139335583804, + 170.7433551048125, + 172.2766287246277, + 182.20196365504762, + 183.75393432011424, + 185.28719902383727, + 186.8391696889039, + 188.39113143787836, + 189.92440505769355, + 191.476366806668, + 193.0096404264832, + 194.56160217545766, + 196.09487579527286, + 197.64683754424732, + 207.5721762893645, + 209.12414695443113, + 210.65742057424632, + 212.20938232322078, + 213.74265594303597, + 215.29461769201043, + 216.82788239573347, + 218.3798530608001, + 219.91311776452312, + 221.46508842958974, + 223.01705909465636 + ], + "def": [ + null, + 59.80012512207031, + 64.76353219947123, + 69.66714348601818, + 74.63055769214952, + 79.53416897869647, + 84.49757605609739, + 89.40118734264433, + 94.36459442004525, + 99.3280086261766, + 104.23161991272354, + 109.19502699012446, + 114.09863827667141, + 119.06205248280276, + 123.96565664061927, + 128.9290637180202, + 133.89248505288197, + 138.7960963394289, + 143.75950341682983, + 148.66311470337678, + 153.6265217807777, + 198.30027361183238, + 203.20388489837933, + 208.16729197578024, + 213.13069905318116, + 218.0343103397281, + 222.9977316745899, + 227.90132870367597, + 232.86475003853775, + 237.7683613250847, + 242.7317684024856, + 247.63537968903256, + 252.59878676643348, + 257.5621938438344, + 262.46580513038134, + 267.42921220778226, + 272.3328234943292, + 277.296244829191, + 282.19984185827707, + 287.163248935678, + 292.12667027053976, + 297.03026729962585, + 328.77214199445007, + 333.73556332931184, + 338.63918887331965, + 343.6025816932597, + 348.5062072372675, + 353.4696000572076, + 358.43302139206935, + 363.33661842115544, + 368.3000397560172, + 373.2036367851033, + 378.1670581199651, + 420.48956025619555, + 425.39315728528163, + 430.3565786201434, + 435.3199999550052, + 440.2235969840913, + 445.18701831895305, + 450.09061534803914, + 455.0540366829009, + 459.957633711987, + 464.9210550468488, + 469.88447638171056, + 501.62634344714024, + 506.52994047622633, + 511.4933618110881, + 516.3969588401742, + 521.360380175036, + 526.263977204122, + 531.2273985389838, + 536.1907913589239, + 541.0944169029317, + 546.0578097228718, + 550.9614352668796, + 582.7033175910983, + 587.6667389259601, + 592.5703359550462, + 597.533757289908, + 602.497150109848, + 607.4007756538558, + 612.3641684737959, + 617.2677940178037, + 622.2311868377437, + 627.1348123817515, + 632.0982052016916, + 663.8400722671213, + 668.8034936019831, + 673.7071191459909, + 678.6705119659309, + 683.5741375099387, + 688.5375303298788, + 693.4411273589649, + 698.4045486938267, + 703.3081457229127, + 708.2715670577745, + 713.2349883926363 + ], + "hpPercent": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0.05999999865889549, + 0.05999999865889549, + 0.05999999865889549, + 0.05999999865889549, + 0.05999999865889549, + 0.05999999865889549, + 0.05999999865889549, + 0.05999999865889549, + 0.05999999865889549, + 0.05999999865889549, + 0.05999999865889549, + 0.11999999731779099, + 0.11999999731779099, + 0.11999999731779099, + 0.11999999731779099, + 0.11999999731779099, + 0.11999999731779099, + 0.11999999731779099, + 0.11999999731779099, + 0.11999999731779099, + 0.11999999731779099, + 0.11999999731779099, + 0.11999999731779099, + 0.11999999731779099, + 0.11999999731779099, + 0.11999999731779099, + 0.11999999731779099, + 0.11999999731779099, + 0.11999999731779099, + 0.11999999731779099, + 0.11999999731779099, + 0.11999999731779099, + 0.11999999731779099, + 0.18000000715255737, + 0.18000000715255737, + 0.18000000715255737, + 0.18000000715255737, + 0.18000000715255737, + 0.18000000715255737, + 0.18000000715255737, + 0.18000000715255737, + 0.18000000715255737, + 0.18000000715255737, + 0.18000000715255737, + 0.23999999463558197, + 0.23999999463558197, + 0.23999999463558197, + 0.23999999463558197, + 0.23999999463558197, + 0.23999999463558197, + 0.23999999463558197, + 0.23999999463558197, + 0.23999999463558197, + 0.23999999463558197, + 0.23999999463558197 + ], + "statGrow": "hpPercent", + "constellations": [ + { + "name": "Factor Confluence", + "description": "The Soulwind state of Starfrost Swirl can decrease the healing interval between instances caused by Skyfeather Song's Eagleplume state. This decrease percentage is equal to the ATK SPD increase provided by Soulwind." + }, + { + "name": "Companion's Ingress", + "description": "When Starfrost Swirl's Flowfrost Arrow first hits an opponent, or its Rimestar Flare hits an opponent, 1 Detector stack from Passive Talent \"Suppressive Barrage\" will be generated.\\nYou must have unlocked the Passive Talent \"Suppressive Barrage\" first." + }, + { + "name": "Reconnaissance Experience", + "description": "Increases the Level of Skyfeather Song by 3.\\nMaximum upgrade level is 15." + }, + { + "name": "Sunfrost Encomium", + "description": "When Mika's own Skyfeather Song's Eagleplume state heals party members, this will restore 3 Energy to Mika. This form of Energy restoration can occur 5 times during the Eagleplume state created by 1 use of Skyfeather Song." + }, + { + "name": "Signal Arrow", + "description": "Increases the Level of Starfrost Swirl by 3.\\nMaximum upgrade level is 15." + }, + { + "name": "Companion's Counsel", + "description": "The maximum number of Detector stacks that Starfrost Swirl's Soulwind can gain is increased by 1. You need to have unlocked the Passive Talent \"Suppressive Barrage\" first.\\nAdditionally, active characters affected by Soulwind will deal 60% more Physical CRIT DMG." + } + ], + "passives": [ + { + "name": "Suppressive Barrage", + "description": "Per the following circumstances, the Soulwind state caused by Starfrost Swirl will grant characters the Detector effect, increasing their Physical DMG by 10% when they are on the field.\\n·If the Flowfrost Arrow hits more than one opponent, each additional opponent hit will generate 1 Detector stack.\\n·When a Rimestar Shard hits an opponent, it will generate 1 Detector stack. Each Rimestar Shard can trigger the effect 1 time.\\n\\nThe Soulwind state can have a maximum of 3 Detector stacks, and if Starfrost Swirl is cast again during this duration, the pre-existing Soulwind state and all its Detector stacks will be cleared." + }, + { + "name": "Topographical Mapping", + "description": "When an active character affected by both Skyfeather Song's Eagleplume and Starfrost Swirl's Soulwind at once scores a CRIT Hit with their attacks, Soulwind will grant them 1 stack of Detector from Suppressive Barrage. During a single instance of Soulwind, 1 Detector stack can be gained in this manner.\\nAdditionally, the maximum number of stacks that can be gained through Soulwind alone is increased by 1.\\nRequires Suppressive Barrage to be unlocked first." + }, + { + "name": "Demarcation", + "description": "Displays the location of nearby resources unique to Mondstadt on the mini-map." + } + ], + "burst": { + "name": "Skyfeather Song", + "description": "Derives the ability to spur his teammates on from the recited prayers of the knightly order, regenerating HP for all nearby party members. This healing is based on Mika's Max HP and will grant them the Eagleplume state.\\n\\nEagleplume\\nWhen the Normal Attacks of active characters affected by Eagleplume hit an opponent, Mika will help them regenerate HP based on his Max HP.\\nCharacters affected by this state can only regenerate HP in this way once per short interval of time.\\n\\n\"Carry hope when in dire straits, and keep vigil when all is well... For that pure white plume shall at last guide the lost wayfarers.\"", + "skillLabels": [ + "Cast Healing", + "Eagleplume Healing", + "Eagleplume Healing Interval", + "Eagleplume Duration", + "CD", + "Energy Cost" + ], + "skillStatsLabels": [ + "{0:1p} Max HP+{1:i}", + "{0:1p} Max HP+{1:i}", + "{0:1f}s", + "{0:1f}s", + "{0:1f}s", + "{0:i}" + ], + "skillStats": [ + [ + [ + 0.12167999893426895, + 1172.0355224609375 + ], + [ + 0.13080599904060364, + 1289.25537109375 + ], + [ + 0.13993200659751892, + 1416.2435302734375 + ], + [ + 0.15209999680519104, + 1553 + ], + [ + 0.16122600436210632, + 1699.5247802734375 + ], + [ + 0.1703519970178604, + 1855.81787109375 + ], + [ + 0.18252000212669373, + 2021.87939453125 + ], + [ + 0.19468800723552704, + 2197.709228515625 + ], + [ + 0.20685599744319916, + 2383.30712890625 + ], + [ + 0.21902400255203247, + 2578.673583984375 + ], + [ + 0.2311919927597046, + 2783.808349609375 + ], + [ + 0.2433599978685379, + 2998.71142578125 + ], + [ + 0.25856998562812805, + 3223.3828125 + ], + [ + 0.2737799882888794, + 3457.822509765625 + ], + [ + 0.28898999094963074, + 3702.030517578125 + ] + ], + [ + [ + 0.024320000782608986, + 233.95428466796875 + ], + [ + 0.0261439997702837, + 257.35296630859375 + ], + [ + 0.02796800062060356, + 282.7015380859375 + ], + [ + 0.030400000512599945, + 310 + ], + [ + 0.03222399950027466, + 339.24835205078125 + ], + [ + 0.03404799848794937, + 370.44659423828125 + ], + [ + 0.036479998379945755, + 403.5947265625 + ], + [ + 0.03891199827194214, + 438.6927490234375 + ], + [ + 0.04134399816393852, + 475.74066162109375 + ], + [ + 0.043776001781225204, + 514.7384643554688 + ], + [ + 0.04620800167322159, + 555.6861572265625 + ], + [ + 0.04864000156521797, + 598.583740234375 + ], + [ + 0.05167999863624573, + 643.4312133789062 + ], + [ + 0.05471999943256378, + 690.2285766601562 + ], + [ + 0.057760000228881836, + 738.975830078125 + ] + ], + [ + [ + 2.5 + ], + [ + 2.5 + ], + [ + 2.5 + ], + [ + 2.5 + ], + [ + 2.5 + ], + [ + 2.5 + ], + [ + 2.5 + ], + [ + 2.5 + ], + [ + 2.5 + ], + [ + 2.5 + ], + [ + 2.5 + ], + [ + 2.5 + ], + [ + 2.5 + ], + [ + 2.5 + ], + [ + 2.5 + ] + ], + [ + [ + 15 + ], + [ + 15 + ], + [ + 15 + ], + [ + 15 + ], + [ + 15 + ], + [ + 15 + ], + [ + 15 + ], + [ + 15 + ], + [ + 15 + ], + [ + 15 + ], + [ + 15 + ], + [ + 15 + ], + [ + 15 + ], + [ + 15 + ], + [ + 15 + ] + ], + [ + [ + 18 + ], + [ + 18 + ], + [ + 18 + ], + [ + 18 + ], + [ + 18 + ], + [ + 18 + ], + [ + 18 + ], + [ + 18 + ], + [ + 18 + ], + [ + 18 + ], + [ + 18 + ], + [ + 18 + ], + [ + 18 + ], + [ + 18 + ], + [ + 18 + ] + ], + [ + [ + 70 + ], + [ + 70 + ], + [ + 70 + ], + [ + 70 + ], + [ + 70 + ], + [ + 70 + ], + [ + 70 + ], + [ + 70 + ], + [ + 70 + ], + [ + 70 + ], + [ + 70 + ], + [ + 70 + ], + [ + 70 + ], + [ + 70 + ], + [ + 70 + ] + ] + ] + }, + "attack": { + "name": "Normal Attack: Spear of Favonius - Arrow's Passage", + "description": "Normal Attack\\nPerforms up to 5 consecutive strikes using his crossbow and spear.\\n\\nCharged Attack\\nConsumes a certain amount of Stamina to lunge forward, dealing damage to opponents along the way.\\n\\nPlunging Attack\\nPlunges from mid-air to strike the ground below, damaging opponents along the path and dealing AoE DMG upon impact.", + "skillLabels": [ + "1-Hit DMG", + "2-Hit DMG", + "3-Hit DMG", + "4-Hit DMG", + "5-Hit DMG", + "Charged Attack DMG", + "Charged Attack Stamina Cost", + "Plunge DMG", + "Low/High Plunge DMG" + ], + "skillStatsLabels": [ + "{0:1p}", + "{0:1p}", + "{0:1p}", + "{0:1p}+{1:1p}", + "{0:1p}", + "{0:1p}", + "{0:1f}", + "{0:1p}", + "{0:p}/{1:p}" + ], + "skillStats": [ + [ + [ + 0.4326319992542267 + ], + [ + 0.46784600615501404 + ], + [ + 0.503059983253479 + ], + [ + 0.5533660054206848 + ], + [ + 0.5885800123214722 + ], + [ + 0.6288250088691711 + ], + [ + 0.6841620206832886 + ], + [ + 0.7394980192184448 + ], + [ + 0.7948349714279175 + ], + [ + 0.8552020192146301 + ], + [ + 0.915569007396698 + ], + [ + 0.9759359955787659 + ], + [ + 1.036303997039795 + ], + [ + 1.0966709852218628 + ], + [ + 1.1570379734039307 + ] + ], + [ + [ + 0.4150190055370331 + ], + [ + 0.4487990140914917 + ], + [ + 0.4825800061225891 + ], + [ + 0.5308380126953125 + ], + [ + 0.5646190047264099 + ], + [ + 0.6032249927520752 + ], + [ + 0.6563090085983276 + ], + [ + 0.7093930244445801 + ], + [ + 0.7624760270118713 + ], + [ + 0.8203859925270081 + ], + [ + 0.8782960176467896 + ], + [ + 0.9362050294876099 + ], + [ + 0.9941149950027466 + ], + [ + 1.052024006843567 + ], + [ + 1.1099339723587036 + ] + ], + [ + [ + 0.5450339913368225 + ], + [ + 0.5893970131874084 + ], + [ + 0.6337599754333496 + ], + [ + 0.6971359848976135 + ], + [ + 0.7414990067481995 + ], + [ + 0.7922000288963318 + ], + [ + 0.8619139790534973 + ], + [ + 0.9316269755363464 + ], + [ + 1.0013409852981567 + ], + [ + 1.0773919820785522 + ], + [ + 1.1534429788589478 + ], + [ + 1.2294939756393433 + ], + [ + 1.3055460453033447 + ], + [ + 1.3815970420837402 + ], + [ + 1.4576480388641357 + ] + ], + [ + [ + 0.2761459946632385, + 0.2761459946632385 + ], + [ + 0.2986229956150055, + 0.2986229956150055 + ], + [ + 0.32109999656677246, + 0.32109999656677246 + ], + [ + 0.3532100021839142, + 0.3532100021839142 + ], + [ + 0.37568700313568115, + 0.37568700313568115 + ], + [ + 0.4013749957084656, + 0.4013749957084656 + ], + [ + 0.43669599294662476, + 0.43669599294662476 + ], + [ + 0.47201699018478394, + 0.47201699018478394 + ], + [ + 0.5073379874229431, + 0.5073379874229431 + ], + [ + 0.5458700060844421, + 0.5458700060844421 + ], + [ + 0.5844020247459412, + 0.5844020247459412 + ], + [ + 0.6229339838027954, + 0.6229339838027954 + ], + [ + 0.6614660024642944, + 0.6614660024642944 + ], + [ + 0.6999980211257935, + 0.6999980211257935 + ], + [ + 0.7385299801826477, + 0.7385299801826477 + ] + ], + [ + [ + 0.7087429761886597 + ], + [ + 0.766431987285614 + ], + [ + 0.8241199851036072 + ], + [ + 0.9065319895744324 + ], + [ + 0.9642199873924255 + ], + [ + 1.030150055885315 + ], + [ + 1.1208029985427856 + ], + [ + 1.2114559412002563 + ], + [ + 1.302109956741333 + ], + [ + 1.4010039567947388 + ], + [ + 1.4998979568481445 + ], + [ + 1.5987930297851562 + ], + [ + 1.697687029838562 + ], + [ + 1.7965819835662842 + ], + [ + 1.89547598361969 + ] + ], + [ + [ + 1.12746000289917 + ], + [ + 1.219230055809021 + ], + [ + 1.3109999895095825 + ], + [ + 1.4421000480651855 + ], + [ + 1.533869981765747 + ], + [ + 1.6387499570846558 + ], + [ + 1.782960057258606 + ], + [ + 1.9271700382232666 + ], + [ + 2.0713798999786377 + ], + [ + 2.2286999225616455 + ], + [ + 2.3860199451446533 + ], + [ + 2.543339967727661 + ], + [ + 2.700659990310669 + ], + [ + 2.8579800128936768 + ], + [ + 3.0153000354766846 + ] + ], + [ + [ + 20 + ], + [ + 20 + ], + [ + 20 + ], + [ + 20 + ], + [ + 20 + ], + [ + 20 + ], + [ + 20 + ], + [ + 20 + ], + [ + 20 + ], + [ + 20 + ], + [ + 20 + ], + [ + 20 + ], + [ + 20 + ], + [ + 20 + ], + [ + 20 + ] + ], + [ + [ + 0.6393240094184875 + ], + [ + 0.6913620233535767 + ], + [ + 0.743399977684021 + ], + [ + 0.8177400231361389 + ], + [ + 0.8697779774665833 + ], + [ + 0.9292500019073486 + ], + [ + 1.011023998260498 + ], + [ + 1.0927979946136475 + ], + [ + 1.1745719909667969 + ], + [ + 1.2637799978256226 + ], + [ + 1.3529880046844482 + ], + [ + 1.442196011543274 + ], + [ + 1.5314040184020996 + ], + [ + 1.6206120252609253 + ], + [ + 1.709820032119751 + ] + ], + [ + [ + 1.2783770561218262, + 1.59676194190979 + ], + [ + 1.3824310302734375, + 1.7267309427261353 + ], + [ + 1.4864850044250488, + 1.8566999435424805 + ], + [ + 1.635133981704712, + 2.042370080947876 + ], + [ + 1.7391870021820068, + 2.1723389625549316 + ], + [ + 1.858106017112732, + 2.3208749294281006 + ], + [ + 2.021620035171509, + 2.5251119136810303 + ], + [ + 2.1851329803466797, + 2.72934889793396 + ], + [ + 2.3486459255218506, + 2.9335858821868896 + ], + [ + 2.527024984359741, + 3.1563899517059326 + ], + [ + 2.7054030895233154, + 3.3791940212249756 + ], + [ + 2.8837809562683105, + 3.6019980907440186 + ], + [ + 3.0621590614318848, + 3.8248019218444824 + ], + [ + 3.24053692817688, + 4.047605991363525 + ], + [ + 3.418915033340454, + 4.270410060882568 + ] + ] + ] + }, + "elementalSkill": { + "name": "Starfrost Swirl", + "description": "Mika uses his crossbow to attack, granting all nearby characters in your party Soulwind. When characters in the Soulwind state are on the field, their ATK SPD will be increased.\\nWill take effect in different ways if Tapped or Held.\\n\\nTap\\nFires a Flowfrost Arrow that can pierce through opponents, dealing Cryo DMG to enemies it comes into contact with.\\n\\nHold\\nGoes into Aiming Mode, locking on to an opponent and firing a Rimestar Flare at them, dealing Cryo DMG. When the Rimestar Flare hits, it will rise before exploding, launching Rimestar Shards into a maximum of 3 other opponents, dealing Cryo DMG.\\n\\nStars burst 'neath the frosted skies.", + "skillLabels": [ + "Flowfrost Arrow DMG", + "Rimestar Flare DMG", + "Rimestar Shard DMG", + "ATK SPD Bonus", + "Soulwind Duration", + "CD" + ], + "skillStatsLabels": [ + "{0:2p}", + "{0:2p}", + "{0:2p}", + "{0:p}", + "{0:1f}s", + "{0:1f}s" + ], + "skillStats": [ + [ + [ + 0.671999990940094 + ], + [ + 0.7224000096321106 + ], + [ + 0.7728000283241272 + ], + [ + 0.8399999737739563 + ], + [ + 0.8903999924659729 + ], + [ + 0.9408000111579895 + ], + [ + 1.0080000162124634 + ], + [ + 1.0751999616622925 + ], + [ + 1.1424000263214111 + ], + [ + 1.2095999717712402 + ], + [ + 1.2768000364303589 + ], + [ + 1.343999981880188 + ], + [ + 1.4279999732971191 + ], + [ + 1.5119999647140503 + ], + [ + 1.5959999561309814 + ] + ], + [ + [ + 0.8399999737739563 + ], + [ + 0.902999997138977 + ], + [ + 0.9660000205039978 + ], + [ + 1.0499999523162842 + ], + [ + 1.1130000352859497 + ], + [ + 1.1759999990463257 + ], + [ + 1.2599999904632568 + ], + [ + 1.343999981880188 + ], + [ + 1.4279999732971191 + ], + [ + 1.5119999647140503 + ], + [ + 1.5959999561309814 + ], + [ + 1.6799999475479126 + ], + [ + 1.784999966621399 + ], + [ + 1.8899999856948853 + ], + [ + 1.9950000047683716 + ] + ], + [ + [ + 0.25200000405311584 + ], + [ + 0.27090001106262207 + ], + [ + 0.2897999882698059 + ], + [ + 0.3149999976158142 + ], + [ + 0.33390000462532043 + ], + [ + 0.35280001163482666 + ], + [ + 0.3779999911785126 + ], + [ + 0.4032000005245209 + ], + [ + 0.4284000098705292 + ], + [ + 0.4535999894142151 + ], + [ + 0.4787999987602234 + ], + [ + 0.5040000081062317 + ], + [ + 0.5354999899864197 + ], + [ + 0.5669999718666077 + ], + [ + 0.5985000133514404 + ] + ], + [ + [ + 0.12999999523162842 + ], + [ + 0.14000000059604645 + ], + [ + 0.15000000596046448 + ], + [ + 0.1599999964237213 + ], + [ + 0.17000000178813934 + ], + [ + 0.18000000715255737 + ], + [ + 0.1899999976158142 + ], + [ + 0.20000000298023224 + ], + [ + 0.20999999344348907 + ], + [ + 0.2199999988079071 + ], + [ + 0.23000000417232513 + ], + [ + 0.23999999463558197 + ], + [ + 0.25 + ], + [ + 0.25 + ], + [ + 0.25 + ] + ], + [ + [ + 12 + ], + [ + 12 + ], + [ + 12 + ], + [ + 12 + ], + [ + 12 + ], + [ + 12 + ], + [ + 12 + ], + [ + 12 + ], + [ + 12 + ], + [ + 12 + ], + [ + 12 + ], + [ + 12 + ], + [ + 12 + ], + [ + 12 + ], + [ + 12 + ] + ], + [ + [ + 15 + ], + [ + 15 + ], + [ + 15 + ], + [ + 15 + ], + [ + 15 + ], + [ + 15 + ], + [ + 15 + ], + [ + 15 + ], + [ + 15 + ], + [ + 15 + ], + [ + 15 + ], + [ + 15 + ], + [ + 15 + ], + [ + 15 + ], + [ + 15 + ] + ] + ] + } +} \ No newline at end of file diff --git a/src/data/characters.js b/src/data/characters.js index a07946e3..e796f0d7 100644 --- a/src/data/characters.js +++ b/src/data/characters.js @@ -4789,6 +4789,151 @@ export const characters = { }, element: elements.electro, }, + mika: { + id: 'mika', + name: 'Mika', + rarity: 4, + weapon: weapons.polearm, + stats: { + hp: 12506, + atk: 223, + def: 713, + }, + ascension: [ + { + items: [ + { + item: itemList.shivada_jade_sliver, + amount: 1, + }, + { + item: itemList.none, + amount: null, + }, + { + item: itemList.wolfhook, + amount: 3, + }, + { + item: itemList.recruits_insignia, + amount: 3, + }, + ], + mora: 20000, + }, + { + items: [ + { + item: itemList.shivada_jade_fragment, + amount: 3, + }, + { + item: itemList.pseudo_stamens, + amount: 2, + }, + { + item: itemList.wolfhook, + amount: 10, + }, + { + item: itemList.recruits_insignia, + amount: 15, + }, + ], + mora: 40000, + }, + { + items: [ + { + item: itemList.shivada_jade_fragment, + amount: 6, + }, + { + item: itemList.pseudo_stamens, + amount: 4, + }, + { + item: itemList.wolfhook, + amount: 20, + }, + { + item: itemList.sergeants_insignia, + amount: 12, + }, + ], + mora: 60000, + }, + { + items: [ + { + item: itemList.shivada_jade_chunk, + amount: 3, + }, + { + item: itemList.pseudo_stamens, + amount: 8, + }, + { + item: itemList.wolfhook, + amount: 30, + }, + { + item: itemList.sergeants_insignia, + amount: 18, + }, + ], + mora: 80000, + }, + { + items: [ + { + item: itemList.shivada_jade_chunk, + amount: 6, + }, + { + item: itemList.pseudo_stamens, + amount: 12, + }, + { + item: itemList.wolfhook, + amount: 45, + }, + { + item: itemList.lieutenants_insignia, + amount: 12, + }, + ], + mora: 100000, + }, + { + items: [ + { + item: itemList.shivada_jade_gemstone, + amount: 6, + }, + { + item: itemList.pseudo_stamens, + amount: 20, + }, + { + item: itemList.wolfhook, + amount: 60, + }, + { + item: itemList.lieutenants_insignia, + amount: 24, + }, + ], + mora: 120000, + }, + ], + material: { + material: [itemList.recruits_insignia, itemList.sergeants_insignia, itemList.lieutenants_insignia], + book: [itemList.teachings_of_ballad, itemList.guide_to_ballad, itemList.philosophies_of_ballad], + boss: itemList.mirror_of_mushin, + }, + element: elements.cryo, + }, mona: { id: 'mona', name: 'Mona', diff --git a/src/data/events.js b/src/data/events.js index 6be90299..8d3a0520 100644 --- a/src/data/events.js +++ b/src/data/events.js @@ -1183,7 +1183,40 @@ export const events = [ start: '2023-03-14 10:00:00', end: '2023-03-27 03:59:59', color: '#38c2f9', - url: 'https://www.hoyolab.com/article/16631602', + url: 'https://www.hoyolab.com/article/16959444', + showOnHome: true, + }, + { + name: 'Fungus Mechanicus', + pos: '0% 60%', + zoom: '200%', + image: 'fungus_mechanicus.jpg', + start: '2023-03-23 10:00:00', + end: '2023-04-03 03:59:59', + color: '#5cbcad', + url: 'https://www.hoyolab.com/article/17144800', + showOnHome: true, + }, + { + name: 'Spices From the West: Northerly Search', + pos: '0% 40%', + zoom: '200%', + image: 'spices_from_the_west.jpg', + start: '2023-03-31 10:00:00', + end: '2023-04-10 03:59:59', + color: '#83bfb4', + url: 'https://www.hoyolab.com/article/17043974', + showOnHome: true, + }, + { + name: 'Ley Line Overflow', + pos: '0% 40%', + zoom: '200%', + image: 'leyline_overflow.jpg', + start: '2023-04-03 04:00:00', + end: '2023-04-10 03:59:59', + color: '#5baced', + url: 'https://www.hoyolab.com/article/17043974', showOnHome: true, }, ]; diff --git a/src/data/timeline.js b/src/data/timeline.js index 03316d50..de0a0e93 100644 --- a/src/data/timeline.js +++ b/src/data/timeline.js @@ -81,6 +81,28 @@ export const eventsData = [ url: 'https://www.hoyolab.com/article/16631602', showOnHome: true, }, + { + name: 'Fungus Mechanicus', + pos: '0% 60%', + zoom: '200%', + image: 'fungus_mechanicus.jpg', + start: '2023-03-23 10:00:00', + end: '2023-04-03 03:59:59', + color: '#5cbcad', + url: 'https://www.hoyolab.com/article/17144800', + showOnHome: true, + }, + { + name: 'Ley Line Overflow', + pos: '0% 40%', + zoom: '200%', + image: 'leyline_overflow.jpg', + start: '2023-04-03 04:00:00', + end: '2023-04-10 03:59:59', + color: '#5baced', + url: 'https://www.hoyolab.com/article/17043974', + showOnHome: true, + }, ], [ { @@ -118,13 +140,24 @@ export const eventsData = [ }, { name: 'Vibro Crystal Verification', - pos: '0% 30%', - zoom: '210%', - image: 'vibro_crysta_research.jpg', + pos: '0% 20%', + zoom: '230%', + image: 'vibro_crysta_research_2.jpg', start: '2023-03-14 10:00:00', end: '2023-03-27 03:59:59', color: '#38c2f9', - url: 'https://www.hoyolab.com/article/16631602', + url: 'https://www.hoyolab.com/article/16959444', + showOnHome: true, + }, + { + name: 'Spices From the West: Northerly Search', + pos: '0% 40%', + zoom: '200%', + image: 'spices_from_the_west.jpg', + start: '2023-03-31 10:00:00', + end: '2023-04-10 03:59:59', + color: '#83bfb4', + url: 'https://www.hoyolab.com/article/17043974', showOnHome: true, }, ], @@ -164,6 +197,17 @@ export const eventsData = [ showOnHome: true, timezoneDependent: true, }, + { + name: 'The Transcendent One Returns - Shenhe Banner', + pos: '30% 15%', + zoom: '150%', + image: 'the_transcendent_one_returns_2.jpg', + start: '2023-03-21 18:00:00', + end: '2023-04-11 14:59:59', + color: '#81DDF0', + url: 'https://www.hoyolab.com/article/17043829', + showOnHome: true, + }, ], [ { @@ -201,6 +245,17 @@ export const eventsData = [ showOnHome: true, timezoneDependent: true, }, + { + name: "The Heron's Court - Ayaka Banner", + pos: '30% 15%', + zoom: '150%', + image: 'the_herons_court_3.jpg', + start: '2023-03-21 18:00:00', + end: '2023-04-11 14:59:59', + color: '#FFFBF7', + url: 'https://www.hoyolab.com/article/17043829', + showOnHome: true, + }, ], [ { @@ -238,6 +293,17 @@ export const eventsData = [ showOnHome: true, timezoneDependent: true, }, + { + name: 'Epitome Invocation - Weapon Banner', + pos: '30% 15%', + zoom: '150%', + image: 'epitome_invocation_44.jpg', + start: '2023-03-21 18:00:00', + end: '2023-04-11 14:59:59', + color: '#FFAA4B', + url: 'https://www.hoyolab.com/article/17043829', + showOnHome: true, + }, ], [ { @@ -280,6 +346,26 @@ export const eventsData = [ description: "When a character triggers a Spread or Aggravate reaction on an opponent, a shockwave will be unleashed at the opponent's position, dealing True DMG. A shockwave can be unleashed this way every 3s.", }, + { + name: 'Spiral Abyss', + image: 'spiral_abyss.jpg', + pos: '50% 20%', + start: '2023-03-16 04:00:00', + end: '2023-04-01 04:00:00', + color: '#4299E1', + description: + "After a character's HP decreases, all party members will gain a stack of Implacable: DMG dealt will be increased by 8% for 8s. This effect can be triggered once every 0.3s. Max 4 stacks. Each stack's duration is counted independently.", + }, + { + name: 'Spiral Abyss', + image: 'spiral_abyss.jpg', + pos: '50% 20%', + start: '2023-04-01 04:00:00', + end: '2023-04-16 04:00:00', + color: '#4299E1', + description: + "When a character's HP decreases, release a shockwave at the current active character's position, dealing True DMG to nearby opponents. This effect can be triggered once every 3s.", + }, ], [ { @@ -302,6 +388,16 @@ export const eventsData = [ image: 'paimon_bargain.png', description: 'Now selling: Beidou, Noelle, and Royal Weapons.', }, + { + name: "Paimon's Bargain - Ningguang, Xingqiu, and Blackcliff", + pos: '0% 50%', + zoom: '150%', + start: '2023-03-01 04:00:00', + end: '2023-04-01 04:00:00', + color: '#B6A1EA', + image: 'paimon_bargain.png', + description: 'Now selling: Ningguang, Xingqiu, and Blackcliff Weapons.', + }, ], [ { diff --git a/src/routes/_index/banner.svelte b/src/routes/_index/banner.svelte index 48c68737..898f7a94 100644 --- a/src/routes/_index/banner.svelte +++ b/src/routes/_index/banner.svelte @@ -13,25 +13,25 @@ const dispatch = createEventDispatcher(); const featured = { - dehya: { - name: 'Dehya', + shenhe: { + name: 'Shenhe', rarity: 'legendary', count: 0, average: '...', percentage: '...', }, - cyno: { - name: 'Cyno', + kamisato_ayaka: { + name: 'Kamisato Ayaka', rarity: 'legendary', count: 0, average: '...', percentage: '...', }, }; - const bannerId = 300044; - const image = 'dehya_cyno.png'; + const bannerId = 300045; + const image = 'shenhe_ayaka.png'; const width = 800; - const height = 519; + const height = 402; let loading = true; let user = ''; diff --git a/src/routes/index.svelte b/src/routes/index.svelte index e9209411..5c6c41a1 100644 --- a/src/routes/index.svelte +++ b/src/routes/index.svelte @@ -1,6 +1,6 @@