diff --git a/public/assets/my.js b/public/assets/my.js index 7d7cdc2..4421d2e 100644 --- a/public/assets/my.js +++ b/public/assets/my.js @@ -1862,7 +1862,10 @@ function shareLink(ref) { return SHARE_DOMAIN && /^[A-Za-z0-9_]{1,40}$/.test(Str const card = $('gpCard'); if (!card) return; let gp = null; try { gp = await (await fetch('/api/my/gamepass')).json(); } catch (e) {} if (!gp || !(gp.enabled || gp.show)) { card.hidden = true; return; } - if ((gp.passes || []).some(r => r.tier !== 'weekly')) return renderPassTiers(card, gp, highlight); // a tier above weekly on sale (or admin preview, or a holder) + if ((gp.passes || []).some(r => r.tier !== 'weekly')) return renderPassTiers(card, gp, highlight); + // Five Dollar Friday + the pass (Marty 2026-10-23): the package that starts the pass also gets the Friday bonus, so say so on Fridays + let fdf = ''; try { const f = await (await fetch('/api/friday')).json(); if (f && f.on && f.live) { const base = gp.price || 500, got = Math.round(base * (1 + (Number(f.pct) || 20) / 100)); + fdf = '

\u{1F383} It\u2019s Five Dollar Friday. The $' + (gp.usd || 5) + ' package that starts your pass gets +' + (Number(f.pct) || 20) + '% too, so you get the ' + (gp.days || 7) + '-day pass and keep ' + got.toLocaleString() + ' ad credits. Tap Get the Pass first, then buy the package.

'; } } catch (e) {} // a tier above weekly on sale (or admin preview, or a holder) const caps = gp.caps || {}; const price = gp.price || 500; const state = gp.active ? 'Pass active \u00b7 until ' + esc(gpDate(gp.until)) + '' : gp.waiting ? 'Waiting for a $' + (gp.usd || 5) + ' package' : 'Not active'; @@ -1873,6 +1876,7 @@ function shareLink(ref) { return SHARE_DOMAIN && /^[A-Za-z0-9_]{1,40}$/.test(Str card.hidden = false; card.classList.toggle('gp-hl', !!highlight); card.innerHTML = '

\u{1F39F}\uFE0F Game Pass

$' + (gp.usd || 5) + ' for ' + (gp.days || 7) + ' days \u00b7 all nine games
' + '

' + state + '

' + + fdf + '

Free play pays real POL every day. The Pass plays more: higher daily POL caps across every game (1.50 a day on repeatable rewards instead of 0.30, 5 a day in all instead of 2), a seat in the weekly Pass Tournament with POL prizes from ' + (gp.tournament && gp.tournament.pct || 5) + '% of pass sales, extra plays and perks in each game, and the Pass badge. One pass covers your whole account, linked positions included.

' + gpPerksHtml() + '

' + capsLine + '

' diff --git a/public/my.html b/public/my.html index 7116217..fe45fd3 100644 --- a/public/my.html +++ b/public/my.html @@ -1189,7 +1189,7 @@ - +