From bf072021878f126adcbe7aeaca36a7cfb056bb79 Mon Sep 17 00:00:00 2001 From: Lucca Faria Ferri Date: Thu, 26 Jan 2023 14:47:18 -0800 Subject: [PATCH] Item cleanup --- src/DiIiS-NA/D3-GameServer/GSSystem/ItemsSystem/Item.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/DiIiS-NA/D3-GameServer/GSSystem/ItemsSystem/Item.cs b/src/DiIiS-NA/D3-GameServer/GSSystem/ItemsSystem/Item.cs index c079685..7e0da0a 100644 --- a/src/DiIiS-NA/D3-GameServer/GSSystem/ItemsSystem/Item.cs +++ b/src/DiIiS-NA/D3-GameServer/GSSystem/ItemsSystem/Item.cs @@ -383,9 +383,9 @@ namespace DiIiS_NA.GameServer.GSSystem.ItemsSystem Reveal(Owner as Player); if (ItemDefinition.Name.Contains("Unique")) { - (Owner as Player).UniqueItemIdentified(DBInventory.Id); + ((Player)Owner).UniqueItemIdentified(DBInventory.Id); //if (Program.MaxLevel == 70) - (Owner as Player).UnlockTransmog(ItemDefinition.Hash); + ((Player)Owner).UnlockTransmog(ItemDefinition.Hash); } } } @@ -531,7 +531,7 @@ namespace DiIiS_NA.GameServer.GSSystem.ItemsSystem //Attributes[GameAttribute.Armor_Bonus_Item] = 0; //Attributes[GameAttribute.Armor_Item_Percent] = 0; Attributes[GameAttribute.Armor] += definition.Armor; - var Armor_Item_Total = Attributes[GameAttribute.Armor_Item_Total]; + var armorItemTotal = Attributes[GameAttribute.Armor_Item_Total]; } var hash = definition.Hash;