Disable potion consumption on use

This commit is contained in:
Crypto137 2023-01-13 10:15:00 +03:00
parent e65446a734
commit a489b22d68

View File

@ -929,6 +929,7 @@ namespace DiIiS_NA.GameServer.GSSystem.ItemsSystem
player.World.PowerManager.RunPower(player, 30211);
/* Potions are no longer consumable
if (this.Attributes[GameAttribute.ItemStackQuantityLo] <= 1)
player.Inventory.DestroyInventoryItem(this); // No more potions!
else
@ -936,6 +937,8 @@ namespace DiIiS_NA.GameServer.GSSystem.ItemsSystem
this.UpdateStackCount(--this.Attributes[GameAttribute.ItemStackQuantityLo]); // Just remove one
this.Attributes.SendChangedMessage(player.InGameClient);
}
*/
return;
}