Fix soulshard count

This commit is contained in:
Pierre-Yves Lebecq
2025-01-19 15:39:11 +01:00
parent e1a8fe48fc
commit 01cf0efd98
+1 -1
View File
@@ -1729,7 +1729,7 @@ function Necrosis_BagExplore()
-- On prend le nombre d'item en stack sur le slot
local _, ItemCount = GetContainerItemInfo(container, slot);
-- Si c'est un fragment ou une pierre infernale, alors on rajoute la qté au nombre de pierres
if itemName == NECROSIS_ITEM.Soulshard then Soulshards = Soulshards + 1; end
if itemName == NECROSIS_ITEM.Soulshard then Soulshards = Soulshards + ItemCount; end
if itemName == NECROSIS_ITEM.InfernalStone then InfernalStone = InfernalStone + ItemCount; end
if itemName == NECROSIS_ITEM.DemoniacStone then DemoniacStone = DemoniacStone + ItemCount; end
-- Si c'est une pierre d'âme, on note son existence et son emplacement