الايفكت كلو اكيد شافو انا قولت انزلو للافادة
افتح World.cs
تحت اي اوتو انفيت حط دة
افتح World.cs
الكود:
private void CharactersCallback
تحت اي اوتو انفيت حط دة
الكود:
#region Twin Effect
if (client.Entity.MapID == 1002)
{
if (Kernel.GetDistance(client.Entity.X, client.Entity.Y, 312, 279) < 17 && !client.Effect)
{
client.Effect = true;
if (client.Entity.MapID == 1002)
{
Network.GamePackets.FloorItem floorItem = new Network.GamePackets.FloorItem(true);
floorItem.ItemID = 1024;
floorItem.MapID = 1002;
floorItem.X = 312;
floorItem.Y = 279;
floorItem.Type = Network.GamePackets.FloorItem.Effect;
client.Send(floorItem);
}
}
else
{
if (Kernel.GetDistance(client.Entity.X, client.Entity.Y, 312, 279) > 17)
{
client.Effect = false;
}
}
}
#endregion