منتدي اكواد

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

محمد ياسر 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 (
!= 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 == ConquerItem.Fan ConquerItem.Tower);
                                        if (
!= 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 == "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 


ابو حمزه9 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 عمل ابجريد لتور والفانه والجرمينت
 
حلو


الساعة الآن 08:24 PM

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