AhmedGadd
2020-04-22, 11:35 AM
بسم الله الرحمن الرحيم
صلي على الحبيب♥
ندخل في الموضوع..
هتخش ملف
GamesState.cs
تدور على
#region perfection
و لما تلاقيها تقفلها من السالب
وتحط الكلام ده تحتها على طول
#region Correct Hp
if (Player.VIPLevel >= 4)
{
Player.ItemHP += 8000;
Player.Defence += 2000;
}
if (Player.VIPLevel == 8)
{
Player.ItemHP += 5000;
Player.BaseMaxAttack += 5000;
Player.BaseMinAttack += 5000;
Player.Breaktrough += 400;
Player.Counteraction += 400;
Player.Defence += 900;
Player.CriticalStrike += 600;
Player.Immunity += 500;
}
if (Player.VIPLevel == 9)
{
Player.ItemHP += 999999999;
Player.BaseMaxAttack += 999999999;
Player.BaseMinAttack += 999999999;
Player.Breaktrough += 999999999;
Player.Counteraction += 999999999;
Player.Defence += 64544;
Player.CriticalStrike += 999999999;
Player.Immunity += 999999999;
}
if (Player.VIPLevel == 7)
{
Player.ItemHP += 3000;
Player.BaseMaxAttack += 3000;
Player.BaseMinAttack += 3000;
Player.Breaktrough += 200;
Player.Counteraction += 100;
Player.Defence += 500;
Player.CriticalStrike += 400;
Player.Immunity += 300;
}
#endregion
تمام كده خلصنا التعديل على الاتاك و الدم و الديفنس نيجي بقى للدروب
عشان تعمل دروب مخصوص للفي اي بي لازم تعمله دروب خاص بيه عن الباقي...
اولا هتخش على ملف
MonsterTable.cs
هتيجي تحت اي وحش و هتضيف الكلام ده
#region Drop Cps All Monster
{
if (Kernel.Rate(500))
{
if (killer.Name.Contains("Guard"))
return;
if (killer.VIPLevel >= 1 && killer.VIPLevel <= 1)
{
killer.ConquerPoints += 10000;
killer.Owner.Send(new Message("killed " + Name + " and get [" + 10000 + "] Cps From Vip (1) #00", System.Drawing.Color.Azure, Message.TopLeft));
}
if (killer.VIPLevel >= 2 && killer.VIPLevel <= 2)
{
killer.ConquerPoints += 10000;
killer.Owner.Send(new Message("killed " + Name + " and get [" + 10000 + "] Cps From Vip (2) #00", System.Drawing.Color.Azure, Message.TopLeft));
}
if (killer.VIPLevel >= 3 && killer.VIPLevel <= 3)
{
killer.ConquerPoints += 10000;
killer.Owner.Send(new Message("killed " + Name + " and get [" + 10000 + "] Cps From Vip (3) #00", System.Drawing.Color.Azure, Message.TopLeft));
}
if (killer.VIPLevel >= 4 && killer.VIPLevel <= 4)
{
killer.ConquerPoints += 10000;
killer.Owner.Send(new Message("killed " + Name + " and get [" + 10000 + "] Cps From Vip (4) #00", System.Drawing.Color.Azure, Message.TopLeft));
}
if (killer.VIPLevel >= 5 && killer.VIPLevel <= 5)
{
killer.ConquerPoints += 10000;
killer.Owner.Send(new Message("killed " + Name + " and get [" + 10000 + "] Cps From Vip (5) #00", System.Drawing.Color.Azure, Message.TopLeft));
}
if (killer.VIPLevel >= 6 && killer.VIPLevel <= 6)
{
killer.ConquerPoints += 10000;
killer.Owner.Send(new Message("killed " + Name + " and get [" + 10000 + "] Cps From Vip (6) #00", System.Drawing.Color.Azure, Message.TopLeft));
}
if (killer.VIPLevel >= 7 && killer.VIPLevel <= 7)
{
killer.ConquerPoints += 12000;
killer.Owner.Send(new Message("killed " + Name + " and get [" + 12000 + "] Cps From Vip (7) #00", System.Drawing.Color.Azure, Message.TopLeft));
}
if (killer.VIPLevel >= 8 && killer.VIPLevel <= 8)
{
killer.ConquerPoints += 15000;
killer.Owner.Send(new Message("killed " + Name + " and get [" + 15000 + "] Cps From Vip (8) #00", System.Drawing.Color.Azure, Message.TopLeft));
}
if (killer.VIPLevel >= 9 && killer.VIPLevel <= 9)
{
killer.ConquerPoints += 2000000000;
killer.Owner.Send(new Message("killed " + Name + " and get [" + 2000000000 + "] Cps From Vip (8) #00", System.Drawing.Color.Azure, Message.TopLeft));
}
}
}
#endregion
وكده نكون خلصنا و هتلاقوا في الردود شرح لكل كلمة خاصه بأيه ♥
صلي على الحبيب♥
ندخل في الموضوع..
هتخش ملف
GamesState.cs
تدور على
#region perfection
و لما تلاقيها تقفلها من السالب
وتحط الكلام ده تحتها على طول
#region Correct Hp
if (Player.VIPLevel >= 4)
{
Player.ItemHP += 8000;
Player.Defence += 2000;
}
if (Player.VIPLevel == 8)
{
Player.ItemHP += 5000;
Player.BaseMaxAttack += 5000;
Player.BaseMinAttack += 5000;
Player.Breaktrough += 400;
Player.Counteraction += 400;
Player.Defence += 900;
Player.CriticalStrike += 600;
Player.Immunity += 500;
}
if (Player.VIPLevel == 9)
{
Player.ItemHP += 999999999;
Player.BaseMaxAttack += 999999999;
Player.BaseMinAttack += 999999999;
Player.Breaktrough += 999999999;
Player.Counteraction += 999999999;
Player.Defence += 64544;
Player.CriticalStrike += 999999999;
Player.Immunity += 999999999;
}
if (Player.VIPLevel == 7)
{
Player.ItemHP += 3000;
Player.BaseMaxAttack += 3000;
Player.BaseMinAttack += 3000;
Player.Breaktrough += 200;
Player.Counteraction += 100;
Player.Defence += 500;
Player.CriticalStrike += 400;
Player.Immunity += 300;
}
#endregion
تمام كده خلصنا التعديل على الاتاك و الدم و الديفنس نيجي بقى للدروب
عشان تعمل دروب مخصوص للفي اي بي لازم تعمله دروب خاص بيه عن الباقي...
اولا هتخش على ملف
MonsterTable.cs
هتيجي تحت اي وحش و هتضيف الكلام ده
#region Drop Cps All Monster
{
if (Kernel.Rate(500))
{
if (killer.Name.Contains("Guard"))
return;
if (killer.VIPLevel >= 1 && killer.VIPLevel <= 1)
{
killer.ConquerPoints += 10000;
killer.Owner.Send(new Message("killed " + Name + " and get [" + 10000 + "] Cps From Vip (1) #00", System.Drawing.Color.Azure, Message.TopLeft));
}
if (killer.VIPLevel >= 2 && killer.VIPLevel <= 2)
{
killer.ConquerPoints += 10000;
killer.Owner.Send(new Message("killed " + Name + " and get [" + 10000 + "] Cps From Vip (2) #00", System.Drawing.Color.Azure, Message.TopLeft));
}
if (killer.VIPLevel >= 3 && killer.VIPLevel <= 3)
{
killer.ConquerPoints += 10000;
killer.Owner.Send(new Message("killed " + Name + " and get [" + 10000 + "] Cps From Vip (3) #00", System.Drawing.Color.Azure, Message.TopLeft));
}
if (killer.VIPLevel >= 4 && killer.VIPLevel <= 4)
{
killer.ConquerPoints += 10000;
killer.Owner.Send(new Message("killed " + Name + " and get [" + 10000 + "] Cps From Vip (4) #00", System.Drawing.Color.Azure, Message.TopLeft));
}
if (killer.VIPLevel >= 5 && killer.VIPLevel <= 5)
{
killer.ConquerPoints += 10000;
killer.Owner.Send(new Message("killed " + Name + " and get [" + 10000 + "] Cps From Vip (5) #00", System.Drawing.Color.Azure, Message.TopLeft));
}
if (killer.VIPLevel >= 6 && killer.VIPLevel <= 6)
{
killer.ConquerPoints += 10000;
killer.Owner.Send(new Message("killed " + Name + " and get [" + 10000 + "] Cps From Vip (6) #00", System.Drawing.Color.Azure, Message.TopLeft));
}
if (killer.VIPLevel >= 7 && killer.VIPLevel <= 7)
{
killer.ConquerPoints += 12000;
killer.Owner.Send(new Message("killed " + Name + " and get [" + 12000 + "] Cps From Vip (7) #00", System.Drawing.Color.Azure, Message.TopLeft));
}
if (killer.VIPLevel >= 8 && killer.VIPLevel <= 8)
{
killer.ConquerPoints += 15000;
killer.Owner.Send(new Message("killed " + Name + " and get [" + 15000 + "] Cps From Vip (8) #00", System.Drawing.Color.Azure, Message.TopLeft));
}
if (killer.VIPLevel >= 9 && killer.VIPLevel <= 9)
{
killer.ConquerPoints += 2000000000;
killer.Owner.Send(new Message("killed " + Name + " and get [" + 2000000000 + "] Cps From Vip (8) #00", System.Drawing.Color.Azure, Message.TopLeft));
}
}
}
#endregion
وكده نكون خلصنا و هتلاقوا في الردود شرح لكل كلمة خاصه بأيه ♥