منتدي اكواد

منتدي اكواد (https://code.vpscairo.com/index.php)
-   تطوير سيرفرات كونكر (https://code.vpscairo.com/forumdisplay.php?f=11)
-   -   npc تنيظم البونتيات (https://code.vpscairo.com/showthread.php?t=572)

محمد ياسر 2019-06-30 08:22 AM

npc تنيظم البونتيات
 

السلام عليكم ورحمة الله وبركاته
معانا اليوم انبي سي بيتظم بوتيات علي حسب الشخصية الي تختاره
في كلاس npcs.cs
ضيف دول
كود PHP:

#region Npc Format Points
                
case 777555:
                    {
                        switch (
npcRequest.OptionID)
                        {
                            case 
0:
                                {
                                    
dialog.Text("Hello Dear player I can swear to you that your points in the Strength , Vitality , Agility , Spirit Do you want to chose your own class and leave the rest Or COnntact With Me 0100 265 15 12");
                                    
dialog.Option("Monk Points"1);
                                    
dialog.Option("Ninja Points"2);
                                    
dialog.Option("Taoist Points"3);
                                    
dialog.Option("Archer Points"4);
                                    
dialog.Option("Wariorr Points"5);
                                    
dialog.Option("Trojan Points"6);
                                    
dialog.Option("Pirate Points"7);
                                    
dialog.Option("Full HP"8);
                                    
dialog.Option("Wait a minute."255);
                                    
dialog.Send();
                                    break;
                                }
                            case 
1:
                                {
                                    if (
client.Entity.Level == 140)
                                    {
                                        if (
client.Entity.ConquerPoints >= 1)
                                        {
                                            
client.Entity.ConquerPoints -= 1;
                                            
client.Entity.Strength 119;
                                            
client.Entity.Vitality 73;
                                            
client.Entity.Agility 36;
                                            
client.Entity.Spirit 0;
                                            
client.Entity.Atributes 310;
                                        }
                                        else
                                        {
                                            
dialog.Text("Are you trying to fuck with me? you are not a VIP Lev6 or not Lev140+ player..fuck off!");
                                            
dialog.Option("Uh!"255);
                                            
dialog.Send();
                                        }
                                    }
                                    else
                                    {

                                        
dialog.Text("Please take 1 cps ");
                                        
dialog.Option("I see."255);
                                        
dialog.Avatar(116);
                                        
dialog.Send();
                                    }
                                    break;
                                }
                            case 
2:
                                {
                                    if (
client.Entity.Level == 140)
                                    {
                                    if (
client.Entity.ConquerPoints >= 1)
                                    {
                                        
client.Entity.ConquerPoints -= 1;
                                        
client.Entity.Strength 34;
                                        
client.Entity.Vitality 100;
                                        
client.Entity.Agility 275;
                                        
client.Entity.Spirit 20;
                                        
client.Entity.Atributes 109;
                                    }
                                    else
                                    {
                                        
dialog.Text("Are you trying to fuck with me? you are not a VIP Lev6 or not Lev140+ player..fuck off!");
                                        
dialog.Option("Uh!"255);
                                        
dialog.Send();
                                    }
                                    }
                                    else
                                    {

                                        
dialog.Text("Please take 1 cps ");
                                        
dialog.Option("I see."255);
                                        
dialog.Avatar(116);
                                        
dialog.Send();
                                    }
                                    break;
                                }
                            case 
3:
                                {
                                    if (
client.Entity.Level == 140)
                                    {
                                    if (
client.Entity.ConquerPoints >= 1)
                                    {
                                        
client.Entity.ConquerPoints -= 1;

                                        
client.Entity.Strength 0;
                                        
client.Entity.Vitality 60;
                                        
client.Entity.Agility 100;
                                        
client.Entity.Spirit 250;
                                        
client.Entity.Atributes 128;
                                    }
                                    else
                                    {
                                        
dialog.Text("Are you trying to fuck with me? you are not a VIP Lev6 or not Lev140+ player..fuck off!");
                                        
dialog.Option("Uh!"255);
                                        
dialog.Send();
                                    }
                                    }
                                    else
                                    {

                                        
dialog.Text("Please take 1 cps ");
                                        
dialog.Option("I see."255);
                                        
dialog.Avatar(116);
                                        
dialog.Send();
                                    }
                                    break;
                                }
                            case 
5:
                                {
                                    if (
client.Entity.Level == 140)
                                    {
                                    if (
client.Entity.ConquerPoints >= 1)
                                    {
                                        
client.Entity.ConquerPoints -= 1;
                                        
client.Entity.Strength 176;
                                        
client.Entity.Vitality 100;
                                        
client.Entity.Agility 50;
                                        
client.Entity.Spirit 80;
                                        
client.Entity.Atributes 132;
                                    }
                                    else
                                    {
                                        
dialog.Text("Are you trying to fuck with me? you are not a VIP Lev6 or not Lev140+ player..fuck off!");
                                        
dialog.Option("Uh!"255);
                                        
dialog.Send();
                                    }
                                    }
                                    else
                                    {

                                        
dialog.Text("Please take 1 cps ");
                                        
dialog.Option("I see."255);
                                        
dialog.Avatar(116);
                                        
dialog.Send();
                                    }
                                    break;
                                }
                            case 
6:
                                {
                                    if (
client.Entity.Level == 140)
                                    {
                                    if (
client.Entity.ConquerPoints >= 1)
                                    {
                                        
client.Entity.ConquerPoints -= 1;
                                        
client.Entity.Strength 176;
                                        
client.Entity.Vitality 300;
                                        
client.Entity.Agility 40;
                                        
client.Entity.Spirit 20;
                                        
client.Entity.Atributes 2;
                                    }
                                    else
                                    {
                                        
dialog.Text("Are you trying to fuck with me? you are not a VIP Lev6 or not Lev140+ player..fuck off!");
                                        
dialog.Option("Uh!"255);
                                        
dialog.Send();
                                    }
                                    }
                                    else
                                    {

                                        
dialog.Text("Please take 1 cps ");
                                        
dialog.Option("I see."255);
                                        
dialog.Avatar(116);
                                        
dialog.Send();
                                    }
                                    break;
                                }
                            case 
7:
                                {
                                    if (
client.Entity.Level == 140)
                                    {
                                    if (
client.Entity.ConquerPoints >= 1)
                                    {
                                        
client.Entity.ConquerPoints -= 1;
                                        
client.Entity.Strength 176;
                                        
client.Entity.Vitality 150;
                                        
client.Entity.Agility 50;
                                        
client.Entity.Spirit 20;
                                        
client.Entity.Atributes 122;
                                    }
                                    else
                                    {
                                        
dialog.Text("Are you trying to fuck with me? you are not a VIP Lev6 or not Lev140+ player..fuck off!");
                                        
dialog.Option("Uh!"255);
                                        
dialog.Send();
                                    }
                                    }
                                    else
                                    {

                                        
dialog.Text("Please take 1 cps ");
                                        
dialog.Option("I see."255);
                                        
dialog.Avatar(116);
                                        
dialog.Send();
                                    }
                                    break;
                                }
                            case 
8:
                                {
                                    if (
client.Entity.Level == 140)
                                    {
                                    if (
client.Entity.ConquerPoints >= 1)
                                    {
                                        
client.Entity.ConquerPoints -= 1;
                                        
client.Entity.Strength 0;
                                        
client.Entity.Vitality 538;
                                        
client.Entity.Agility 0;
                                        
client.Entity.Spirit 0;
                                        
client.Entity.Atributes 0;
                                    }
                                    else
                                    {
                                        
dialog.Text("Are you trying to fuck with me? you are not a VIP Lev6 or not Lev140+ player..fuck off!");
                                        
dialog.Option("Uh!"255);
                                        
dialog.Send();
                                    }
                                    }
                                    else
                                    {

                                        
dialog.Text("Please take 1 cps ");
                                        
dialog.Option("I see."255);
                                        
dialog.Avatar(116);
                                        
dialog.Send();
                                    }
                                    break;
                                }
                            case 
4:
                                {
                                    if (
client.Entity.Level == 140)
                                    {
                                    if (
client.Entity.ConquerPoints >= 1)
                                    {
                                        
client.Entity.ConquerPoints -= 1;
                                        
client.Entity.Strength 100;
                                        
client.Entity.Vitality 70;
                                        
client.Entity.Agility 250;
                                        
client.Entity.Spirit 170;
                                        
client.Entity.Atributes 118;
                                    }
                                    else
                                    {
                                        
dialog.Text("Are you trying to fuck with me? you are not a VIP Lev6 or not Lev140+ player..fuck off!");
                                        
dialog.Option("Uh!"255);
                                        
dialog.Send();
                                    }
                                    }
                                    else
                                    {

                                        
dialog.Text("Please take 1 cps ");
                                        
dialog.Option("I see."255);
                                        
dialog.Avatar(116);
                                        
dialog.Send();
                                    }
                                    break;
                                }
                        }
                        break;
                    }
                
#endregion Npc Format Points 


MohamedModyAdel 2019-06-30 11:50 AM

رد: npc تنيظم البونتيات
 
جميل


الساعة الآن 04:42 PM

مرحبا بكم في منتدي اكواد لتطوير الالعاب