Disable potion consumption on use
This commit is contained in:
parent
e65446a734
commit
a489b22d68
@ -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;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
user.block.title