From 9b12f41e89f04db1fd4aaacd96a0bd7ccc5d3027 Mon Sep 17 00:00:00 2001 From: Evann Regnault Date: Mon, 22 Aug 2022 23:45:09 +0200 Subject: [PATCH] Added Dash Talent to Mona and Ayaka + Added property to _skillCard.svelte --- src/data/characterData/kamisato_ayaka.json | 25 ++++++++++++++++++ src/data/characterData/mona.json | 20 ++++++++++++++ src/routes/characters/[id].svelte | 3 +++ src/routes/characters/_skillCard.svelte | 11 ++++---- .../images/skills/kamisato_ayaka/talent_7.png | Bin 0 -> 3861 bytes static/images/skills/mona/talent_7.png | Bin 0 -> 4536 bytes 6 files changed, 54 insertions(+), 5 deletions(-) create mode 100644 static/images/skills/kamisato_ayaka/talent_7.png create mode 100644 static/images/skills/mona/talent_7.png diff --git a/src/data/characterData/kamisato_ayaka.json b/src/data/characterData/kamisato_ayaka.json index 33706e52..e0a83efd 100644 --- a/src/data/characterData/kamisato_ayaka.json +++ b/src/data/characterData/kamisato_ayaka.json @@ -1268,5 +1268,30 @@ ] ] ] + }, + "dashSkill": { + "name": "Kamisato Art: Senho", + "description": "Alternate Sprint\\nAyaka consumes Stamina and cloaks herself in a frozen fog that moves with her.\\n\\nIn Senho form, she moves swiftly upon water.\\nWhen she reappears, the following effects occur:\\n·Ayaka unleashes frigid energy to apply Cryo on nearby opponents.\\n·Coldness condenses around Ayaka's blade, infusing her attacks with Cryo for a brief period.\\n\\n\"Feathers fleeting wet / the white heron treads water / a sight without flaw\"", + "skillLabels": [ + "Activation Stamina Consumption", + "Stamina Drain", + "Infusion Duration" + ], + "skillStatsLabels": [ + "{0:1f}", + "{0:1f}", + "{0:1f}" + ], + "skillStats": [ + [ + [10] + ], + [ + [15] + ], + [ + [5] + ] + ] } } \ No newline at end of file diff --git a/src/data/characterData/mona.json b/src/data/characterData/mona.json index 93db95a7..31155a10 100644 --- a/src/data/characterData/mona.json +++ b/src/data/characterData/mona.json @@ -1317,5 +1317,25 @@ ] ] ] + }, + "dashSkill": { + "name": "Illusory Torrent", + "description": "Alternate Sprint\\nMona cloaks herself within the water's flow, consuming Stamina to move rapidly.\\n\\nWhen under the effect of Illusory Torrent, Mona can move at high speed on water.\\nApplies the Wet status to nearby opponents when she reappears.\\n\\nThis is something that Mona can do, but her teacher cannot. Well, but it's not as if her teacher would pursue any matter concerning Hydro Visions anyway...", + "skillLabels": [ + "Activation Stamina Consumption", + "Stamina Drain" + ], + "skillStatsLabels": [ + "{0:2f}", + "{0:2f}/s" + ], + "skillStats": [ + [ + [10] + ], + [ + [15] + ] + ] } } \ No newline at end of file diff --git a/src/routes/characters/[id].svelte b/src/routes/characters/[id].svelte index 4dacff5c..f65bebe5 100644 --- a/src/routes/characters/[id].svelte +++ b/src/routes/characters/[id].svelte @@ -735,6 +735,9 @@ + {#if data.dashSkill} + + {/if}

{$t('characters.passiveTalents')}

diff --git a/src/routes/characters/_skillCard.svelte b/src/routes/characters/_skillCard.svelte index e5aefa7d..df613529 100644 --- a/src/routes/characters/_skillCard.svelte +++ b/src/routes/characters/_skillCard.svelte @@ -4,14 +4,15 @@ import Icon from '../../components/Icon.svelte'; import { mdiChevronDown } from '@mdi/js'; - export let id; - export let image; - export let data; - export let withQuote; + export let id = ""; + export let image = ""; + export let data = {}; + export let withQuote = false; + export let withSingleLevel = false let showStat = false; - let iter = [...new Array(13)]; + let iter = [...new Array(withSingleLevel ? 1 : 13)]; const lastIndex = withQuote ? data.description.indexOf('') : data.description.length; const description = data.description.substring(0, lastIndex).replace(/\\n/g, '
').replace(/·/g, '- '); diff --git a/static/images/skills/kamisato_ayaka/talent_7.png b/static/images/skills/kamisato_ayaka/talent_7.png new file mode 100644 index 0000000000000000000000000000000000000000..034c385ffa072e3f930139b51ef10ca651e662ec GIT binary patch literal 3861 zcmZWsXHXN&)(#Lb^nid!k z5CNr%Akuq8T9A%k-kI;moqKm?_ng_C*_pFv&+|Md$poRt%)r9{005Zv;V?6bb^UjO z=qRh-;!6vPq4$H^1OfmoJ^xOsmy#^J6sJ!grezU2y_FYcfw?cx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Y@59*Ct%tld@P`k$6CmeK&i-~cx0e>(r&H>zSUSo3HV&us!RT9iH)ps#~~ Jz14P%{y)%{J&OPU literal 0 HcmV?d00001 diff --git a/static/images/skills/mona/talent_7.png b/static/images/skills/mona/talent_7.png new file mode 100644 index 0000000000000000000000000000000000000000..17ef93087aa0dd95eb57a9cf23cc3435fa4a7c68 GIT binary patch literal 4536 zcmbW5XE+;N+{P0L6*GiVT8SN1t6E!y+M^A%i9L!MwW$#rq_*07Bu07E4C+x@RXj$u z_8zU)-a>2CoA>Mc@%?bl{o!2aT<5yZ`QP{NoLA^aT8wmDbN~Q=QAbSMuq3dE4~#Fm6$#wSqw7bbRGE=<0|wU6Jgl3I?n^bo z-6!?`Y8j28418jmMY6Q&(W{prjLF+P}D9DH1p-lm$@k^BTsa6bZjgvEbM1y zW>%^Mxgofeg8~&=L=X!;Gjrk=mvX4TZN+WK(C>pE!@QY92uz4GAY0wBO3Ta3>$3IP z%pnI#k{uOlSScRg4&cM~k81(k9vb!CWML^iB$Mxl{{6FN;(KG0{6=;u>?j4W_kDNw zFSv8B?wj)ajL}+DM@NT#J3Xzvv5Cp&61cp2sr~$W_lesoY=?c|R31R1@6Ul1aCAkz z?%O8U5ij!TDV!IJq+!4uEtl(MTlV$#T1uGLe+V7Qk-B0;FngG~o%@r?jt&m7+cQml zaoGWgV>cFFzmTYvY_{DwF>Js+i z;%LMK5Li-H=0Ht%Va563#+x^9{(_^5y@lC$rfRL$9ykwVlokS`Po+u)kcxrZ!IuM> zq9Lpq@BG&CmSj;*=rC?>Za=^>o|U#>y8Y*1_7zBZ5SA|dc=z%9!vRsyjT`Ij?;)$b zN!%LF&dv?5UcI_{sX4~5XFqCzV6*Qp1)T7oe*RvjxhqCbEBl;)I2 zaQ^c~oA(OKeXfYeiHVELuSfk@6ACV(Lm6Y;cvxBQmJx{p*G=C6h8JBfcINSTe3t_> z4*4YaZnTW&Eb)vyWorW9lLcO8-?8}q8S*if6~@PiE{J~l@)|iS&sWy;VG{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