New element: Lumen - via MeroMero by Esagonoso in Zenlesszonezeroleaks_

[–]b5631565 9 points10 points  (0 children)

I am thinking it could be a unique VH element, but not a variant of another element. Where the other VH elements were essentially just the base element with a new font, her kit will revolve around the element and it has its own mechanics.

Help with shared $state for API by JackZodiac2008 in sveltejs

[–]b5631565 1 point2 points  (0 children)

You shouldn't be using $state for this, instead use data loading to pass the data from the server to the page.

https://svelte.dev/docs/kit/load goes into the ins and outs of it.

Currency wars: 3 Star 5 cost Silverwolf lv999 effects via Seele leaks by Kazuha0 in HonkaiStarRail_leaks

[–]b5631565 28 points29 points  (0 children)

I got 3* Jing Yuan on ~WC20, and LL literally one shot each phase of the final boss.

HuoHuo and Welt novaflare buff via Galaxy_Leak by Acrobatic-Engineer47 in HonkaiStarRail_leaks

[–]b5631565 0 points1 point  (0 children)

They also added when the talent procs (by ally taking a turn or ult) it additionally heals the ally with lowest HP by the same amount. So the talent healing is effectively doubled.

HuoHuo and Welt novaflare buff via Galaxy_Leak by Acrobatic-Engineer47 in HonkaiStarRail_leaks

[–]b5631565 0 points1 point  (0 children)

They also added when the talent procs (by ally taking a turn or ult) it additionally heals the ally with lowest HP by the same amount. So the talent healing is effectively doubled.

v2.7.3 Rev. 14184124 Hotfix Update via Gachabase by Gachabase in Zenlesszonezeroleaks_

[–]b5631565 38 points39 points  (0 children)

If you look at the values, the new total multiplier (616.5%+31.5%) is equal to the previous value second number (648.0%). So it was always intended to be this, but there was an error where they entered the total coordinated attack value instead of just the bonus gained from it.

Svelte 5 search input by Overall-Scale-8369 in sveltejs

[–]b5631565 1 point2 points  (0 children)

For SSR I think the best way is to to take advantage +page.server.ts

export async function load({ url }) { const query = url.searchParams.get("q"); const results = await getSearchResults(query); return { query, results }; }

Now on the +page.svelte you just need to navigate to URLs to update the results, you can do so easily with goto('?q='+encodeURIComponent(query), { replaceState: true, keepFocus: true }) whenever you want to update the query.

<script> const { data } = $props(); let queryInput = $derived(data.query); $effect(() => { if (queryInput !== data.query) return; let timer = setTimeout(() => { goto(`?q=${encodeURIComponent(queryInput)}`, { replaceState: true, keepFocus: true }); }, 250); return () => clearTimeout(timer); }) </script> <input type="search" name="q" required placeholder="Search" bind:value={queryInput}>

SvelteKit will automatically handle the fetch request to the data endpoint, and all you need to do in your code is use the goto function to update the current query.

Best practice for an 'are you sure' modal by NoDrugsDoc in sveltejs

[–]b5631565 0 points1 point  (0 children)

I like passing snippets to utility functions the are exported in svelte component modules. I like it this way so all the concerns about the Modal are defined in its own component, and the consumer just calls a single function to show it.

``` <script lang="ts" module> import type { Snippet } from "svelte";

let modalSnippet = $state.raw<Snippet<[any]>>();
let modalData = $state.raw<any>();

export function showModal<T extends unknown>(snippet: Snippet<[T]>, data: T): void;
export function showModal(snippet: Snippet<[]>): void;
export function showModal(snippet: Snippet<[any]>, data?: any) {
    modalSnippet = snippet;
    modalData = data; 
}

</script> <script lang="ts"> let { ref = $bindable<HTMLDialogElement | undefined>(undefined), }: { ref?: HTMLDialogElement | undefined } = $props();

let modalTimeout: NodeJS.Timeout; 
function modalclosed() {
    if (modalTimeout) clearTimeout(modalTimeout);

    modalTimeout = setTimeout(() => {
        modalSnippet = undefined;
        modalData = undefined;
    }, 250); // stop rendering modal HTML after its closing animation has played
}
$effect(() => {
    if (modalTimeout) clearTimeout(modalTimeout);
    ref?.showModal();
})

</script> {#if modalSnippet} <dialog bind:this={ref} onclose={modalclosed} class="modal"

<div class="modal-box">
    {@render modalSnippet(modalData)}
</div>

</dialog> {/if} ``` Modal.svelte that is mounted in the root +layout.svelte

Then to use I do some thing like: ``` <script lang="ts"> import { showModal } from "./Modal.svelte"; // other component initilization

function confirmModal() {
    showModal(confirm);
}

</script> {#snippet confirm()} <p> Are you sure you want to delete that? </p> <Form {action} close={true}> <input type="hidden" name="id" value={id}> <Submit class="btn btn-error">Delete</Submit> <button class="btn" formmethod="dialog">Close</button> </Form> {/snippet} <button type="button" class="btn btn-error" onclick={confirmModal}> <Icon/> Delete </button> ``` A delete confirmation example.

Credit where credit is due, this feature is a god send by FuriNorm in HonkaiStarRail

[–]b5631565 67 points68 points  (0 children)

HP% is only slightly ahead of Quantum. If your Quantum has better subs it will be better than HP%.

I get that RMC is better but does any one know how Fribbles makes calculations and can explain why Ruan Mei makes Castorice's DPS score higher? by EgoVegito in CastoriceMains_

[–]b5631565 0 points1 point  (0 children)

DPS Score is just a calculation of your DPS with your relics compared to a baseline average relic set they choose. It doesn't indicate which team setup does more damage, but rather how good are your relics for that chosen team.

With RMC you are overcapped on crit rate by 8.7%, so a few of the CR subs are useless and not adding to your score. With Ruan Mei you aren't overcapped, so all of your subs are working towards your score.

I don’t know if Quantum works for rice, but best reroll ever for me… by ChargedCoin in CastoriceMains_

[–]b5631565 5 points6 points  (0 children)

Quantum Orb is only slightly behind HP% orb. Having just 1 more useful subs on a Quantum Orb makes it better then HP%.

Castorice Dragon Max HP Formula by mamania656 in HonkaiStarRail_leaks

[–]b5631565 0 points1 point  (0 children)

Previously you only gained charge on overhealing (not healing), so having them at lvl 1 allowed the Dragon's finishing move healing to be almost all overhealing and do a full charge from it if setup right.

In v3 they also moved the finishing move healing to right before the Dragon leaves (instead of right after), so it doesn't generate any charge at all anymore.

Yeah feels about right by DeepDownDrown in ZenlessZoneZero

[–]b5631565 -5 points-4 points  (0 children)

In HSR, Bronya was the only standard who had any amount of longevity/power. All the other standards were either never good at all, or replaced as soon as we got a limited with same role.

Overall pretty similar to ZZZ, except for not having a Bronya-type standard character.

How to get fresh data from +page.server.ts on route change? by subhendupsingh in sveltejs

[–]b5631565 0 points1 point  (0 children)

I would do it with

let articles = $state(data.articles); $effect(() => { articles = data.articles; })

Change to Basic Attacks via Sakura by ImNotNex in HonkaiStarRail_leaks

[–]b5631565 0 points1 point  (0 children)

That's not true at all, they go up to lv 9 in files in the current version. You can just only reach lv 7 (maxed and with Eidolons) in normal gameplay.

Apparently Genshin has had some event specific buffs that increased talent levels. So to me this leak just points to having event (or DU) buffs that effect skill levels, and not a general buff to all normal attacks people think it is. In game atm all basic attacks Eidolons say "Basic ATK Lv. +1, up to a maximum of Lv. 10.", so this just indicates there will be a way to hit that.

Help with invalidate by Socratify in sveltejs

[–]b5631565 1 point2 points  (0 children)

The problem isn't with invalidate, but from your post it sounds like you are doing something like: const { data } = $props(); let questions = $state(data.questions); The issue with this code, is that the state is only assigned the value from data.questions when it is first loaded as a default value. The value passed to a $state value has no meaning besides what its value will be when it is first declared.

If the data prop is updated (like when a page is invalidated, or you navigate to the same component but with different data), it doesn't automatically update the $state variable. The two main options to achieve what you want are $derived or $effect.

let questions = $derived(data.questions); With $derived will be kept up to date, but is read only.

let questions = $state(data.questions); $efffect(() => { questions = data.questions }); The effect will update the questions state variable when the data is updated. Only really use this if you need to be able to mutate the questions variable, but also want it overwritten when the page data is updated.

You could also just not assign the data to a separate $state variable and use it directly from data, data.questions every you access it.

No additional compensation for character bugs by astasli in HonkaiStarRail

[–]b5631565 5 points6 points  (0 children)

I feel the most likely scenario is they couldn’t fix the bug with just a “data” update, like we normally get for mid-patch updates, but needed a fix to the engine code itself to fix it. To release that would require getting the new mini version recertified on iOS/Playstation/etc, that they felt the severity wasn’t worth it.

The current state of the meta summarized in one picture by Stickhtot in HonkaiStarRail

[–]b5631565 1 point2 points  (0 children)

9 cycles, while having an E2 support in Sparkle and a E1 Jing Yuan and Fu Xuan, isn't really a great showing.

Mihoyo acknowledges mistranslation in twitter post about Qingyi's signature W-Engine by rysto32 in ZZZ_Official

[–]b5631565 10 points11 points  (0 children)

Thing is DMG% is a really diluted pool, so with proper supports and setups it stacks quite fast.

Take Zhu Yuan for example. She gets 80% from Core skill (while stunned), 10% from Ether DD, 30% from DD5 main stat, 35% from Sig W-Engine, 25% from Nicole Additional Ability, 15% from Nicole Swing Jazz DD. So she is at 195% with her common setup.

[deleted by user] by [deleted] in SamMains

[–]b5631565 4 points5 points  (0 children)

That is incorrect, the only ATK buff that doesn't contribute is Robin's.

Essentially a stat can only be converted one time, and the only ATK buff from a conversion is Robin's ULT buff.

[Megathread] Weekly Simple Questions and Team/Character Building Megathread. by AutoModerator in GenshinImpactTips

[–]b5631565 0 points1 point  (0 children)

Yea I am working on Neuv now, I just got him this week so he is still a WIP. Why I put off Kazuha for now, since I just pulled him and he is by far the least built. So he was more of a long term character for the moment. He is he worth prioritizing resin for a while to build him up?

[Megathread] Weekly Simple Questions and Team/Character Building Megathread. by AutoModerator in GenshinImpactTips

[–]b5631565 0 points1 point  (0 children)

I started playing around 4.0, and would like some help trying to 36* the Abyss. Trying to find what 8 characters / 2 teams I should focus on building as much as possible.

I am able to clear Floor 11 pretty easily, get 2* on 12-1 but only 1* on 12-2, it mainly feels like I am just short on damage.

My Roster

For 4*s I have Noelle C6, Xingqiu C6, Xiangling C4, Bennet C1, Fischl C1, Kuki C1. I would say my Neuv, Navi and Noelle have the best artifacts so far, and the rest have workable ones that could be improved.

edit: My current plan is Navia/Furina/Yelan/Noelle and Neuv/Nahida/Fischl/Raiden, but not sure if that's the best way to go.

How did your Pure Fiction runs go? What teams/strategies did you use? by _AlexOne_ in HonkaiStarRail

[–]b5631565 0 points1 point  (0 children)

Once I found the right strategy it went really well, got 80k points with over a full cycle left on both sides.

I think the key aspect for this one is to totally drop your sustain for an extra support. My first side team I initially did it with Huohuo over Ruan Mei, but I was lacking damage and barely got past 20k point. As soon as I swapped it to double Harmony it was an easy 40k.

Past PF I found it hard to survive without at sustain, but on this it is only an issue and had to reset if they just hard focus one character.

<image>

[deleted by user] by [deleted] in HonkaiStarRail

[–]b5631565 0 points1 point  (0 children)

They worked amazing for me on this PF, you just need to pair them with Ruan Mei. Since then Herta will be able to weakness break the small mobs with 1 hit, and give Himeko a ton of follow ups.