|
المشاركات 144 |
+التقييم 0.08 |
تاريخ التسجيل Aug 2019 |
الاقامة |
نظام التشغيل |
رقم العضوية 925 |
أفضل جواب - كتبه Tefa |
حط الكود زي ما كنت مديهولك رجاء متجودش كود:
ده هيخليه يختفي انما تحكم ف شكله من Treasurebox.cs |
#region Ridercontrole
#region king
//الكنج و هوه بيضرب
if (attacker.NobilityRank == Game.ConquerStructures.NobilityRank.King && attacked.NobilityRank == Game.ConquerStructures.NobilityRank.King)
{
damage = (uint)(damage * 114/100);
}
if (attacker.NobilityRank == Game.ConquerStructures.NobilityRank.King && attacked.NobilityRank == Game.ConquerStructures.NobilityRank.Prince)
{
damage = (uint)(damage * 105 / 100);
}
if (attacker.NobilityRank == Game.ConquerStructures.NobilityRank.King && attacked.NobilityRank == Game.ConquerStructures.NobilityRank.Duke)
{
damage = (uint)(damage * 113 / 100);
}
if (attacked.NobilityRank == Game.ConquerStructures.NobilityRank.Earl || attacked.NobilityRank == Game.ConquerStructures.NobilityRank.Knight || attacked.NobilityRank == Game.ConquerStructures.NobilityRank.Serf && attacker.NobilityRank == Game.ConquerStructures.NobilityRank.King)
{
damage = (uint)(damage * 120 / 100);
}
#endregion
#region prince
if (attacker.NobilityRank == Game.ConquerStructures.NobilityRank.Prince && attacked.NobilityRank == Game.ConquerStructures.NobilityRank.King)
{
damage = (uint)(damage * 174 / 100);
}
if (attacker.NobilityRank == Game.ConquerStructures.NobilityRank.Prince && attacked.NobilityRank == Game.ConquerStructures.NobilityRank.Prince)
{
damage = (uint)(damage * 133 / 100);
}
if (attacker.NobilityRank == Game.ConquerStructures.NobilityRank.Prince && attacked.NobilityRank == Game.ConquerStructures.NobilityRank.Duke)
{
damage = (uint)(damage * 109 / 100);
}
if (attacked.NobilityRank == Game.ConquerStructures.NobilityRank.Earl || attacked.NobilityRank == Game.ConquerStructures.NobilityRank.Knight || attacked.NobilityRank == Game.ConquerStructures.NobilityRank.Serf && attacker.NobilityRank == Game.ConquerStructures.NobilityRank.Prince)
{
damage = (uint)(damage * 115 / 100);
}
#endregion
#region Duke
if (attacker.NobilityRank == Game.ConquerStructures.NobilityRank.Duke && attacked.NobilityRank == Game.ConquerStructures.NobilityRank.King)
{
damage = (uint)(damage * 179 / 100);
}
if (attacker.NobilityRank == Game.ConquerStructures.NobilityRank.Duke && attacked.NobilityRank == Game.ConquerStructures.NobilityRank.Prince)
{
damage = (uint)(damage * 185 / 100);
}
if (attacker.NobilityRank == Game.ConquerStructures.NobilityRank.Duke && attacked.NobilityRank == Game.ConquerStructures.NobilityRank.Duke)
{
damage = (uint)(damage * 115 / 100);
}
if (attacked.NobilityRank == Game.ConquerStructures.NobilityRank.Earl || attacked.NobilityRank == Game.ConquerStructures.NobilityRank.Knight || attacked.NobilityRank == Game.ConquerStructures.NobilityRank.Serf && attacker.NobilityRank == Game.ConquerStructures.NobilityRank.Duke)
{
damage = (uint)(damage * 105 / 100);
}
#endregion
#region earl
if (attacker.NobilityRank == Game.ConquerStructures.NobilityRank.Earl && attacked.NobilityRank == Game.ConquerStructures.NobilityRank.King)
{
damage = (uint)(damage * 179 / 100);
}
if (attacker.NobilityRank == Game.ConquerStructures.NobilityRank.Earl && attacked.NobilityRank == Game.ConquerStructures.NobilityRank.Prince)
{
damage = (uint)(damage * 186 / 100);
}
if (attacker.NobilityRank == Game.ConquerStructures.NobilityRank.Earl && attacked.NobilityRank == Game.ConquerStructures.NobilityRank.Duke)
{
damage = (uint)(damage * 190 / 100);
}
if (attacked.NobilityRank == Game.ConquerStructures.NobilityRank.Earl || attacked.NobilityRank == Game.ConquerStructures.NobilityRank.Knight || attacked.NobilityRank == Game.ConquerStructures.NobilityRank.Serf && attacker.NobilityRank == Game.ConquerStructures.NobilityRank.Earl || attacker.NobilityRank == Game.ConquerStructures.NobilityRank.Serf || attacker.NobilityRank == Game.ConquerStructures.NobilityRank.Knight)
{
damage = (uint)(damage * 150 / 100);
}
#endregion
#endregion
الذين يشاهدون محتوى الموضوع الآن : 1 ( الأعضاء 0 والزوار 1) | |
أدوات الموضوع | |
|
الموضوع | كاتب الموضوع | المنتدى | مشاركات | آخر مشاركة |
مشكلة الاتاك handel احمد فتحي ارجو الحل بعد اذنكم | Abod ayman | مشكلات السيرفيرات كونكر الشخصيه | 3 | 2020-04-05 09:26 AM |
مشكلة في الاتاك حل ضروري لان السرفر مفتوح وعملالي مشاكل | Abod ayman | مشكلات السيرفيرات كونكر الشخصيه | 4 | 2020-04-04 11:36 PM |
مشكلة في اتاك الوحوش ارجوا الحل ضروري | Abod ayman | مشكلات السيرفيرات كونكر الشخصيه | 8 | 2020-03-30 03:46 AM |
ضرورى من فضلكم مشكلة فى اتاك الكتانا بتاعة النينجا | ViORX | مشكلات السيرفيرات كونكر الشخصيه | 15 | 2019-09-05 05:59 PM |
محتاج حل لى مشكلة صغيرة خالص | osama | مشكلات السيرفيرات كونكر الشخصيه | 11 | 2019-08-08 07:38 AM |