كونكر عرب

كونكر عرب (https://conquer-arab.com/index.php)
-   تطوير سيرفرات كونكر (https://conquer-arab.com/forumdisplay.php?f=11)
-   -   Npc عمل ابجريد لتور والفانه والجرمينت (https://conquer-arab.com/showthread.php?t=960)

Hazem 2019-07-23 06:10 PM

Npc عمل ابجريد لتور والفانه والجرمينت
 

عفواً لايمكن عرض الروابط إلا بعد الرد على الموضوع
حط الانبي سي ده في السورس
كود PHP:

#region New Garments by karim.slasher
                
case 802:
                    {
                        switch (
npcRequest.OptionID)
                        {
                            case 
0:
                                {
                                    
                                    
dialog.Text("Hey there im the new master upgrading your Garment for " + Database.rates.DamageGarment + " CPS and Talismans for " + Database.rates.DamageTails + " Cps each Talisman, What would you want?");
                                    
dialog.Text("They will be Enchanted with 255, and blessed -7.");
                                    
dialog.Option("Garment.", 1);
                                    
dialog.Option("HeavenFan.", 2);
                                    
dialog.Option("StarTower.", 3);
                                    
dialog.Option("Nothing, Have a good day.", 255);
                                    
dialog.Send();
                                    break;
                                }
                            case 
1:
                                {
                                    if (
client.Entity.ConquerPoints >= Database.rates.DamageGarment)
                                    {
                                        
IConquerItem i = client.Equipment.TryGetItem(ConquerItem.Garment);
                                        if (
i != null)
                                        {
                                            if (
i.Bless != 7)
                                            {
                                                
client.Entity.ConquerPoints -= Database.rates.DamageGarment;

                                                
i.Bless = 7;
                                                
i.Enchant = 255;
                                                
ConquerItemTable.UpdateBless(i);
                                                
ConquerItemTable.UpdateEnchant(i);

                                                
i.Send(client);
                                                
dialog.Text("Sucess your item is now -7 255 HP Check for your self.");
                                                
dialog.Option("Thanks.", 255);
                                            }
                                            else
                                            {
                                                
dialog.Text("your item already -7 Hp 255");
                                                
dialog.Option("Ahh sorry.", 255);
                                            }
                                        }
                                        else
                                        {
                                            
dialog.Text("Please Equip Your Garment First");
                                            
dialog.Option("Ahh sorry.", 255);
                                        }
                                    }
                                    else
                                    {
                                        
dialog.Text("Please come back to me with " + Database.rates.DamageGarment + " Conquer Points.");
                                        
dialog.Option("Ahh sorry.", 255);
                                    }
                                    break;
                                }
                            case 
2:
                            case 
3:
                                {
                                    if (
client.Entity.ConquerPoints >= Database.rates.DamageTails)
                                    {
                                        
IConquerItem i = client.Equipment.TryGetItem(npcRequest.OptionID == 2 ? ConquerItem.Fan : ConquerItem.Tower);
                                        if (
i != null)
                                        {
                                            if (
i.Bless != 7)
                                            {
                                                
client.Entity.ConquerPoints -= Database.rates.DamageTails;

                                                
i.Bless = 7;
                                                
i.Enchant = 255;
                                                
ConquerItemTable.UpdateBless(i);
                                                
ConquerItemTable.UpdateEnchant(i);

                                                
i.Send(client);
                                                
dialog.Text("Sucess your item is now -7 255 HP Check for your self.");
                                                
dialog.Option("Thanks.", 255);
                                            }
                                            else
                                            {
                                                
dialog.Text("your item already -7 Hp 255");
                                                
dialog.Option("Ahh sorry.", 255);
                                            }
                                        }
                                        else
                                        {
                                            
dialog.Text(npcRequest.OptionID == 2 ? "Please Equip Your HeavenFan First." : "Please Equip your StarTower First.");
                                            
dialog.Option("Ahh sorry.", 255);
                                        }
                                    }
                                    else
                                    {
                                        
dialog.Text("Please come back to me with " + Database.rates.DamageTails + " Conquer Points.");
                                        
dialog.Option("Ahh sorry.", 255);
                                    }
                                    break;
                                }
                        }
                        break;
                    }
                
#endregion 

وده في النفي كات
كود PHP:

802    0    0    TalismanGarment    2    50120    -1    1002    412    400    0    0    0    0    0    0    0    0    0    0    0    0        0    0    0    0    0 


virus7x 2019-07-23 06:24 PM

رد: Npc عمل ابجريد لتور والفانه والجرمينت
 


كلمه إبداع لاتكفي للمحتوي :o


Rider 2019-07-23 08:02 PM

رد: Npc عمل ابجريد لتور والفانه والجرمينت
 
عاش <3

MohamedModyAdel 2019-07-23 11:42 PM

رد: Npc عمل ابجريد لتور والفانه والجرمينت
 
حلو


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

مرحبا بكم في منتدي اكواد لتطوير الالعاب
new notificatio by 9adq_ala7sas