منتديات ايجي نت


دعم أهلنا في فلسطين

> >


منتدى سورسات كونكر تهيس .: منتدى خاص بكونكر تهيث والبريفت سيرفر , Conquer Online Private Servers :.

  #1  
05-10-2016, 08:01 PM
شرح اضافة ابيك الورير الجديد , شرح اضافه شرح اضافة الاسكلات الجديدة

سلاح ابيك الورير
شرح اضافه سلاح ابيك الورير
اضافه سلاح ابيك الورير
كونكر سلاح ابيك الورير

اضافة سلاح ابيك الورير واسكلاتة كاملة طبعا هوا نازل من فترة بس اتأخرنة عشان ننزل الاضافة كاملة على بعضها بدل ما انزل كل شية اسكلة وهكذا

قبل ما نخوش على الشرح اللى ضايف اى حاجة قبل كيدا يمسحها عشان هيضيف بتعاتنا على اضافات تانية هيعوك ومش هتشتغل وهيجبله ارور نبدأ الشرح

اول حاجة هنضيف الانبسى سى بتاع الورير

كود PHP:
#region WarriorGod
                            
case 10001:
                                {
                                    
//ShaDow
                                    
dialog.Avatar(8);
                                    switch (
npcRequest.OptionID)
                                    {
                                        case 
0:
                                            {
                                                if (
client.Entity.Class >= 20 && client.Entity.Class <= 25)
                                                {
                                                    
dialog.Text("Warriors destory the enemies and sgield the Compatriots. but remember violence is a means of attaining a goal. Never let yourself sink into killing [ShaDow-Co].");
                                                    
dialog.Option("Learn Skills for Fist."7);
                                                    
dialog.Option("Promote me."1);
                                                    
dialog.Option("Learn Shiled skills."2);
                                                    
dialog.Option("Learn Weapon skills."8);
                                                    
dialog.Option("Learn Pure skills."17);
                                                    
dialog.Option("Wait a minute."255);
                                                    
dialog.Send();
                                                }
                                                else
                                                {
                                                    
dialog.Text("Only a warrior can learn what I have to teach. Our secrets are not for trade.");
                                                    
dialog.Option("I~understand."255);
                                                    
dialog.Send();
                                                }
                                                break;
                                            }
                                        
#region Promote
                                        
case 1:
                                            {
                                                if (
client.Entity.Class >= 20 && client.Entity.Class <= 25)
                                                {
                                                    if (
client.Entity.Class == 25)
                                                    {
                                                        
dialog.Text("You cannot be promoted anymore. You have mastered your class.");
                                                        
dialog.Option("Thank you master."255);
                                                        
dialog.Send();
                                                    }
                                                    else
                                                    {
                                                        
dialog.Text("To promote now you need" client.PromoteItemNameNeed " level " client.PromoteLevelNeed ".");
                                                        
dialog.Option("Promote me sir."3);
                                                        
dialog.Send();
                                                    }
                                                }
                                                else
                                                {
                                                    
dialog.Text("I will not tell any of the warrior secrets to another class, so, good bye.");
                                                    
dialog.Option("Alright."255);
                                                    
dialog.Send();
                                                }
                                                break;
                                            }
                                        case 
3:
                                            {
                                                if (
client.Entity.Class >= 20 && client.Entity.Class <= 25)
                                                {
                                                    if (
client.Entity.Class == 25)
                                                    {
                                                        
dialog.Text("You cannot be promoted anymore. You have mastered your class.");
                                                        
dialog.Option("Thank you master."255);
                                                        
dialog.Send();
                                                    }
                                                    else
                                                    {
                                                        if (
client.PromoteItemNeed == 721020)
                                                        {
                                                            if (
client.Inventory.Remove("moonbox"))
                                                            {
                                                                
client.Inventory.Add(client.PromoteItemGain01);
                                                                
client.Entity.Class++;
                                                                
client.Entity.Update(_String.Effect"end_task"true);
                                                                
dialog.Text("Congratulations! You have been promoted.");
                                                                
dialog.Option("Thank you master."255);
                                                                
dialog.Send();
                                                            }
                                                            else
                                                            {
                                                                
dialog.Text("You don't meet the requierments.");
                                                                
dialog.Option("Ahh."255);
                                                                
dialog.Send();
                                                            }
                                                            return;
                                                        }
                                                        if (
client.Inventory.Contains(client.PromoteItemNeedclient.PromoteItemCountNeed) && client.Entity.Level >= client.PromoteLevelNeed)
                                                        {
                                                            
client.Inventory.Remove(client.PromoteItemNeedclient.PromoteItemCountNeed);
                                                            
client.Inventory.Add(client.PromoteItemGain01);
                                                            
client.Entity.Class++;
                                                            
client.Entity.Update(_String.Effect"end_task"true);
                                                            
dialog.Text("Congratulations! You have been promoted.");
                                                            
dialog.Option("Thank you master."255);
                                                            
dialog.Send();
                                                        }
                                                        else
                                                        {
                                                            
dialog.Text("You don't meet the requierments.");
                                                            
dialog.Option("Ahh."255);
                                                            
dialog.Send();
                                                        }
                                                    }
                                                }
                                                else
                                                {
                                                    
dialog.Text("I will not tell any of the warrior secrets to another class, so, good bye.");
                                                    
dialog.Option("Alright."255);
                                                    
dialog.Send();
                                                }
                                                break;
                                            }
                                        
#endregion
                                        #region all Skills
                                        
case 2:
                                            {
                                                if (
client.Entity.Class >= 20 && client.Entity.Class <= 25)
                                                {
                                                    
dialog.Text("Let me know what you want to learn.");
                                                    
dialog.Option("XP Skills (Lvl 40)."5);
                                                    
dialog.Option("Dash (Lvl 61)."6);
                                                    
dialog.Option("Shield Block (Lvl 40)."9);
                                                    
dialog.Option("Defensive Stance (Lvl 70)."10);
                                                    
dialog.Option("Magic Defender (Lvl 40)."11);
                                                    
dialog.Send();
                                                }
                                                else
                                                {
                                                    
dialog.Text("I will not tell any of the warrior secrets to another class, so, good bye.");
                                                    
dialog.Option("Alright."255);
                                                    
dialog.Send();
                                                }
                                                break;
                                            }
                                        case 
7:
                                            {
                                                if (
client.Entity.Class >= 20 && client.Entity.Class <= 25)
                                                {
                                                    
dialog.Text("If You`r interested in the skills for fist. I`m glad to give some guidance.");
                                                    
dialog.Option("Sceare of Earth. (Lv.40)."77);
                                                    
dialog.Option("Wave or Blood (Lv.40)."88);
                                                    
dialog.Option("Maniac Dance.(Lv.40)."99);
                                                    
dialog.Option("Twist of war.(Lv.70)."55);
                                                    
dialog.Option("Backfire (Lvl 40)."66);
                                                    
dialog.Send();
                                                }
                                                else
                                                {
                                                    
dialog.Text("I will not tell any of the warrior secrets to another class, so, good bye.");
                                                    
dialog.Option("Alright."255);
                                                    
dialog.Send();
                                                }
                                                break;
                                            }
                                        
#region Sceare
                                        
case 77:
                                            {
                                                if (
client.Entity.Class >= 20 && client.Entity.Class <= 25)
                                                {
                                                    if (
client.Entity.Level >= 40)
                                                    {
                                                        
dialog.Text("You have learned the Sceare of Earth of this Fist.");
                                                        
dialog.Option("Thank you master."255);
                                                        
dialog.Send();
                                                        
client.AddSpell(LearnableSpell(12670));
                                                        if (!
client.AddSpell(LearnableSpell(12670)))
                                                        {
                                                            
dialog.Text("You already know this skill.");
                                                            
dialog.Option("Thank you master."255);
                                                            
dialog.Send();
                                                        }
                                                    }
                                                    else
                                                    {
                                                        
dialog.Text("Sorry , you can't get Sceare of Earth because you are not level 40 or more.");
                                                        
dialog.Option("Alright."255);
                                                        
dialog.Send();
                                                    }
                                                }
                                                else
                                                {
                                                    
dialog.Text("I will not tell any of the Warrior secrets to another class, so, good bye.");
                                                    
dialog.Option("Alright."255);
                                                    
dialog.Send();
                                                }
                                                break;
                                            }
                                        
#endregion
                                        #region Wave or Blood
                                        
case 88:
                                            {
                                                if (
client.Entity.Class >= 20 && client.Entity.Class <= 25)
                                                {
                                                    if (
client.Entity.Level >= 70)
                                                    {
                                                        
dialog.Text("You have learned the Wave or Blood of this class.");
                                                        
dialog.Option("Thank you master."255);
                                                        
dialog.Send();
                                                        
client.AddSpell(LearnableSpell(12690));
                                                        if (!
client.AddSpell(LearnableSpell(12690)))
                                                        {
                                                            
dialog.Text("You already know this skill.");
                                                            
dialog.Option("Thank you master."255);
                                                            
dialog.Send();

                                                        }
                                                    }
                                                    else
                                                    {
                                                        
dialog.Text("Sorry , you can't get Wave or Blood because you are not level 40 or more.");
                                                        
dialog.Option("Alright."255);
                                                        
dialog.Send();
                                                    }
                                                }
                                                else
                                                {
                                                    
dialog.Text("I will not tell any of the Warrior secrets to another class, so, good bye.");
                                                    
dialog.Option("Alright."255);
                                                    
dialog.Send();
                                                }
                                                break;
                                            }
                                        
#endregion
                                        #region Maniac Dance
                                        
case 99:
                                            {
                                                if (
client.Entity.Class >= 20 && client.Entity.Class <= 25)
                                                {
                                                    if (
client.Entity.Level >= 40)
                                                    {
                                                        
dialog.Text("You have learned the Maniac Dance of this class.");
                                                        
dialog.Option("Thank you master."255);
                                                        
dialog.Send();
                                                        
client.AddSpell(LearnableSpell(12700));
                                                        if (!
client.AddSpell(LearnableSpell(12700)))
                                                        {
                                                            
dialog.Text("You already know this skill.");
                                                            
dialog.Option("Thank you master."255);
                                                            
dialog.Send();

                                                        }
                                                    }
                                                    else
                                                    {
                                                        
dialog.Text("Sorry , you can't get Maniac Dance because you are not level 40 or more.");
                                                        
dialog.Option("Alright."255);
                                                        
dialog.Send();
                                                    }
                                                }
                                                else
                                                {
                                                    
dialog.Text("I will not tell any of the Warrior secrets to another class, so, good bye.");
                                                    
dialog.Option("Alright."255);
                                                    
dialog.Send();
                                                }
                                                break;
                                            }
                                        
#endregion
                                        #region Twist of war
                                        
case 55:
                                            {
                                                if (
client.Entity.Class >= 20 && client.Entity.Class <= 25)
                                                {
                                                    if (
client.Entity.Level >= 70)
                                                    {
                                                        
dialog.Text("You have learned the Twist of war of this class.");
                                                        
dialog.Option("Thank you master."255);
                                                        
dialog.Send();
                                                        
client.AddSpell(LearnableSpell(12660));
                                                        if (!
client.AddSpell(LearnableSpell(12660)))
                                                        {
                                                            
dialog.Text("You already know this skill.");
                                                            
dialog.Option("Thank you master."255);
                                                            
dialog.Send();

                                                        }
                                                    }
                                                    else
                                                    {
                                                        
dialog.Text("Sorry , you can't get Twist of war because you are not level 40 or more.");
                                                        
dialog.Option("Alright."255);
                                                        
dialog.Send();
                                                    }
                                                }
                                                else
                                                {
                                                    
dialog.Text("I will not tell any of the Warrior secrets to another class, so, good bye.");
                                                    
dialog.Option("Alright."255);
                                                    
dialog.Send();
                                                }
                                                break;
                                            }
                                        
#endregion
                                        #region Back Fire
                                        
case 66:
                                            {
                                                if (
client.Entity.Class >= 20 && client.Entity.Class <= 25)
                                                {
                                                    if (
client.Entity.Level >= 61)
                                                    {
                                                        
dialog.Text("You have learned the Twist of war Skill of this class.");
                                                        
dialog.Option("Thank you master."255);
                                                        
dialog.Send();
                                                        
client.AddSpell(LearnableSpell(12680));
                                                        if (!
client.AddSpell(LearnableSpell(12680)))
                                                        {
                                                            
dialog.Text("You already know this skill.");
                                                            
dialog.Option("Thank you master."255);
                                                            
dialog.Send();
                                                        }
                                                    }
                                                    else
                                                    {
                                                        
dialog.Text("You need to be level 61 or more.");
                                                        
dialog.Option("Alright."255);
                                                        
dialog.Send();
                                                    }
                                                }
                                                else
                                                {
                                                    
dialog.Text("I will not tell any of the warrior secrets to another class, so, good bye.");
                                                    
dialog.Option("Alright."255);
                                                    
dialog.Send();
                                                }
                                                break;
                                            }
                                        
#endregion
                                        
case 8:
                                            {
                                                if (
client.Entity.Class >= 20 && client.Entity.Class <= 25)
                                                {
                                                    if (
client.Entity.Level >= 40)
                                                    {
                                                        
dialog.Text("You have learned the Fast/Sceand of this class.");
                                                        
dialog.Option("Thank you master."255);
                                                        
dialog.Send();
                                                        
client.AddSpell(LearnableSpell(1045));
                                                        
client.AddSpell(LearnableSpell(1046));
                                                        if (!
client.AddSpell(LearnableSpell(1045)))
                                                            if (!
client.AddSpell(LearnableSpell(1046)))
                                                            {
                                                                
dialog.Text("You already know this skill.");
                                                                
dialog.Option("Thank you master."255);
                                                                
dialog.Send();
                                                            }
                                                    }
                                                    else
                                                    {
                                                        
dialog.Text("Sorry , you can't get Fast/Sceand because you are not level 40 or more.");
                                                        
dialog.Option("Alright."255);
                                                        
dialog.Send();
                                                    }
                                                }
                                                else
                                                {
                                                    
dialog.Text("I will not tell any of the Warrior secrets to another class, so, good bye.");
                                                    
dialog.Option("Alright."255);
                                                    
dialog.Send();
                                                }
                                                break;
                                            }
                                        case 
17:
                                            {
                                                if (
client.Entity.Class >= 20 && client.Entity.Class <= 25)
                                                {
                                                    if (
client.Entity.Level >= 40)
                                                    {
                                                        
dialog.Text("You have learned the Perseverance of this class.");
                                                        
dialog.Option("Thank you master."255);
                                                        
dialog.Send();
                                                        
client.AddSpell(LearnableSpell(10311));
                                                        if (!
client.AddSpell(LearnableSpell(10311)))
                                                        {
                                                            
dialog.Text("You already know this skill.");
                                                            
dialog.Option("Thank you master."255);
                                                            
dialog.Send();
                                                        }
                                                    }
                                                    else
                                                    {
                                                        
dialog.Text("Sorry , you can't get Perseverance because you are not level 40 or more.");
                                                        
dialog.Option("Alright."255);
                                                        
dialog.Send();
                                                    }
                                                }
                                                else
                                                {
                                                    
dialog.Text("I will not tell any of the Warrior secrets to another class, so, good bye.");
                                                    
dialog.Option("Alright."255);
                                                    
dialog.Send();
                                                }
                                                break;
                                            }
                                        case 
11:
                                            {
                                                if (
client.Entity.Class >= 20 && client.Entity.Class <= 25)
                                                {
                                                    if (
client.Entity.Level >= 40)
                                                    {
                                                        
dialog.Text("You have learned the Magic Defender of this class.");
                                                        
dialog.Option("Thank you master."255);
                                                        
dialog.Send();
                                                        
client.AddSpell(LearnableSpell(11200));
                                                        if (!
client.AddSpell(LearnableSpell(11200)))
                                                        {
                                                            
dialog.Text("You already know this skill.");
                                                            
dialog.Option("Thank you master."255);
                                                            
dialog.Send();
                                                        }
                                                    }
                                                    else
                                                    {
                                                        
dialog.Text("Sorry , you can't get Magic Defender because you are not level 40 or more.");
                                                        
dialog.Option("Alright."255);
                                                        
dialog.Send();
                                                    }
                                                }
                                                else
                                                {
                                                    
dialog.Text("I will not tell any of the Warrior secrets to another class, so, good bye.");
                                                    
dialog.Option("Alright."255);
                                                    
dialog.Send();
                                                }
                                                break;
                                            }
                                        case 
10:
                                            {
                                                if (
client.Entity.Class >= 20 && client.Entity.Class <= 25)
                                                {
                                                    if (
client.Entity.Level >= 70)
                                                    {
                                                        
dialog.Text("You have learned the Defensive Stance of this class.");
                                                        
dialog.Option("Thank you master."255);
                                                        
dialog.Send();
                                                        
client.AddSpell(LearnableSpell(11160));
                                                        if (!
client.AddSpell(LearnableSpell(11160)))
                                                        {
                                                            
dialog.Text("You already know this skill.");
                                                            
dialog.Option("Thank you master."255);
                                                            
dialog.Send();

                                                        }
                                                    }
                                                    else
                                                    {
                                                        
dialog.Text("Sorry , you can't get Defensive Stance because you are not level 40 or more.");
                                                        
dialog.Option("Alright."255);
                                                        
dialog.Send();
                                                    }
                                                }
                                                else
                                                {
                                                    
dialog.Text("I will not tell any of the Warrior secrets to another class, so, good bye.");
                                                    
dialog.Option("Alright."255);
                                                    
dialog.Send();
                                                }
                                                break;
                                            }
                                        case 
9:
                                            {
                                                if (
client.Entity.Class >= 20 && client.Entity.Class <= 25)
                                                {
                                                    if (
client.Entity.Level >= 40)
                                                    {
                                                        
dialog.Text("You have learned the Shield Block of this class.");
                                                        
dialog.Option("Thank you master."255);
                                                        
dialog.Send();
                                                        
client.AddSpell(LearnableSpell(10470));
                                                        if (!
client.AddSpell(LearnableSpell(10470)))
                                                        {
                                                            
dialog.Text("You already know this skill.");
                                                            
dialog.Option("Thank you master."255);
                                                            
dialog.Send();

                                                        }
                                                    }
                                                    else
                                                    {
                                                        
dialog.Text("Sorry , you can't get Shield Block because you are not level 40 or more.");
                                                        
dialog.Option("Alright."255);
                                                        
dialog.Send();
                                                    }
                                                }
                                                else
                                                {
                                                    
dialog.Text("I will not tell any of the Warrior secrets to another class, so, good bye.");
                                                    
dialog.Option("Alright."255);
                                                    
dialog.Send();
                                                }
                                                break;
                                            }
                                        case 
5:
                                            {
                                                if (
client.Entity.Class >= 20 && client.Entity.Class <= 25)
                                                {
                                                    if (
client.Entity.Level >= 40)
                                                    {
                                                        
dialog.Text("You have learned the XP Skills of this class.");
                                                        
dialog.Option("Thank you master."255);
                                                        
dialog.Send();
                                                        
client.AddSpell(LearnableSpell(1025));
                                                        
client.AddSpell(LearnableSpell(1020));
                                                        
client.AddSpell(LearnableSpell(1015));
                                                    }
                                                    else
                                                    {
                                                        
dialog.Text("You need to be level 40 or more.");
                                                        
dialog.Option("Alright."255);
                                                        
dialog.Send();
                                                    }
                                                }
                                                else
                                                {
                                                    
dialog.Text("I will not tell any of the warrior secrets to another class, so, good bye.");
                                                    
dialog.Option("Alright."255);
                                                    
dialog.Send();
                                                }
                                                break;
                                            }
                                        case 
6:
                                            {
                                                if (
client.Entity.Class >= 20 && client.Entity.Class <= 25)
                                                {
                                                    if (
client.Entity.Level >= 61)
                                                    {
                                                        
dialog.Text("You have learned the Dash Skill of this class.");
                                                        
dialog.Option("Thank you master."255);
                                                        
dialog.Send();
                                                        
client.AddSpell(LearnableSpell(1051));
                                                        if (!
client.AddSpell(LearnableSpell(1051)))
                                                        {
                                                            
dialog.Text("You already know this skill.");
                                                            
dialog.Option("Thank you master."255);
                                                            
dialog.Send();
                                                        }
                                                    }
                                                    else
                                                    {
                                                        
dialog.Text("You need to be level 61 or more.");
                                                        
dialog.Option("Alright."255);
                                                        
dialog.Send();
                                                    }
                                                }
                                                else
                                                {
                                                    
dialog.Text("I will not tell any of the warrior secrets to another class, so, good bye.");
                                                    
dialog.Option("Alright."255);
                                                    
dialog.Send();
                                                }
                                                break;
                                            }
                                        
#endregion
                                    
}
                                    break;
                                }
                            
//ShaDow
                            #endregion 
وطبعا هيكون فى كلاس الانبى سى

بعد كيدا هتخوش على كلاس PacketHandler وهتبحث عن

كود PHP:
return Positions.Right
هضيف تحته الكود دا
كود PHP:
if (iType == 624)  
                return 
Positions.Right
فى نفس الكلاس بقى عشان السلاح الشمال هتبحث عن

كود PHP:
return Positions.Left
وهضيف تحته الكود دا

كود PHP:
if (iType == 624)  
                return 
Positions.Left
فى نفس الكلاس هتبحث عن

كود PHP:
return ConquerItem.RightWeapon
هضيف تحته الكود دا

كود PHP:
if (iType == 624)  
                return 
ConquerItem.RightWeapon
فى نفس المكان بردو هتبحث عن

كود PHP:
return ConquerItem.LeftWeapon
هضيف تحته دا

كود PHP:
if (iType == 624)  
                return 
ConquerItem.LeftWeapon
وبعدين هتفتح كلاس Entity هضيف الكود دا فى اى مكان فى الكلاس
كود PHP:
public Time32 XpBlueStamp;
        public 
Time32 BackfireStamp;
        public 
Time32 ManiacDance;
        public 
byte XPCountTwist 0;
        public 
bool EpicWarrior()
        {
            if (
EntityFlag == Game.EntityFlag.Player)
            {
                var 
weapons Owner.Weapons;
                if (
weapons.Item1 != null)
                    if (
weapons.Item1.ID 1000 == 624)
                        return 
true;
                    else if (
weapons.Item2 != null)
                        if (
weapons.Item2.ID 1000 == 624)
                            return 
true;
            }
            return 
false;
        } 
مثلا تحت سطر زاى دا

كود PHP:
public class Entity WriterInterfaces.I....EntityInterfaces.IMapObject
وبعد كيدا هتروح لكلاس الباكت هندلر PacketHandler تانى وابحث

#region Sanity checks 
وضيف دول تحته

كود PHP:
if (client.Entity.Class >= 20 && client.Entity.Class <= 25)
                {
                    
can2hand true;
                    
can2wpn true;
                } 
بعد كيدا روح لكلاس Handle عشان الاسكلات وابحث

كود PHP:
#region EpicMonk 
وضيف تحته دا

كود PHP:
#region ManiacDance
                                
case 12700:
                                    {
                                        if (
CanUseSpell(spellattacker.Owner))
                                        {
                                            
PrepareSpell(spellattacker.Owner);

                                            
SpellUse suse = new SpellUse(true);
                                            
suse.Attacker attacker.UID;
                                            
suse.SpellID spell.ID;
                                            
suse.SpellLevel spell.Level;
                                            
suse.X;
                                            
suse.Y;
                                            
attacker.AddFlag3((ulong)1UL << 53);
                                            
attacker.ManiacDance Time32.Now;
                                            
attacker.RemoveFlag(Update.Flags.Ride);
                                            
attacker.Owner.SendScreen(susetrue);
                                        }
                                        break;
                                    }
                                
#endregion 
                                #region Backfire
                                
case 12680:
                                    {
                                        
SpellUse spellUse = new SpellUse(true);
                                        
spellUse.Attacker attacker.UID;
                                        
spellUse.Attacker1 attacker.UID;
                                        
spellUse.SpellID spell.ID;
                                        
spellUse.SpellLevel spell.Level;
                                        
spellUse.X;
                                        
spellUse.Y;
                                        
spellUse.AddTarget(attacker1attack);
                                        
attacker.Owner.SendScreen(spellUsetrue);
                                        if (
attacker.ContainsFlag3((ulong)1UL << 51))
                                            
attacker.RemoveFlag3((ulong)1UL << 51);
                                        else
                                            
attacker.AddFlag3((ulong)1UL << 51);
                                        
attacker.BackfireStamp Time32.Now;
                                        break;
                                    }
                                
#endregion 
بعد كيدا افتح كلاس World وابحث

كود PHP:
private void BuffersCallback 
وضيف جواه الكود دا

كود PHP:
#region XpBlueStamp
            
if (client.Entity.ContainsFlag3(Update.Flags3.WarriorEpicShield))
            {
                if (
Time32.Now client.Entity.XpBlueStamp.AddSeconds(33))
                {
                    
client.Entity.ShieldIncrease 0;
                    
client.Entity.ShieldTime 0;
                    
client.Entity.MagicShieldIncrease 0;
                    
client.Entity.MagicShieldTime 0;
                    
client.Entity.RemoveFlag3(Update.Flags3.WarriorEpicShield);
                }
            }
            
#endregion
            #region ManiacDance
            
if (client.Entity.ContainsFlag3((ulong)1UL << 53))
            {
                if (
Time32.Now client.Entity.ManiacDance.AddSeconds(15))
                {
                    
client.Entity.RemoveFlag3((ulong)1UL << 53);
                }
            }
            
#endregion
            #region Backfire
            
if (client.Entity.ContainsFlag3((ulong)1UL << 51))
            {
                if (
Time32.Now client.Entity.BackfireStamp.AddSeconds(8))
                {
                    if (
client.Spells.ContainsKey(12680))
                    {
                        if (
client.Entity.ContainsFlag3((ulong)1UL << 51))
                            
client.Entity.RemoveFlag3((ulong)1UL << 51);
                    }
                    
client.Entity.BackfireStamp Time32.Now;
                }
            }
            
#endregion 
وافتح كلاس Entity وابحث

كود PHP:
public void Die(Entity killer
وانزل لغاية الكود دا

كود PHP:
if (killer.EntityFlag == Game.EntityFlag.Player)
            { 
وتحت القوس ضيف دول

كود PHP:
(ContainsFlag3((ulong)1UL << 53))
                    
RemoveFlag3((ulong)1UL << 53); 
وبعدين افتح كلاس Screen وابحث عن

كود PHP:
#region Player 
وانزل لغاية ما تلاقى الكود دا

كود PHP:
if (distance <= monster.MonsterInfo.AttackRange)
                                            { 
تحت القوس هضيف الكود دا

كود PHP:
if (client.Entity.ContainsFlag3((ulong)1UL << 53))
                                                {
                                                    var 
attack = new Attack(true);
                                                    
attack.Attacker client.Entity.UID;
                                                    
attack.AttackType Attack.Melee;
                                                    var 
spell Data.....SpellTable.GetSpell(12700client);
                                                    foreach (var 
obj1 in client.Screen.Objects)
                                                    {
                                                        if (
Kernel.GetDistance(obj1.Xobj1.Yobj.Xobj.Y) <= 8)
                                                        {
                                                            if (
obj1.MapObjType == MapObjectType.Monster || obj1.MapObjType == MapObjectType.Player)
                                                            {
                                                                var 
attacked obj1 as Entity;
                                                                if (
Attacking.Handle.CanAttack(client.Entityattackedspellfalse))
                                                                {
                                                                    
uint damage Game.Attacking.Calculate.Melee(client.Entityattackedspellref attack);
                                                                    
damage = (damage 100) / 100;
                                                                    
attack.Damage damage;
                                                                    
attack.Attacked attacked.UID;
                                                                    
attack.attacked.X;
                                                                    
attack.attacked.Y;

                                                                    
Attacking.Handle.ReceiveAttack(client.Entityattackedattackref damagespell);
                                                                }
                                                            }
                                                            else if (
obj1.MapObjType == MapObjectType.SobNpc)
                                                            {
                                                                var 
attacked obj1 as SobNpcSpawn;
                                                                if (
Attacking.Handle.CanAttack(client.Entityattackedspell))
                                                                {
                                                                    
uint damage Game.Attacking.Calculate.Melee(client.Entityattackedref attack);
                                                                    
damage = (damage 100) / 100;

                                                                    
attack.Damage damage;
                                                                    
attack.Attacked attacked.UID;
                                                                    
attack.attacked.X;
                                                                    
attack.attacked.Y;

                                                                    
Attacking.Handle.ReceiveAttack(client.Entityattackedattackdamagespell);
                                                                }
                                                            }
                                                        }
                                                    }
                                                } 
وبعدين رح لكلاس Update وابحث عن

كود PHP:
public class Flags3 
هتلاقى تحت القوس عل طول الكود دا

كود PHP:
public const ulong 
ضيف تحته دا

كود PHP:
WarriorEpicShield 1UL << 55
وبعدين روح ل كلاسPacketHandler تانى وابحث عن

كود PHP:
static void Revive 
وانزل لغاية ما تلاقى دا

كود PHP:
bool ReviveHere generalData.dwParam == 1
وضيف دا تحته

كود PHP:
if (client.Spells.ContainsKey(12660))
                {
                    
client.XPCount client.Entity.XPCountTwist;
                } 
افتح النافى كات وافتح الكونصل وضيف دول واضغط انتر
كود PHP:
INSERT INTO `spellsVALUES ('12660''12660''0006''TwistofWar''0''0''2''0000''0000''0000''0''0000''0100''0000''0000''0182''0000''0000''0''0000''0''61624624''0000''0''0000''0''0000''0''0000''0''0000''0000''0000''0001');  
INSERT INTO `spellsVALUES ('12670''12670''0082''ScarofEarth''1''1''1''0008''0000''0000''30195''0005''0030''0003''0005''0180''0000''0000''20243''10000''15''61624624''0000''0''0000''0''0000''0''0000''0''0000''0000''0000''0001');  
INSERT INTO `spellsVALUES ('12671''12670''0082''ScarofEarth''1''1''1''0008''0001''0000''30200''0005''0031''0003''0005''0180''0000''0000''60000''30000''30''61624624''0000''0''0000''0''0000''0''0000''0''0000''0000''0000''0001');  
INSERT INTO `spellsVALUES ('12672''12670''0082''ScarofEarth''1''1''1''0008''0002''0000''30205''0005''0032''0003''0005''0180''0000''0000''100000''50000''45''61624624''0000''0''0000''0''0000''0''0000''0''0000''0000''0000''0001');  
INSERT INTO `spellsVALUES ('12673''12670''0082''ScarofEarth''1''1''1''0008''0003''0000''30210''0005''0033''0003''0005''0180''0000''0000''150000''70000''60''61624624''0000''0''0000''0''0000''0''0000''0''0000''0000''0000''0001');  
INSERT INTO `spellsVALUES ('12674''12670''0082''ScarofEarth''1''1''1''0008''0004''0000''30215''0005''0034''0003''0005''0180''0000''0000''200000''100000''70''61624624''0000''0''0000''0''0000''0''0000''0''0000''0000''0000''0001');  
INSERT INTO `spellsVALUES ('12675''12670''0082''ScarofEarth''1''1''1''0008''0005''0000''30220''0005''0035''0003''0005''0180''0000''0000''300000''150000''80''61624624''0000''0''0000''0''0000''0''0000''0''0000''0000''0000''0001');  
INSERT INTO `spellsVALUES ('12676''12670''0082''ScarofEarth''1''1''1''0008''0006''0000''30225''0005''0036''0003''0005''0180''0000''0000''500000''175000''90''61624624''0000''0''0000''0''0000''0''0000''0''0000''0000''0000''0001');  
INSERT INTO `spellsVALUES ('12677''12670''0082''ScarofEarth''1''1''1''0008''0007''0000''30230''0005''0037''0003''0005''0180''0000''0000''750000''200000''100''61624624''0000''0''0000''0''0000''0''0000''0''0000''0000''0000''0001');  
INSERT INTO `spellsVALUES ('12678''12670''0082''ScarofEarth''1''1''1''0008''0008''0000''30240''0005''0038''0003''0005''0180''0000''0000''1000000''250000''110''61624624''0000''0''0000''0''0000''0''0000''0''0000''0000''0000''0001');  
INSERT INTO `spellsVALUES ('12679''12670''0082''ScarofEarth''1''1''1''0008''0009''0000''30245''0005''0042''0003''0005''0180''0000''0000''0''0000''0''61624624''0000''0''0000''0''0000''0''0000''0''0000''0000''0000''0001');  
INSERT INTO `spellsVALUES ('12680''12680''0006''Backfire''0''0''0''0002''0000''0000''55''0000''0100''0010''0000''0000''0179''0000''500''3000''60''61624624''0000''0''0000''0''0000''0''0000''0''0000''0000''0000''0001');  
INSERT INTO `spellsVALUES ('12681''12680''0006''Backfire''0''0''0''0002''0001''0000''60''0000''0100''0010''0000''0000''0179''0000''1000''6000''70''61624624''0000''0''0000''0''0000''0''0000''0''0000''0000''0000''0001');  
INSERT INTO `spellsVALUES ('12682''12680''0006''Backfire''0''0''0''0002''0002''0000''65''0000''0100''0010''0000''0000''0179''0000''10000''10000''80''61624624''0000''0''0000''0''0000''0''0000''0''0000''0000''0000''0001');  
INSERT INTO `spellsVALUES ('12683''12680''0006''Backfire''0''0''0''0002''0003''0000''70''0000''0100''0010''0000''0000''0179''0000''50000''50000''90''61624624''0000''0''0000''0''0000''0''0000''0''0000''0000''0000''0001');  
INSERT INTO `spellsVALUES ('12684''12680''0006''Backfire''0''0''0''0002''0004''0000''75''0000''0100''0010''0000''0000''0179''0000''100000''100000''100''61624624''0000''0''0000''0''0000''0''0000''0''0000''0000''0000''0001');  
INSERT INTO `spellsVALUES ('12685''12680''0006''Backfire''0''0''0''0002''0005''0000''80''0000''0100''0010''0000''0000''0179''0000''500000''150000''110''61624624''0000''0''0000''0''0000''0''0000''0''0000''0000''0000''0001');  
INSERT INTO `spellsVALUES ('12686''12680''0006''Backfire''0''0''0''0002''0006''0000''90''0000''0100''0010''0000''0000''0179''0000''0''0000''0''61624624''0000''0''0000''0''0000''0''0000''0''0000''0000''0000''0001');  
INSERT INTO `spellsVALUES ('12690''12690''0069''WaveofBlood''1''1''1''0004''0000''0000''30095''0000''0100''0008''0008''0020''0178''0000''500''3000''15''61624624''0000''0''0000''0''0000''0''0000''0''0000''0000''0000''0001');  
INSERT INTO `spellsVALUES ('12691''12690''0069''WaveofBlood''1''1''1''0004''0001''0000''30100''0000''0100''0008''0008''0020''0178''0000''1000''6000''30''61624624''0000''0''0000''0''0000''0''0000''0''0000''0000''0000''0001');  
INSERT INTO `spellsVALUES ('12692''12690''0069''WaveofBlood''1''1''1''0004''0002''0000''30105''0000''0100''0008''0008''0020''0178''0000''10000''10000''50''61624624''0000''0''0000''0''0000''0''0000''0''0000''0000''0000''0001');  
INSERT INTO `spellsVALUES ('12693''12690''0069''WaveofBlood''1''1''1''0004''0003''0000''30108''0000''0100''0008''0008''0020''0178''0000''50000''50000''70''61624624''0000''0''0000''0''0000''0''0000''0''0000''0000''0000''0001');  
INSERT INTO `spellsVALUES ('12694''12690''0069''WaveofBlood''1''1''1''0004''0004''0000''30110''0000''0100''0008''0008''0020''0178''0000''100000''100000''90''61624624''0000''0''0000''0''0000''0''0000''0''0000''0000''0000''0001');  
INSERT INTO `spellsVALUES ('12695''12690''0069''WaveofBlood''1''1''1''0004''0005''0000''30115''0000''0100''0008''0008''0020''0178''0000''500000''150000''110''61624624''0000''0''0000''0''0000''0''0000''0''0000''0000''0000''0001');  
INSERT INTO `spellsVALUES ('12696''12690''0069''WaveofBlood''1''1''1''0004''0006''0000''30118''0000''0100''0008''0008''0020''0178''0000''0''0000''0''61624624''0000''0''0000''0''0000''0''0000''0''0000''0000''0000''0001');  
INSERT INTO `spellsVALUES ('12700''12700''0083''ManiacDance''1''0''0''0002''0000''0000''30100''0000''0100''0001''0005''0000''0181''0000''0''0000''1''61624624''0015''0''0000''0''0000''0''0000''0''0000''0000''0000''0001');  
INSERT INTO `spellsVALUES ('12770''12770''0084''Pounce''1''1''0''0004''0000''0000''30030''0000''0100''0000''0005''0020''0000''0000''500''3000''60''0900''0000''0''0000''0''0000''0''0000''0''0000''0000''0000''0001');  
INSERT INTO `spellsVALUES ('12771''12770''0084''Pounce''1''1''0''0004''0001''0000''30035''0000''0100''0000''0005''0020''0000''0000''1000''6000''70''0900''0000''0''0000''0''0000''0''0000''0''0000''0000''0000''0001');  
INSERT INTO `spellsVALUES ('12772''12770''0084''Pounce''1''1''0''0004''0002''0000''30040''0000''0100''0000''0005''0020''0000''0000''10000''10000''80''0900''0000''0''0000''0''0000''0''0000''0''0000''0000''0000''0001');  
INSERT INTO `spellsVALUES ('12773''12770''0084''Pounce''1''1''0''0004''0003''0000''30045''0000''0100''0000''0005''0020''0000''0000''50000''50000''90''0900''0000''0''0000''0''0000''0''0000''0''0000''0000''0000''0001');  
INSERT INTO `spellsVALUES ('12774''12770''0084''Pounce''1''1''0''0004''0004''0000''30050''0000''0100''0000''0005''0020''0000''0000''100000''100000''100''0900''0000''0''0000''0''0000''0''0000''0''0000''0000''0000''0001');  
INSERT INTO `spellsVALUES ('12775''12770''0084''Pounce''1''1''0''0004''0005''0000''30055''0000''0100''0000''0005''0020''0000''0000''500000''150000''110''0900''0000''0''0000''0''0000''0''0000''0''0000''0000''0000''0001');  
INSERT INTO `spellsVALUES ('12776''12770''0084''Pounce''1''1''0''0004''0006''0000''30060''0000''0100''0000''0005''0020''0000''0000''0''0000''0''0900''0000''0''0000''0''0000''0''0000''0''0000''0000''0000''0001'); 
وكيدا تكون الاضافة انتهت كاملة والحمدلله بدون مشاكل صورتين للاسكلات


  #2  
07-10-2016, 05:06 PM
رد: شرح اضافة ابيك الورير الجديد , شرح اضافه شرح اضافة الاسكلات الجديدة

مجهود رائع

الكلمات الدلالية (Tags)
الاسكلات, الجديد, الجديدة, الورير, ابيك, اضافة, اضافه, شرح


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



الساعة الآن 10:13 AM

Powered by vBulletin
الاختلاف عن البقية معنى الإبداع وصنع الشيء المستحيل ..(المقلدون خلفنا دائماً) من قلدنا أكد لنا بأننا الأفضل..