From 5b21c560d6d41f51399d00dce06eef8f182d3532 Mon Sep 17 00:00:00 2001 From: Gavin McDonald Date: Wed, 23 Apr 2025 15:44:36 -0400 Subject: [PATCH] update card info ordering --- tools/getCardInfo.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/getCardInfo.ts b/tools/getCardInfo.ts index 072ec52..72a21ee 100644 --- a/tools/getCardInfo.ts +++ b/tools/getCardInfo.ts @@ -19,15 +19,15 @@ export default function getTooltip( if (isHighCard(card)) { // High deck ally if (position.id === 'ally') { - if (dm) text.push(`Ally: ${card.prophecy.allies[0].ally}`); - if (dm) text.push(card.prophecy.allies[0].dmText); if (dm || settings.prophecy) text.push(card.prophecy.allies[0].playerText); + if (dm) text.push(card.prophecy.allies[0].dmText); + if (dm) text.push(`Ally: ${card.prophecy.allies[0].ally}`); } // High deck Strahd if (position.id === 'strahd') { - if (dm) text.push(card.prophecy.strahd.dmText); if (dm || settings.prophecy) text.push(card.prophecy.strahd.playerText); + if (dm) text.push(card.prophecy.strahd.dmText); } }