From 0bc246641d455fd10bbfc7df1ca4e7b14417fe4c Mon Sep 17 00:00:00 2001 From: Justin Edmund Date: Sat, 13 Jan 2024 11:22:34 -0800 Subject: [PATCH] Add support for weapon transcendence --- components/extra/ExtraWeaponsGrid/index.tsx | 3 + components/weapon/WeaponGrid/index.tsx | 130 +++++++++++++++++++- components/weapon/WeaponUnit/index.tsx | 14 ++- 3 files changed, 141 insertions(+), 6 deletions(-) diff --git a/components/extra/ExtraWeaponsGrid/index.tsx b/components/extra/ExtraWeaponsGrid/index.tsx index 00874b65..00b3ffbf 100644 --- a/components/extra/ExtraWeaponsGrid/index.tsx +++ b/components/extra/ExtraWeaponsGrid/index.tsx @@ -17,6 +17,7 @@ interface Props { removeWeapon: (id: string) => void updateObject: (object: SearchableObject, position: number) => void updateUncap: (id: string, position: number, uncap: number) => void + updateTranscendence: (id: string, position: number, stage: number) => void } // Constants @@ -29,6 +30,7 @@ const ExtraWeaponsGrid = ({ removeWeapon, updateObject, updateUncap, + updateTranscendence, }: Props) => { return (