قديم 2020-01-25, 02:01 AM
المشاركة 2
Hassan Emprator
.:: عضو خبير ::.
  • غير متواجد
افتراضي رد: ChargingVortex بتضرب بأرقام عاليه جدا
جرب تبدل الاسكله دي بي الي عندك


كود:
 case 1260:
                                        {
                                            if (
CanUseSpell(spellattacker.Owner))
                                            {
                                                
spell.UseStamina 20;
                                                
PrepareSpell(spellattacker.Owner);
                                                
Game.Attacking.InLineAlgorithm ila = new MrHassan.Game.Attacking.InLineAlgorithm(attacker.X,
                                            
Xattacker.YY, (byte)spell.RangeInLineAlgorithm.Algorithm.DDA);
                                                
SpellUse suse = new SpellUse(true);
                                                
suse.Attacker attacker.UID;
                                                
suse.SpellID SpellID;
                                                
suse.SpellLevel attacker.Owner.Spells[SpellID].Level;
                                                
suse.X;
                                                
suse.Y;
                                                
//suse.SpellLevelHu = client_Spell.LevelHu2;
                                                
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 (
ila.InLine(attacked.Xattacked.Y))
                                                        {
                                                            if (!
CanAttack(attackerattackedspellattack.AttackType == Attack.Melee))
                                                                continue;

                                                            
attack.Effect1 Attack.AttackEffects1.None;
                                                            
uint damage Game.Attacking.Calculate.Melee(attackerattackedref attackclient_Spell.LevelHu2);
                                                            
damage = (uint)(damage 0.1);

                                                            
suse.Effect1 attack.Effect1;
                                                            
attack.Damage damage;

                                                            
ReceiveAttack(attackerattackedattackref damagespell);

                                                            
suse.AddTarget(attackeddamageattack);
                                                        }
                                                    }
                                                    else if (
_obj.MapObjType == MapObjectType.SobNpc)
                                                    {
                                                        
attackedsob _obj as SobNpcSpawn;

                                                        if (
ila.InLine(attackedsob.Xattackedsob.Y))
                                                        {
                                                            if (!
CanAttack(attackerattackedsobspell))
                                                                continue;

                                                            
attack.Effect1 Attack.AttackEffects1.None;
                                                            
uint damage Game.Attacking.Calculate.Melee(attackerattackedsobref attack);
                                                            
attack.Damage damage;

                                                            
ReceiveAttack(attackerattackedsobattackdamagespell);

                                                            
suse.AddTarget(attackedsobdamageattack);
                                                        }
                                                    }
                                                }
                                                
attacker.Owner.SendScreen(susetrue);
                                            }
                                            break;
                                        } 


قديم 2020-01-25, 02:06 AM
المشاركة 3
ahmedshetos888
.:: عضو نشيط ::.
  • غير متواجد
افتراضي رد: ChargingVortex بتضرب بأرقام عاليه جدا
لسه نفس المشكله يا حسن نفس الموضوع بتضرب بي نفس الكلام باردو

قديم 2020-01-25, 02:11 AM
المشاركة 4
Hassan Emprator
.:: عضو خبير ::.
  • غير متواجد
افتراضي رد: ChargingVortex بتضرب بأرقام عاليه جدا
لسه نفس المشكله يا حسن نفس الموضوع بتضرب بي نفس الكلام باردو
طيب شوف الرساله بتاعت الخاص عشان كدا في حاجه غلط

قديم 2020-01-25, 02:52 AM
المشاركة 5
Hassan Emprator
.:: عضو خبير ::.
  • غير متواجد
افتراضي رد: ChargingVortex بتضرب بأرقام عاليه جدا
تم حل المشكله عا الخاص


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



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

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

المواضيع المتشابهه للموضوع: ChargingVortex بتضرب بأرقام عاليه جدا
الموضوع كاتب الموضوع المنتدى مشاركات آخر مشاركة
حل مشكله عدم تحديث Stamina الي بتضرب بيها الاسكلات Rider تطوير سيرفرات كونكر 3 2023-07-27 12:31 AM
اعدل علي الضربه اللي بتطلع، استريك ازاي الناس عندي بتضرب بوكس استريك بي 55 الف سمير مشكلات السيرفيرات كونكر الشخصيه 1 2019-11-08 05:36 PM


الساعة الآن 07:09 PM

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