عرض مشاركة واحدة
قديم 2019-12-14, 04:16 AM
المشاركة 5
Rider
.:: عضو خبير ::.
  • غير متواجد
افتراضي رد: مشكلة محدش عارف يحلها لما نشوف اخرتها السورس الي نزلو MrZezo
handle.cs

ابحث

كود:
public static void ReceiveAttack(Game.Entity attackerSobNpcSpawn attackedAttack attackuint damageDatabase.SpellInformation spell

جواها ضيف


كود:
#region CW

            
if (attacker.MapID == 1509)
            {
                if (
attacked.UID == 812)
                {
                    
Clan clan attacker.GetClan;
                    if (
Game.ClanWar.PoleKeeper == clan)
                        return;
                    if (
attacked.Hitpoints <= damage)
                        
attacked.Hitpoints 0;
                    
Game.ClanWar.AddScore(damageclan);
                }
            }
            
#endregion 


كود:
1509 ده رقم مابه لو مختلف عندك غيره و كذلك الوضع بالنسبه لايدي البوله 

سيرش

كود:
 public static bool CanAttack(Game.Entity attackerSobNpcSpawn attackedDatabase.SpellInformation spell

جواها ضيف
كود:
 #region CWcan atk
            
if (attacker.MapID == 1509)
            {
                if (
attacker.ClanId == || !Game.ClanWar.IsWar)
                {
                    if (
attacked.UID == 812)
                    {
                        return 
false;
                    }
                }
                if (
Game.ClanWar.PoleKeeper != null)
                {
                    if (
Game.ClanWar.PoleKeeper == attacker.GetClan)
                    {
                        if (
attacked.UID == 812)
                        {
                            return 
false;
                        }
                    }
                }
            }
            
#endregion 

نفس الحوار بردوا لرقم المابه و رقم البوله
سيرش

كود:
public static bool CanAttack(Game.Entity attackerGame.Entity attackedDatabase.SpellInformation spellbool melee

ارمي جواها دي
كود:
 if (attacker.MapID == 1507)
            {
                if (!
Game.ClanWarArena.Tournaments[4].Open)
                {
                    if (!
attacker.AllowToAttack)
                        return 
false;
                }
            } 

دي ملهاش دعوه بكلان وار بس دي وار تانيه تبع كلان بردوا عباره عن كذا بوله المهم

المهم الاقي فين رقم مابه و رقم بوله الي كنا بنتكلم عنهم فوق Unionwar.cs

سيرش

كود:
public static void Initiate()