احصائياتى

الردود
1

المشاهدات
608
 
Hazem
.:: المدير العام::.

    غير متواجد

المشاركات
2,309

+التقييم
0.84

تاريخ التسجيل
Apr 2019

الاقامة
Egypt

نظام التشغيل
windows 7

رقم العضوية
1
2019-04-18, 10:52 AM
المشاركة 1
2019-04-18, 10:52 AM
المشاركة 1
Post npc Change Class
npc تغير الشخصيه

وانا انصح انه يكون للجي ام فقط لانه بيحافظ علي اسكلات الشخصيه الي كان فيه قبل ما يغيرها

فخليه للجي ام يغير بسرعه

ضيفهم في

NPCS.CS


كود:
#region Change Class
                
case 96326:
                    {
                        switch (
npcRequest.OptionID)
                        {
                            case 
0:
                                {
                                    
dialog.Text("Hey there " + client.Entity.Name + " Would you like to Change Your Class?");
                                    
dialog.Option("Monk", 1);
                                    
dialog.Option("Ninja", 2);
                                    
dialog.Option("Trojan", 3);
                                    
dialog.Option("Fire", 4);
                                    
dialog.Option("Water", 5);
                                    
dialog.Option("LeeLong", 6);
                                    
dialog.Option("Worior", 7);
                                    
dialog.Option("Archer", 8);
                                    
dialog.Option("Pairte", 9);
                                    
dialog.Option("Not now.", 255);
                                    
dialog.Send();
                                    break;
                                }
                            case 
1://Monk 
                                
{
                                    if (
client.Entity.ConquerPoints >= 1000000)
                                    {
                                        
client.Entity.ConquerPoints -= 1000000;
                                        
client.Entity.Class = 65;//
                                    
}
                                    else
                                    {
                                        
dialog.Text("You Don't Have 1000000 Cps Collect Cps");
                                        
dialog.Option("Sorry.", 255);
                                        
dialog.Send();
                                        break;
                                    }
                                    break;
                                }
                            case 
9://Monk 
                                
{
                                    if (
client.Entity.ConquerPoints >= 1000000)
                                    {
                                        
client.Entity.ConquerPoints -= 1000000;
                                        
client.Entity.Class = 75;// 
                                    
}
                                    else
                                    {
                                        
dialog.Text("You Don't Have 1000000 Cps Collect Cps");
                                        
dialog.Option("Sorry.", 255);
                                        
dialog.Send();
                                        break;
                                    }
                                    break;
                                }
                            case 
2://Ninja 
                                
{
                                    if (
client.Entity.ConquerPoints >= 1000000)
                                    {
                                        
client.Entity.ConquerPoints -= 1000000;
                                        
client.Entity.Class = 55;
                                    }
                                    else
                                    {
                                        
dialog.Text("You Don't Have 1000000 Cps Collect Cps");
                                        
dialog.Option("Sorry.", 255);
                                        
dialog.Send();
                                        break;
                                    }
                                    break;
                                }
                            case 
3://Trojan
                                
{
                                    if (
client.Entity.ConquerPoints >= 1000000)
                                    {
                                        
client.Entity.ConquerPoints -= 1000000;
                                        
client.Entity.Class = 15;// 
                                    
}
                                    else
                                    {
                                        
dialog.Text("You Don't Have 1000000 Cps Collect Cps");
                                        
dialog.Option("Sorry.", 255);
                                        
dialog.Send();
                                        break;
                                    }
                                    break;
                                }
                            case 
4://Fire 
                                
{
                                    if (
client.Entity.ConquerPoints >= 1000000)
                                    {
                                        
client.Entity.ConquerPoints -= 1000000;
                                        
client.Entity.Class = 145;
                                    }
                                    else
                                    {
                                        
dialog.Text("You Don't Have 1000000 Cps Collect Cps");
                                        
dialog.Option("Sorry.", 255);
                                        
dialog.Send();
                                        break;
                                    }
                                    break;
                                }
                            case 
5://Water 
                                
{
                                    if (
client.Entity.ConquerPoints >= 1000000)
                                    {
                                        
client.Entity.ConquerPoints -= 1000000;
                                        
client.Entity.Class = 135;
                                    }
                                    else
                                    {
                                        
dialog.Text("You Don't Have 1000000 Cps Collect Cps");
                                        
dialog.Option("Sorry.", 255);
                                        
dialog.Send();
                                        break;
                                    }
                                    break;
                                }
                            case 
6://LeeLong 
                                
{
                                    if (
client.Entity.ConquerPoints >= 1000000)
                                    {
                                        
client.Entity.ConquerPoints -= 1000000;
                                        
client.Entity.Class = 85;// 
                                    
}
                                    else
                                    {
                                        
dialog.Text("You Don't Have 1000000 Cps Collect Cps");
                                        
dialog.Option("Sorry.", 255);
                                        
dialog.Send();
                                        break;
                                    }
                                    break;
                                }
                            case 
7://Worior 
                                
{
                                    if (
client.Entity.ConquerPoints >= 1000000)
                                    {
                                        
client.Entity.ConquerPoints -= 1000000;
                                        
client.Entity.Class = 25;// 
                                    
}
                                    else
                                    {
                                        
dialog.Text("You Don't Have 1000000 Cps Collect Cps");
                                        
dialog.Option("Sorry.", 255);
                                        
dialog.Send();
                                        break;
                                    }
                                    break;
                                }
                            case 
8://Archer 
                                
{
                                    if (
client.Entity.ConquerPoints >= 1000000)
                                    {
                                        
client.Entity.ConquerPoints -= 1000000;
                                        
client.Entity.Class = 45;// 
                                    
}
                                    else
                                    {
                                        
dialog.Text("You Don't Have 1000000 Cps Collect Cps");
                                        
dialog.Option("Sorry.", 255);
                                        
dialog.Send();
                                        break;
                                    }
                                    break;
                                }
                        }
                        break;
                    }
                
#endregion 



قديم 2019-06-25, 10:48 PM
المشاركة 2
MohamedModyAdel
.:: عضو مميز ::.
  • غير متواجد
افتراضي رد: npc Change Class
جميل


العلامات المرجعية



الذين يشاهدون محتوى الموضوع الآن : 1 ( الأعضاء 0 والزوار 1)
 

الانتقال السريع



الساعة الآن 07:53 AM