From 9264aa6383d87f4e4251645b5073bdbe0a997078 Mon Sep 17 00:00:00 2001 From: starknetdev Date: Fri, 27 Oct 2023 01:47:50 +0100 Subject: [PATCH] fix beast names --- ui/src/app/lib/utils/processData.ts | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/ui/src/app/lib/utils/processData.ts b/ui/src/app/lib/utils/processData.ts index 57d8561f1..7ca9d8972 100644 --- a/ui/src/app/lib/utils/processData.ts +++ b/ui/src/app/lib/utils/processData.ts @@ -590,15 +590,15 @@ export function processData( attackedBeastEvent.adventurerState["adventurer"]["beastHealth"], beastLevel: attackedBeastEvent.beastSpecs["level"], special1: - gameData.ITEM_NAME_PREFIXES[ + gameData.ITEM_SUFFIXES[ attackedBeastEvent.beastSpecs["specials"]["special1"] ], special2: - gameData.ITEM_NAME_SUFFIXES[ + gameData.ITEM_NAME_PREFIXES[ attackedBeastEvent.beastSpecs["specials"]["special2"] ], special3: - gameData.ITEM_SUFFIXES[ + gameData.ITEM_NAME_SUFFIXES[ attackedBeastEvent.beastSpecs["specials"]["special3"] ], seed: attackedBeastEvent.seed, @@ -632,15 +632,15 @@ export function processData( attackedByBeastEvent.adventurerState["adventurer"]["beastHealth"], beastLevel: attackedByBeastEvent.beastSpecs["level"], special1: - gameData.ITEM_NAME_PREFIXES[ + gameData.ITEM_SUFFIXES[ attackedByBeastEvent.beastSpecs["specials"]["special1"] ], special2: - gameData.ITEM_NAME_SUFFIXES[ + gameData.ITEM_NAME_PREFIXES[ attackedByBeastEvent.beastSpecs["specials"]["special2"] ], special3: - gameData.ITEM_SUFFIXES[ + gameData.ITEM_NAME_SUFFIXES[ attackedByBeastEvent.beastSpecs["specials"]["special3"] ], seed: attackedByBeastEvent.seed, @@ -717,15 +717,15 @@ export function processData( fleeFailedEvent.adventurerState["adventurer"]["beastHealth"], beastLevel: fleeFailedEvent.beastSpecs["level"], special1: - gameData.ITEM_NAME_PREFIXES[ + gameData.ITEM_SUFFIXES[ fleeFailedEvent.beastSpecs["specials"]["special1"] ], special2: - gameData.ITEM_NAME_SUFFIXES[ + gameData.ITEM_NAME_PREFIXES[ fleeFailedEvent.beastSpecs["specials"]["special2"] ], special3: - gameData.ITEM_SUFFIXES[ + gameData.ITEM_NAME_SUFFIXES[ fleeFailedEvent.beastSpecs["specials"]["special3"] ], seed: fleeFailedEvent.seed, @@ -759,15 +759,15 @@ export function processData( fleeSucceededEvent.adventurerState["adventurer"]["beastHealth"], beastLevel: fleeSucceededEvent.beastSpecs["level"], special1: - gameData.ITEM_NAME_PREFIXES[ + gameData.ITEM_SUFFIXES[ fleeSucceededEvent.beastSpecs["specials"]["special1"] ], special2: - gameData.ITEM_NAME_SUFFIXES[ + gameData.ITEM_NAME_PREFIXES[ fleeSucceededEvent.beastSpecs["specials"]["special2"] ], special3: - gameData.ITEM_SUFFIXES[ + gameData.ITEM_NAME_SUFFIXES[ fleeSucceededEvent.beastSpecs["specials"]["special3"] ], seed: fleeSucceededEvent.seed,