fix: Streamlines potion drink effect (#1851)

This commit is contained in:
Kamron Batman 2024-07-03 16:29:05 -07:00 • committed by GitHub
parent d40041d631
commit cbaa349a87
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 2 additions and 44 deletions

View file

@ -1,5 +1,4 @@
using ModernUO.Serialization;
using Server.Engines.ConPVP;
namespace Server.Items;
@ -19,11 +18,6 @@ public abstract partial class BaseRefreshPotion : BasePotion
from.Stam += Scale(from, (int)(Refresh * from.StamMax));
PlayDrinkEffect(from);
if (!DuelContext.IsFreeConsume(from))
{
Consume();
}
}
else
{