احصائياتى

الردود
9

المشاهدات
703
 
ahmeduyd
.:: عضو نشيط ::.

    غير متواجد

المشاركات
108

+التقييم
0.05

تاريخ التسجيل
Jul 2020

الاقامة

نظام التشغيل

رقم العضوية
4254
2020-08-16, 01:38 AM
المشاركة 1
2020-08-16, 01:38 AM
المشاركة 1
افتراضي تمت الإجابة مشكلة فى الدودش شخصية dragon worrior
عندى مشكلة فى شخصية دراجون ورير انا بكون قافل البى كى واسكلة الدودش تضرب والبى كى مقفول


أفضل جواب - كتبه Rider
جرب كده

كود:
#region DragonPunch
                                
case 12240:
                                    {
                                        if (
CanUseSpell(spell, attacker.Owner))
                                        {
                                            
PrepareSpell(spell, attacker.Owner);
                                            
SpellUse suse = new SpellUse(true);
                                            
suse.Attacker = attacker.UID;
                                            
suse.SpellID = spell.ID;
                                            
suse.SpellLevel = spell.Level;

                                            if (
Kernel.GetDistance(attacker.X, attacker.Y, X, Y) <= attacker.AttackRange + 1)
                                            {
                                                foreach (
Interfaces.IMapObject _obj in attacker.Owner.Screen.Objects)
                                                {
                                                    if (
_obj == null) continue;
                                                    if (
_obj.MapObjType == MapObjectType.Monster || _obj.MapObjType == MapObjectType.Entity)
                                                    {
                                                        
attacked = _obj as Entity;
if (
attacked.ContainsFlag((ulong)Update.Flags.Fly)) return;
                                                            if (
CanAttack(attacker, attacked, spell, attack.AttackType == Attack.Melee))
                                                            {
                                                        if (
Kernel.GetDistance(attacker.X, attacker.Y, attacked.X, attacked.Y) <= spell.Range)
                                                        {
                                                            
                                                                
PrepareSpell(spell, attacker.Owner);
                                                                
attack.Effect1 = Attack.AttackEffects1.None;
                                                                
uint damage = Game.Attacking.Calculate.Melee(attacker, attacked, spell, ref attack, client_Spell.LevelHu2);
                                                                
damage = (damage * 35) / 100;
                                                                
suse.Effect1 = attack.Effect1;
                                                                
ReceiveAttack(attacker, attacked, attack, ref damage, spell);
                                                                
suse.AddTarget(attacked, damage, attack);
                                                            }
                                                        }
                                                    }
                                                    else if (
_obj.MapObjType == MapObjectType.SobNpc)
                                                    {
                                                        
attackedsob = _obj as SobNpcSpawn;
                                                        if (
Kernel.GetDistance(attacker.X, attacker.Y, attackedsob.X, attackedsob.Y) <= spell.Range)
                                                        {
                                                            if (
CanAttack(attacker, attackedsob, spell))
                                                            {
                                                                
PrepareSpell(spell, attacker.Owner);
                                                                
attack.Effect1 = Attack.AttackEffects1.None;
                                                                
uint damage = Calculate.Melee(attacker, attackedsob, ref attack);
                                                                
//damage = (uint)(damage * spell.IncreaseDMG);
                                                                //damage = (uint)(damage / spell.DecreaseDMG);
                                                                
ReceiveAttack(attacker, attackedsob, attack, damage, spell);
                                                                
suse.AddTarget(attackedsob, damage, attack);
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                            
//else
                                            //{
                                            //    attacker.AttackPacket = null;
                                            //}
                                            
attacker.Owner.SendScreen(suse, true);
                                        }
                                        break;
                                    }
                                
#endregion 

قديم 2020-08-16, 07:39 PM
المشاركة 2
ElSaher
.:: مشرف اقسام كونكر ::.
الإجابات المقدمة: 509
  • غير متواجد
افتراضي رد: مشكلة فى الدودش شخصية dragon worrior
صورة من الاسكلت دي لان الاسم دا انا معرفهوش

قديم 2020-08-16, 07:47 PM
المشاركة 3
ahmeduyd
.:: عضو نشيط ::.
  • غير متواجد
افتراضي رد: مشكلة فى الدودش شخصية dragon worrior
صورة من الاسكلت دي لان الاسم دا انا معرفهوش

دى اسمها dragonpunch

قديم 2020-08-16, 08:27 PM
المشاركة 4
ElSaher
.:: مشرف اقسام كونكر ::.
الإجابات المقدمة: 509
  • غير متواجد
افتراضي رد: مشكلة فى الدودش شخصية dragon worrior
جرب اسحبها من سورس تاني

قديم 2020-08-16, 08:47 PM
المشاركة 5
ahmeduyd
.:: عضو نشيط ::.
  • غير متواجد
افتراضي رد: مشكلة فى الدودش شخصية dragon worrior
بردو نفس المشكلة

قديم 2020-08-16, 08:51 PM
المشاركة 6
ElSaher
.:: مشرف اقسام كونكر ::.
الإجابات المقدمة: 509
  • غير متواجد
افتراضي رد: مشكلة فى الدودش شخصية dragon worrior
ابحث عن اسم الاسكلت في السورس المحوله في في السورس كلو وشوف المكان الي مش موجوده فيه وضيفها

قديم 2020-08-17, 09:05 AM
المشاركة 7
Rider
.:: نائب المدير ::.
الإجابات المقدمة: 989
  • غير متواجد
افتراضي رد: مشكلة فى الدودش شخصية dragon worrior
اتشيك الاسكله عن بيكيه موجود تحت بعد ما الاسكله بتضرب و ده كان موجود ف اسكلة من اسكلات ويندولكر ف بعض سورسات طلع كود الاتشيك فوق قبل ما الاسكله تضرب

قديم 2020-08-17, 07:03 PM
المشاركة 8
ahmeduyd
.:: عضو نشيط ::.
  • غير متواجد
افتراضي رد: مشكلة فى الدودش شخصية dragon worrior
اتشيك الاسكله عن بيكيه موجود تحت بعد ما الاسكله بتضرب و ده كان موجود ف اسكلة من اسكلات ويندولكر ف بعض سورسات طلع كود الاتشيك فوق قبل ما الاسكله تضرب

شكرا على ردك

اهى الاسكلة اعمل اية

كود:
#region DragonPunch
                                
case 12240:
                                    {
                                        if (
CanUseSpell(spell, attacker.Owner))
                                        {
                                            
PrepareSpell(spell, attacker.Owner);
                                            
SpellUse suse = new SpellUse(true);
                                            
suse.Attacker = attacker.UID;
                                            
suse.SpellID = spell.ID;
                                            
suse.SpellLevel = spell.Level;

                                            if (
Kernel.GetDistance(attacker.X, attacker.Y, X, Y) <= attacker.AttackRange + 1)
                                            {
                                                foreach (
Interfaces.IMapObject _obj in attacker.Owner.Screen.Objects)
                                                {
                                                    if (
_obj == null) continue;
                                                    if (
_obj.MapObjType == MapObjectType.Monster || _obj.MapObjType == MapObjectType.Entity)
                                                    {
                                                        
attacked = _obj as Entity;

                                                        if (
Kernel.GetDistance(attacker.X, attacker.Y, attacked.X, attacked.Y) <= spell.Range)
                                                        {
                                                            if (
attacked.ContainsFlag((ulong)Update.Flags.Fly)) return;
                                                            if (
CanAttack(attacker, attacked, spell, attack.AttackType == Attack.Melee))
                                                            {
                                                                
PrepareSpell(spell, attacker.Owner);
                                                                
attack.Effect1 = Attack.AttackEffects1.None;
                                                                
uint damage = Game.Attacking.Calculate.Melee(attacker, attacked, spell, ref attack, client_Spell.LevelHu2);
                                                                
damage = (damage * 35) / 100;
                                                                
suse.Effect1 = attack.Effect1;
                                                                
ReceiveAttack(attacker, attacked, attack, ref damage, spell);
                                                                
suse.AddTarget(attacked, damage, attack);
                                                            }
                                                        }
                                                    }
                                                    else if (
_obj.MapObjType == MapObjectType.SobNpc)
                                                    {
                                                        
attackedsob = _obj as SobNpcSpawn;
                                                        if (
Kernel.GetDistance(attacker.X, attacker.Y, attackedsob.X, attackedsob.Y) <= spell.Range)
                                                        {
                                                            if (
CanAttack(attacker, attackedsob, spell))
                                                            {
                                                                
PrepareSpell(spell, attacker.Owner);
                                                                
attack.Effect1 = Attack.AttackEffects1.None;
                                                                
uint damage = Calculate.Melee(attacker, attackedsob, ref attack);
                                                                
//damage = (uint)(damage * spell.IncreaseDMG);
                                                                //damage = (uint)(damage / spell.DecreaseDMG);
                                                                
ReceiveAttack(attacker, attackedsob, attack, damage, spell);
                                                                
suse.AddTarget(attackedsob, damage, attack);
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                            
//else
                                            //{
                                            //    attacker.AttackPacket = null;
                                            //}
                                            
attacker.Owner.SendScreen(suse, true);
                                        }
                                        break;
                                    }
                                
#endregion 


قديم 2020-08-18, 11:33 AM
المشاركة 9
Rider
.:: نائب المدير ::.
الإجابات المقدمة: 989
  • غير متواجد
افتراضي رد: مشكلة فى الدودش شخصية dragon worrior
جرب كده

كود:
#region DragonPunch
                                
case 12240:
                                    {
                                        if (
CanUseSpell(spell, attacker.Owner))
                                        {
                                            
PrepareSpell(spell, attacker.Owner);
                                            
SpellUse suse = new SpellUse(true);
                                            
suse.Attacker = attacker.UID;
                                            
suse.SpellID = spell.ID;
                                            
suse.SpellLevel = spell.Level;

                                            if (
Kernel.GetDistance(attacker.X, attacker.Y, X, Y) <= attacker.AttackRange + 1)
                                            {
                                                foreach (
Interfaces.IMapObject _obj in attacker.Owner.Screen.Objects)
                                                {
                                                    if (
_obj == null) continue;
                                                    if (
_obj.MapObjType == MapObjectType.Monster || _obj.MapObjType == MapObjectType.Entity)
                                                    {
                                                        
attacked = _obj as Entity;
if (
attacked.ContainsFlag((ulong)Update.Flags.Fly)) return;
                                                            if (
CanAttack(attacker, attacked, spell, attack.AttackType == Attack.Melee))
                                                            {
                                                        if (
Kernel.GetDistance(attacker.X, attacker.Y, attacked.X, attacked.Y) <= spell.Range)
                                                        {
                                                            
                                                                
PrepareSpell(spell, attacker.Owner);
                                                                
attack.Effect1 = Attack.AttackEffects1.None;
                                                                
uint damage = Game.Attacking.Calculate.Melee(attacker, attacked, spell, ref attack, client_Spell.LevelHu2);
                                                                
damage = (damage * 35) / 100;
                                                                
suse.Effect1 = attack.Effect1;
                                                                
ReceiveAttack(attacker, attacked, attack, ref damage, spell);
                                                                
suse.AddTarget(attacked, damage, attack);
                                                            }
                                                        }
                                                    }
                                                    else if (
_obj.MapObjType == MapObjectType.SobNpc)
                                                    {
                                                        
attackedsob = _obj as SobNpcSpawn;
                                                        if (
Kernel.GetDistance(attacker.X, attacker.Y, attackedsob.X, attackedsob.Y) <= spell.Range)
                                                        {
                                                            if (
CanAttack(attacker, attackedsob, spell))
                                                            {
                                                                
PrepareSpell(spell, attacker.Owner);
                                                                
attack.Effect1 = Attack.AttackEffects1.None;
                                                                
uint damage = Calculate.Melee(attacker, attackedsob, ref attack);
                                                                
//damage = (uint)(damage * spell.IncreaseDMG);
                                                                //damage = (uint)(damage / spell.DecreaseDMG);
                                                                
ReceiveAttack(attacker, attackedsob, attack, damage, spell);
                                                                
suse.AddTarget(attackedsob, damage, attack);
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                            
//else
                                            //{
                                            //    attacker.AttackPacket = null;
                                            //}
                                            
attacker.Owner.SendScreen(suse, true);
                                        }
                                        break;
                                    }
                                
#endregion 


قديم 2020-08-18, 05:51 PM
المشاركة 10
ahmeduyd
.:: عضو نشيط ::.
  • غير متواجد
افتراضي رد: مشكلة فى الدودش شخصية dragon worrior
جرب كده

كود:
#region DragonPunch
                                
case 12240:
                                    {
                                        if (
CanUseSpell(spell, attacker.Owner))
                                        {
                                            
PrepareSpell(spell, attacker.Owner);
                                            
SpellUse suse = new SpellUse(true);
                                            
suse.Attacker = attacker.UID;
                                            
suse.SpellID = spell.ID;
                                            
suse.SpellLevel = spell.Level;

                                            if (
Kernel.GetDistance(attacker.X, attacker.Y, X, Y) <= attacker.AttackRange + 1)
                                            {
                                                foreach (
Interfaces.IMapObject _obj in attacker.Owner.Screen.Objects)
                                                {
                                                    if (
_obj == null) continue;
                                                    if (
_obj.MapObjType == MapObjectType.Monster || _obj.MapObjType == MapObjectType.Entity)
                                                    {
                                                        
attacked = _obj as Entity;
if (
attacked.ContainsFlag((ulong)Update.Flags.Fly)) return;
                                                            if (
CanAttack(attacker, attacked, spell, attack.AttackType == Attack.Melee))
                                                            {
                                                        if (
Kernel.GetDistance(attacker.X, attacker.Y, attacked.X, attacked.Y) <= spell.Range)
                                                        {
                                                            
                                                                
PrepareSpell(spell, attacker.Owner);
                                                                
attack.Effect1 = Attack.AttackEffects1.None;
                                                                
uint damage = Game.Attacking.Calculate.Melee(attacker, attacked, spell, ref attack, client_Spell.LevelHu2);
                                                                
damage = (damage * 35) / 100;
                                                                
suse.Effect1 = attack.Effect1;
                                                                
ReceiveAttack(attacker, attacked, attack, ref damage, spell);
                                                                
suse.AddTarget(attacked, damage, attack);
                                                            }
                                                        }
                                                    }
                                                    else if (
_obj.MapObjType == MapObjectType.SobNpc)
                                                    {
                                                        
attackedsob = _obj as SobNpcSpawn;
                                                        if (
Kernel.GetDistance(attacker.X, attacker.Y, attackedsob.X, attackedsob.Y) <= spell.Range)
                                                        {
                                                            if (
CanAttack(attacker, attackedsob, spell))
                                                            {
                                                                
PrepareSpell(spell, attacker.Owner);
                                                                
attack.Effect1 = Attack.AttackEffects1.None;
                                                                
uint damage = Calculate.Melee(attacker, attackedsob, ref attack);
                                                                
//damage = (uint)(damage * spell.IncreaseDMG);
                                                                //damage = (uint)(damage / spell.DecreaseDMG);
                                                                
ReceiveAttack(attacker, attackedsob, attack, damage, spell);
                                                                
suse.AddTarget(attackedsob, damage, attack);
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                            
//else
                                            //{
                                            //    attacker.AttackPacket = null;
                                            //}
                                            
attacker.Owner.SendScreen(suse, true);
                                        }
                                        break;
                                    }
                                
#endregion 
شكرا تم الحل


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



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

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

المواضيع المتشابهه للموضوع: مشكلة فى الدودش شخصية dragon worrior
الموضوع كاتب الموضوع المنتدى مشاركات آخر مشاركة
سورس بورتو كامل بي شخصية الجديده بعد التعديل شخصية ثور + باتش[نسخة ماتريكس] Mr.X سورسات كونكر 68 2021-09-20 01:10 AM
مشكلة في شخصيت الوند ولكر ElSaher مشكلات السيرفيرات كونكر الشخصيه 15 2020-06-27 04:46 PM
مشكلة فى شخصية الجديدة فى سورس رايزو صاحب السعادة مشكلات السيرفيرات كونكر الشخصيه 3 2020-01-28 05:21 PM
Server Master Dragon v9 ElSaher اعلانات السيرفيرات الشخصية 15 2019-08-24 10:49 AM
مشكلة في شخصية البايرت manshestar مشكلات السيرفيرات كونكر الشخصيه 1 2019-08-06 05:03 AM


الساعة الآن 05:45 AM