case 1000000:
case 1000010:
case 1000020:
case 1000030:
case 1002000:
case 1002010:
case 1002020:
case 1002050:
case 1000040:
case 725065:
#region Medicine // By matrix
case 1000000:
case 1000010:
case 1000020:
case 1000030:
case 1002000:
case 1002010:
case 1002020:
case 1002050:
case 1000040:
case 725065:
{
if (Time32.Now > client.Entity.Hdplayer.AddMilliseconds(150))
{
//("ss");
if (client.Entity.NoDrugsTime > 0)
{
if (Time32.Now > client.Entity.NoDrugsStamp.AddSeconds(client.Entity.NoDrugsTime))
{
client.Entity.NoDrugsTime = 0;
}
else
{
return;
}
}
if (client.Entity.Hitpoints == client.Entity.MaxHitpoints)
{
//("ss2");
return;
}
//("ss3");
if (client.Entity.MapID == 1811)
{
client.Entity.SendSysMesage("لا يمكنك استخدام الصحة هنا");
//Kernel.SendWorldMessage(new K7host.Network.GamePackets.Message("You Can't Use Hetitleh In This Map", System.Drawing.Color.Red , K7host.Network.GamePackets.Message.Talk), Program.GamePool);
return;
}
client.Inventory.Remove(item, Game.Enums.ItemUse.Remove);
client.Entity.Hdplayer = Time32.Now;
client.Entity.Hitpoints = Math.Min(client.Entity.Hitpoints + infos.BaseInformation.ItemHP, client.Entity.MaxHitpoints);
_String str1 = new _String(true);
str1.UID = client.Entity.UID;
str1.TextsCount = 1;
str1.Type = _String.Effect;
str1.Texts.Add("celerityliquid");
client.Entity.SendScreen(str1);
}
else
{
client.Entity.SendSysMesage("اغلق برنامج الهاكر لتفادي الحظر ");
}
break;
}
case 1001000:
case 1001010:
case 1001020:
case 1001030:
case 1001040:
case 1002030:
case 1002040:
case 725066:
{
if (client.Entity.NoDrugsTime > 0)
{
if (Time32.Now > client.Entity.NoDrugsStamp.AddSeconds(client.Entity.NoDrugsTime))
{
client.Entity.NoDrugsTime = 0;
}
else
{
return;
}
}
if (client.Entity.MapID == 1811)
{
client.Entity.SendSysMesage("لا يمكنك استخدام الصحة هنا");
//Kernel.SendWorldMessage(new K7host.Network.GamePackets.Message("You Can't Use Hetitleh In This Map", System.Drawing.Color.Red, K7host.Network.GamePackets.Message.Talk), Program.GamePool);
return;
}
if (client.Entity.Mana == client.Entity.MaxMana)
return;
client.Inventory.Remove(item, Game.Enums.ItemUse.Remove);
client.Entity.Mana = (ushort)Math.Min(client.Entity.Mana + infos.BaseInformation.ItemMP, client.Entity.MaxMana);
_String str1 = new _String(true);
str1.UID = client.Entity.UID;
str1.TextsCount = 1;
str1.Type = _String.Effect;
str1.Texts.Add("slowliquid");
client.Entity.SendScreen(str1);
break;
}
#endregion