قديم 2020-03-08, 09:27 PM
المشاركة 2
ElSaher
.:: عضو خبير ::.
  • غير متواجد
افتراضي رد: شغال بسورس 3d الى كان بيتبياع ب 1000 جنية
من Handle يا حوب

قديم 2020-03-09, 11:54 AM
المشاركة 3
MRonlineGvrix
.:: عضو مميز ::.
  • غير متواجد
افتراضي رد: شغال بسورس 3d الى كان بيتبياع ب 1000 جنية
بدلها با الي عندك


كود:
[PHP]                                #region WhirlwindKick
                                
case 10415:
                                    {
                                        if (
Time32.Now attacker.SpellStamp.AddMilliseconds(500))
                                        {
                                            
attacker.AttackPacket null; return;
                                        }
                                        if (
Kernel.GetDistance(attacker.Xattacker.YXY) <= 400)
                                        {
                                            if (
CanUseSpell(spellattacker.Owner))
                                            {
                                                
PrepareSpell(spellattacker.Owner);

                                                
SpellUse suse = new SpellUse(true);
                                                
suse.Attacker attacker.UID;
                                                
suse.SpellID spell.ID;
                                                
suse.SpellLevel 0;
                                                
suse.= (ushort)Kernel.Random.Next(310);
                                                
suse.0;
                                                
//suse.SpellLevelHu = client_Spell.LevelHu2;
                                                
if (Kernel.GetDistance(attacker.Xattacker.YXY) <= 500)
                                                {
                                                    for (
int c 0attacker.Owner.Screen.Objects.Lengthc++)
                                                    {
                                                        
//For a multi threaded application, while we go through the collection
                                                        //the collection might change. We will make sure that we wont go off  
                                                        //the limits with a check.
                                                        
if (>= attacker.Owner.Screen.Objects.Length)
                                                            break;
                                                        
Interfaces.IMapObject _obj attacker.Owner.Screen.Objects[c];
                                                        if (
_obj == null)
                                                            continue;
                                                        if (
_obj.MapObjType == MapObjectType.Monster || _obj.MapObjType == MapObjectType.Entity)
                                                        {
                                                            
attacked _obj as Entity;
                                                            if (
Kernel.GetDistance(attacker.Xattacker.Yattacked.Xattacked.Y) <= spell.Range)
                                                            {
                                                                if (
CanAttack(attackerattackedspellattack.AttackType == Attack.Ranged))
                                                                {
                                                                    var 
damage Game.Attacking.Calculate.Melee(attackerattackedref attack);
                                                                    
damage = (uint)(damage 0.570);
                                                                    
suse.Effect1 attack.Effect1;
                                                                    
ReceiveAttack(attackerattackedattackref damagespell);
                                                                    
attacked.Stunned true;
                                                                    
attacked.StunStamp Time32.Now;
                                                                    
suse.AddTarget(attackeddamageattack);

                                                                }
                                                            }
                                                        }
                                                    }
                                                    
attacker.AttackPacket null;
                                                }
                                                else
                                                {
                                                    
attacker.AttackPacket null; return;
                                                }
                                                
attacker.Owner.SendScreen(susetrue);
                                                
attacker.SpellStamp Time32.Now;
                                                
suse.Targets = new SafeDictionary<uintSpellUse.DamageClass>();
                                                
attacker.AttackPacket null; return;
                                            }
                                            
attacker.AttackPacket null;
                                        }
                                        
attacker.AttackPacket null; return;
                                    }
                                
#endregion
                                #endregion 

[/PHP]

قديم 2020-03-09, 12:54 PM
المشاركة 4
megokarika
.:: عضو نشيط ::.
  • غير متواجد
افتراضي رد: شغال بسورس 3d الى كان بيتبياع ب 1000 جنية
بدلها با الي عندك


كود:
[php]                                #region whirlwindkick
                                
case 10415:
                                    {
                                        if (
time32.now attacker.spellstamp.addmilliseconds(500))
                                        {
                                            
attacker.attackpacket null; return;
                                        }
                                        if (
kernel.getdistance(attacker.xattacker.yxy) <= 400)
                                        {
                                            if (
canusespell(spellattacker.owner))
                                            {
                                                
preparespell(spellattacker.owner);

                                                
spelluse suse = new spelluse(true);
                                                
suse.attacker attacker.uid;
                                                
suse.spellid spell.id;
                                                
suse.spelllevel 0;
                                                
suse.= (ushort)kernel.random.next(310);
                                                
suse.0;
                                                
//suse.spelllevelhu = client_spell.levelhu2;
                                                
if (kernel.getdistance(attacker.xattacker.yxy) <= 500)
                                                {
                                                    for (
int c 0attacker.owner.screen.objects.lengthc++)
                                                    {
                                                        
//for a multi threaded application, while we go through the collection
                                                        //the collection might change. We will make sure that we wont go off  
                                                        //the limits with a check.
                                                        
If (>= attacker.owner.screen.objects.length)
                                                            break;
                                                        
interfaces.imapobject _obj attacker.owner.screen.objects[c];
                                                        if (
_obj == null)
                                                            continue;
                                                        if (
_obj.mapobjtype == mapobjecttype.monster || _obj.mapobjtype == mapobjecttype.entity)
                                                        {
                                                            
attacked _obj as entity;
                                                            if (
kernel.getdistance(attacker.xattacker.yattacked.xattacked.y) <= spell.range)
                                                            {
                                                                if (
canattack(attackerattackedspellattack.attacktype == attack.ranged))
                                                                {
                                                                    var 
damage game.attacking.calculate.melee(attackerattackedref attack);
                                                                    
damage = (uint)(damage 0.570);
                                                                    
suse.effect1 attack.effect1;
                                                                    
receiveattack(attackerattackedattackref damagespell);
                                                                    
attacked.stunned true;
                                                                    
attacked.stunstamp time32.now;
                                                                    
suse.addtarget(attackeddamageattack);

                                                                }
                                                            }
                                                        }
                                                    }
                                                    
attacker.attackpacket null;
                                                }
                                                else
                                                {
                                                    
attacker.attackpacket null; return;
                                                }
                                                
attacker.owner.sendscreen(susetrue);
                                                
attacker.spellstamp time32.now;
                                                
suse.targets = new safedictionary<uintspelluse.damageclass>();
                                                
attacker.attackpacket null; return;
                                            }
                                            
attacker.attackpacket null;
                                        }
                                        
attacker.attackpacket null; return;
                                    }
                                
#endregion
                                #endregion 

[/php]

طبب كددا هوو اااللااتاك اى بقاا شديد وللاا تتعبان ووللاا اى ااا ااانننا مش فهم

قديم 2020-03-09, 01:35 PM
المشاركة 5
محمد ياسر
*
  • غير متواجد
افتراضي رد: شغال بسورس 3d الى كان بيتبياع ب 1000 جنية
magictype.cs
سيرش

كود:
spell.Damage int.Parse(line[10]); 

تحتها ضيف

كود:
  if (spell.ID == (ushort)Game.Enums.SpellID.WhirlwindKick)
                            
spell.Damage spell.Damage *(100)/100

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

قديم 2020-03-09, 02:06 PM
المشاركة 6
Tefa
.:: عضو خبير ::.
  • غير متواجد
افتراضي رد: شغال بسورس 3d الى كان بيتبياع ب 1000 جنية
magictype.cs
سيرش

كود:
spell.Damage int.Parse(line[10]); 

تحتها ضيف

كود:
  if (spell.ID == (ushort)Game.Enums.SpellID.WhirlwindKick)
                            
spell.Damage spell.Damage *(100)/100

100 الي بين قوسين دول هتزودها الاتاك هيزيد هتقللها الاتاك هيقل


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



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

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

المواضيع المتشابهه للموضوع: شغال بسورس 3d الى كان بيتبياع ب 1000 جنية
الموضوع كاتب الموضوع المنتدى مشاركات آخر مشاركة
استايل تون سيتي بيتباع بي 250 جنية ahmedfathy تطوير سيرفرات كونكر 63 2024-10-31 10:39 PM
ارجو دخول كل الناس الي شغالين بسورس اليكس TarekMando تطوير سيرفرات كونكر 22 2024-09-27 09:17 PM
مشكله بسورس mr.online mahmeod مشكلات السيرفيرات كونكر الشخصيه 7 2020-05-03 10:51 AM
لأول مرة علي النت استايل التون سيتي اللي بيتباع بي 250 جنية مجاني من احمد فتحي ahmedfathy تطوير سيرفرات كونكر 24 2019-09-27 06:42 AM
سيرفر DevilsEgy الاسطورة 3دي اخر اصدار من كونكر اونلين دروب 1000 كيس AhmedTikoo اعلانات السيرفيرات الشخصية 2 2019-07-26 02:32 AM


الساعة الآن 12:15 PM

Powered by vBulletin® Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.