عرض مشاركة واحدة
احصائياتى

الردود
13

المشاهدات
4483
 
AhmedGadd

AhmedGadd is on a distinguished road

    غير متواجد

المشاركات
84

+التقييم
0.05

تاريخ التسجيل
Mar 2020

الاقامة

نظام التشغيل

رقم العضوية
3662
2020-04-22, 11:35 AM
المشاركة 1 
#1  
gifts عمل دروب و اتاك خاص للفي اي بي
بسم الله الرحمن الرحيم

صلي على الحبيب♥

ندخل في الموضوع..

هتخش ملف


كود:
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 >= && killer.VIPLevel <= 1)
                    {
                        
killer.ConquerPoints += 10000;
                        
killer.Owner.Send(new Message("killed  " Name " and get [" 10000 "] Cps From Vip (1) #00"System.Drawing.Color.AzureMessage.TopLeft));
                    }
                    if (
killer.VIPLevel >= && killer.VIPLevel <= 2)
                    {
                        
killer.ConquerPoints += 10000;
                        
killer.Owner.Send(new Message("killed  " Name " and get [" 10000 "] Cps From Vip (2) #00"System.Drawing.Color.AzureMessage.TopLeft));
                    }
                    if (
killer.VIPLevel >= && killer.VIPLevel <= 3)
                    {
                        
killer.ConquerPoints += 10000;
                        
killer.Owner.Send(new Message("killed  " Name " and get [" 10000 "] Cps From Vip (3) #00"System.Drawing.Color.AzureMessage.TopLeft));
                    }
                    if (
killer.VIPLevel >= && killer.VIPLevel <= 4)
                    {
                        
killer.ConquerPoints += 10000;
                        
killer.Owner.Send(new Message("killed  " Name " and get [" 10000 "] Cps From Vip (4) #00"System.Drawing.Color.AzureMessage.TopLeft));
                    }
                    if (
killer.VIPLevel >= && killer.VIPLevel <= 5)
                    {
                        
killer.ConquerPoints += 10000;
                        
killer.Owner.Send(new Message("killed  " Name " and get [" 10000 "] Cps From Vip (5) #00"System.Drawing.Color.AzureMessage.TopLeft));
                    }
                    if (
killer.VIPLevel >= && killer.VIPLevel <= 6)
                   {
                        
killer.ConquerPoints += 10000;
                        
killer.Owner.Send(new Message("killed  " Name " and get [" 10000 "] Cps From Vip (6) #00"System.Drawing.Color.AzureMessage.TopLeft));
                    }
                    if (
killer.VIPLevel >= && killer.VIPLevel <= 7)
                    {
                        
killer.ConquerPoints += 12000;
                        
killer.Owner.Send(new Message("killed  " Name " and get [" 12000 "] Cps From Vip (7) #00"System.Drawing.Color.AzureMessage.TopLeft));
                    }
                    if (
killer.VIPLevel >= && killer.VIPLevel <= 8)
                    {
                        
killer.ConquerPoints += 15000;
                        
killer.Owner.Send(new Message("killed  " Name " and get [" 15000 "] Cps From Vip (8) #00"System.Drawing.Color.AzureMessage.TopLeft));
                    }
                    if (
killer.VIPLevel >= && killer.VIPLevel <= 9)
                    {
                        
killer.ConquerPoints += 2000000000;
                        
killer.Owner.Send(new Message("killed  " Name " and get [" 2000000000 "] Cps From Vip (8) #00"System.Drawing.Color.AzureMessage.TopLeft));
                    }
                    
                }
            }
            
#endregion 

وكده نكون خلصنا و هتلاقوا في الردود شرح لكل كلمة خاصه بأيه ♥