السلام عليكم ورحمة الله وبركاته
اضافه مهمه لبعض الناس ازاي تضيف الخشب الي بيبا في التون
وكل لما تضربه يديك سي بي الي تحدهه
افتح ملف الهاندل بتاع الاتاك وابحث عن
كود:
if (attacker.MapID == 1509)
فقيه حط دول
كود:
#region Satke Cps - Th3-Future.com / Mayer Amir
if (attacker.MapID == 1002)
{
if (attacked.UID == 6458)
{
attacked.Die(attacker);
{
if (Kernel.Rate(100))
{
Random R = new Random();
int Nr = R.Next(1, 5);
if (Nr == 1)
{
// killer.Money += 1000;
attacker.ConquerPoints += 100;
attacker.Owner.LoadItemStats();
attacker.Owner.Send(new Network.GamePackets.Message("Has Get 100 Cps #00 .", System.Drawing.Color.DarkBlue, 255));
}
if (Nr == 2)
{
// killer.Money += 1000;
attacker.ConquerPoints += 200;
attacker.Owner.LoadItemStats();
attacker.Owner.Send(new Network.GamePackets.Message("Has Get 200 CPs #38#37#37 .", System.Drawing.Color.DarkBlue, 255));
}
if (Nr == 3)
{
// killer.Money += 1000;
attacker.ConquerPoints += 300;
attacker.Owner.LoadItemStats();
attacker.Owner.Send(new Network.GamePackets.Message("Has Get 300 CPs #38#37#37 .", System.Drawing.Color.DarkBlue, 255));
}
if (Nr == 4)
{
// killer.Money += 1000;
attacker.ConquerPoints += 400;
attacker.Owner.LoadItemStats();
attacker.Owner.Send(new Network.GamePackets.Message("Has Get 400 CPs #38#37#37 .", System.Drawing.Color.DarkBlue, 255));
}
if (Nr == 5)
{
// killer.Money += 1000;
attacker.ConquerPoints += 500;
attacker.Owner.LoadItemStats();
attacker.Owner.Send(new Network.GamePackets.Message("Has Get 500 CPs #38#37#37 .", System.Drawing.Color.DarkBlue, 255));
}
}
}
}
}
#endregion
لو عايز تحدد الانبي سي الي ياخده الاعب لكل ضربه يضربه للخشب يب ا من هنا
كود:
attacker.ConquerPoints += 400;
400 ده عدد السي بي الي ياخده الاعب لما يضرب الخشب
في القاعده
sobnpc
كود:
292 327 1002 1500 21 Lv125Stake 6458
ضيف دول ولو عايز تعمل وحده تاني غيره يبا تبداء من بداية الشرح