From 904c5c0df09a038c73496d496d496a487668fc23 Mon Sep 17 00:00:00 2001 From: Alexander Bocken Date: Wed, 11 Feb 2026 20:43:12 +0100 Subject: [PATCH] rosary: only show embers after 14 days, not flame --- src/lib/components/faith/FireEffect.svelte | 11 ++++++----- src/lib/components/faith/StreakAura.svelte | 4 ++-- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/src/lib/components/faith/FireEffect.svelte b/src/lib/components/faith/FireEffect.svelte index 90934b0..55384e8 100644 --- a/src/lib/components/faith/FireEffect.svelte +++ b/src/lib/components/faith/FireEffect.svelte @@ -3,9 +3,10 @@ interface Props { holy?: boolean; burst?: boolean; + fire ?: boolean; } - let { holy = false, burst = false }: Props = $props(); + let { holy = false, burst = false, fire = false}: Props = $props(); const burstParticles = [ { x: 10, y: 0, size: 8, delay: 0, dur: 1.6 }, @@ -52,22 +53,22 @@ {:else}
-
+ {#if fire}
{/if}
-
+ {#if fire}
{/if}
-
+ {#if fire}
{/if}
-
+ {#if fire}
{/if}
{/if} diff --git a/src/lib/components/faith/StreakAura.svelte b/src/lib/components/faith/StreakAura.svelte index adeac5e..bcc739e 100644 --- a/src/lib/components/faith/StreakAura.svelte +++ b/src/lib/components/faith/StreakAura.svelte @@ -54,11 +54,11 @@ {#if phase >= 2} - =4} /> + =4} fire={phase>=3}/> {/if} {#if showBurst} - =4} burst /> + =4} burst fire={phase>=3}/> {/if} {value}