From 3054f0c5f3b775f97bf4fbd139b6c7601ea38581 Mon Sep 17 00:00:00 2001 From: Ben Carter Date: Sat, 24 Aug 2024 23:57:19 -0400 Subject: [PATCH] Added in armor on apply to old weapon --- internal/items/items.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/internal/items/items.go b/internal/items/items.go index ffd946d..6911967 100644 --- a/internal/items/items.go +++ b/internal/items/items.go @@ -414,6 +414,10 @@ func (item *Item) ApplyStats(otherItem Item) (success bool, err error) { item.ItemLevel = otherItem.ItemLevel + if otherItem.Armor != nil { + item.Armor = otherItem.Armor + } + return true, nil }