كونكر عرب

كونكر عرب (https://conquer-arab.com/index.php)
-   مشكلات السيرفيرات كونكر الشخصيه (https://conquer-arab.com/forumdisplay.php?f=12)
-   -   سورس سكواد (https://conquer-arab.com/showthread.php?t=6035)

kingpepo32 2020-09-04 10:48 PM

سورس سكواد
 
الننجا بيطلع رقم تالت غير اي سورس تاني بيطلع رقمين بس
عايز الغيها الضربه دي
ومش ستريك ولا بريك دي ضربه تالته بتطلع للنجا بس بقالي شهر بسال ومحدش بيفيدني

احمد حسنين 2020-09-05 01:42 AM

رد: سورس سكواد
 
ابعت الفيس بتاعك عايزك في حوار

kingpepo32 2020-09-05 06:02 PM

رد: سورس سكواد
 
كود:

https://www.facebook.com/BeBo.N.William
اقتباس:

المشاركة الأصلية كتبت بواسطة احمد حسنين (المشاركة 58728)
ابعت الفيس بتاعك عايزك في حوار


AliNasser 2020-09-05 06:11 PM

رد: سورس سكواد
 
دي اسكله gapingwounds ودي مش مشكله لو عوز تلغيها روح لاسكله النينجا 12080
هتلاقي جواها رقم الاسكله دي Spells[11230];
وتحتها كود زي دا if (Kernel.Rate(x))
هتغير الرقم الجوا القوس الانا حاطط مكانه x ب 1 او تلغي التشيك كلو وخلاص

ElSaher 2020-09-05 07:55 PM

رد: سورس سكواد
 
بدل الاسكلت الي عندك بي دي
ابحث عن دي
كود PHP:

                                case 12080: 

وبدلها
كود PHP:

#region SuperTwofoldBlade
                                
case 12080:
                                    {
                                        if (
Time32.Now >= attacker.SpellStamp.AddMilliseconds(500))
                                        if (
attacker.Stamina >= 1)
                                            
attacker.Stamina -= 1;
                                        {
                                            if (
CanUseSpell(spell, attacker.Owner))
                                            {
                                                
ushort Xx, Yx;
                                                if (
attacked != null)
                                                {
                                                    
Xx = attacked.X;
                                                    
Yx = attacked.Y;
                                                }
                                                else
                                                {
                                                    
Xx = attackedsob.X;
                                                    
Yx = attackedsob.Y;
                                                }
                                                if (
Kernel.GetDistance(attacker.X, attacker.Y, Xx, Yx) <= 5)
                                                {
                                                    if (
attackedsob == null)
                                                    if (
attacked.ContainsFlag((ulong)MsgUpdate.Flags.Fly)) return;
                                                    if (
attacked.ContainsFlag((ulong)MsgUpdate.Flags.Fly)) return;
                                                      
                                                    
PrepareSpell(spell, attacker.Owner);

                                                    
MsgMagicEffect suse = new MsgMagicEffect(true);
                                                    
suse.Attacker = attacker.UID;
                                                    
suse.SpellID = spell.ID;
                                                    
suse.SpellLevel = spell.Level;
                                                    
suse.X = X;
                                                    
suse.Y = Y;
                                                    
bool send = false;

                                                    if (
attackedsob == null)
                                                    {
                                                        if (
CanAttack(attacker, attacked, spell, attack.InteractType == MsgInteract.Melee))
                                                        {
                                                            
attack.Effect = MsgInteract.InteractEffects.None;
                                                            
uint damage = Game.Attacking.Calculate.Melee(attacker, attacked, ref attack);
                                                            if (
attacker.NobilityRank == TOFAN.Game.ConquerStructures.NobilityRank.King) 
                                                            { 
                                                                
damage = (uint)(damage * 0.7); 
                                                            } 
                                                            if (
attacker.NobilityRank == TOFAN.Game.ConquerStructures.NobilityRank.Prince) 
                                                            { 
                                                                
damage = (uint)(damage * 0.6); 
                                                            } 
                                                            if (
attacker.NobilityRank == TOFAN.Game.ConquerStructures.NobilityRank.Duke) 
                                                            { 
                                                                
damage = (uint)(damage * 0.5); 
                                                            }
                                                            if (
attacker.NobilityRank == TOFAN.Game.ConquerStructures.NobilityRank.Earl)
                                                            {
                                                                
damage = (uint)(damage * 0.3);
                                                            }
                                                            
#region IsArcher
                                                            /*if (attacked.IsArcher(attacked.Class))
                                                            {
                                                                damage = (uint)(damage * 1.2);
                                                            }*/
                                                            #endregion
                                                            
suse.Effect = attack.Effect;
                                                            
ReceiveAttack(attacker, attacked, attack, ref damage, spell);

                                                            
suse.AddTarget(attacked.UID, damage, attack); 
                                                            
send = true;

                                                            if (
attacker.Owner.Spells.ContainsKey(0) && !attacked.Dead)
                                                            {
                                                                var 
s = attacker.Owner.Spells[0];
                                                                var 
spellz = Database.SpellTable.SpellInformations[s.ID][s.Level];
                                                                if (
spellz != null)
                                                                {
                                                                    if (
Kernel.Rate(spellz.Percent))
                                                                    {
                                                                        
MsgMagicEffect ssuse = new MsgMagicEffect(true);
                                                                        
ssuse.Attacker = attacker.UID;
                                                                        
ssuse.SpellID = spellz.ID;

                                                                        
ssuse.SpellLevel = spellz.Level;
                                                                        
damage = Game.Attacking.Calculate.Melee(attacker, attacked, ref attack);
                                                                        
suse.AddTarget(attacked.UID, damage, attack); 
                                                                        
ReceiveAttack(attacker, attacked, attack, ref damage, spell);
                                                                        
attacker.Owner.SendScreen(ssuse, true);
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                    else
                                                    {
                                                        if (
CanAttack(attacker, attackedsob, spell))
                                                        {
                                                            
attack.Effect = MsgInteract.InteractEffects.None;
                                                            
uint damage = Game.Attacking.Calculate.Melee(attacker, attackedsob, ref attack);
                                                            
damage = (uint)(damage * 70 / 100);
                                                            
ReceiveAttack(attacker, attackedsob, attack, damage, spell);
                                                            
suse.Effect = attack.Effect;

                                                            
suse.AddTarget(attacked.UID, damage, attack);
                                                            
send = true;
                                                        }
                                                    }
                                                    if (
send)
                                                        
attacker.Owner.SendScreen(suse, true);
                                                    
attacker.SpellStamp = Time32.Now;
                                                }
                                                else
                                                {
                                                    
attacker.AttackPacket = null;
                                                }
                                            }
                                        }
                                        break;
                                    }


                                
#endregion 

وبدل اسكلت الشادو كلو بي دي
ابحث عن
كود PHP:

case 12090: 

وبدلها
كود PHP:

#region ShadowClone
                                
case 12090:
                                    {
                                        if (
CanUseSpell(spell, attacker.Owner))
                                        {
                                            if (
attacker.MyClones.Count > 0)
                                            {
                                                foreach (var 
item in attacker.MyClones.Values)
                                                {
                                                    
MsgAction data = new MsgAction(true);
                                                    
data.UID = item.UID;
                                                    
data.ID = MsgAction.Mode.RemoveEntity;
                                                    
item.MonsterInfo.SendScreen(data);
                                                    
attacker.Owner.Map.RemoveEntity(item);
                                                    
attacker.Owner.Send(data);
                                                }
                                                
attacker.MyClones.Clear();
                                                return;
                                            }
                                            else
                                            {
                                                
PrepareSpell(spell, attacker.Owner);
                                                
MsgMagicEffect spellUse = new MsgMagicEffect(true);
                                                
spellUse.Attacker = attacker.Owner.Player.UID;
                                                
spellUse.SpellID = spell.ID;
                                                
spellUse.SpellLevel = spell.Level;
                                                
spellUse.X = attacker.X;
                                                
spellUse.Y = attacker.Y;
                                                
attacker.Owner.SendScreen(spellUse, true);
                                                
Player.AddClone(attacker.Owner, "" + attacker.Name + "", 3);
                                                
Player.AddClone(attacker.Owner, "" + attacker.Name + "", 10003);
                                            }
                                        }
                                        break;
                                    }
                                
#endregion 



الساعة الآن 08:23 AM

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