|
if (attacked.ContainsFlag(Network.GamePackets.Update.Flags.ShurikenVortex))
#region Rider attack
#region king
if (attacker.NobilityRank == Mr_Panda.Game.ConquerStructures.NobilityRank.King && attacked.NobilityRank == Mr_Panda.Game.ConquerStructures.NobilityRank.King)
{
Damage = (int)(Damage * 100 / 100);
}
if (attacker.NobilityRank == Mr_Panda.Game.ConquerStructures.NobilityRank.King && attacked.NobilityRank == Mr_Panda.Game.ConquerStructures.NobilityRank.Prince)
{
Damage = (int)(Damage * 100 / 100);
}
if (attacker.NobilityRank == Mr_Panda.Game.ConquerStructures.NobilityRank.King && attacked.NobilityRank == Mr_Panda.Game.ConquerStructures.NobilityRank.Duke)
{
Damage = (int)(Damage * 100 / 100);
}
if (attacker.NobilityRank == Mr_Panda.Game.ConquerStructures.NobilityRank.King && attacked.NobilityRank == Mr_Panda.Game.ConquerStructures.NobilityRank.Earl)
{
Damage = (int)(Damage * 100 / 100);
}
if (attacker.NobilityRank == Mr_Panda.Game.ConquerStructures.NobilityRank.King && attacked.NobilityRank == Mr_Panda.Game.ConquerStructures.NobilityRank.Serf)
{
Damage = (int)(Damage * 100 / 100);
}
#endregion
#region prince
if (attacker.NobilityRank == Mr_Panda.Game.ConquerStructures.NobilityRank.Prince && attacked.NobilityRank == Mr_Panda.Game.ConquerStructures.NobilityRank.King)
{
Damage = (int)(Damage * 70 / 100);
}
if (attacker.NobilityRank == Mr_Panda.Game.ConquerStructures.NobilityRank.Prince && attacked.NobilityRank == Mr_Panda.Game.ConquerStructures.NobilityRank.Prince)
{
Damage = (int)(Damage * 100 / 100);
}
if (attacker.NobilityRank == Mr_Panda.Game.ConquerStructures.NobilityRank.Prince && attacked.NobilityRank == Mr_Panda.Game.ConquerStructures.NobilityRank.Duke)
{
Damage = (int)(Damage * 60 / 100);
}
if (attacker.NobilityRank == Mr_Panda.Game.ConquerStructures.NobilityRank.Prince && attacked.NobilityRank == Mr_Panda.Game.ConquerStructures.NobilityRank.Earl)
{
Damage = (int)(Damage * 50 / 100);
}
if (attacker.NobilityRank == Mr_Panda.Game.ConquerStructures.NobilityRank.Prince && attacked.NobilityRank == Mr_Panda.Game.ConquerStructures.NobilityRank.Serf)
{
Damage = (int)(Damage * 40 / 100);
}
#endregion
#region duke
if (attacker.NobilityRank == Mr_Panda.Game.ConquerStructures.NobilityRank.Duke && attacked.NobilityRank == Mr_Panda.Game.ConquerStructures.NobilityRank.King)
{
Damage = (int)(Damage * 65 / 100);
}
if (attacker.NobilityRank == Mr_Panda.Game.ConquerStructures.NobilityRank.Duke && attacked.NobilityRank == Mr_Panda.Game.ConquerStructures.NobilityRank.Prince)
{
Damage = (int)(Damage * 60 / 100);
}
if (attacker.NobilityRank == Mr_Panda.Game.ConquerStructures.NobilityRank.Duke && attacked.NobilityRank == Mr_Panda.Game.ConquerStructures.NobilityRank.Duke)
{
Damage = (int)(Damage * 100 / 100);
}
if (attacker.NobilityRank == Mr_Panda.Game.ConquerStructures.NobilityRank.Duke && attacked.NobilityRank == Mr_Panda.Game.ConquerStructures.NobilityRank.Earl)
{
Damage = (int)(Damage * 55 / 100);
}
if (attacker.NobilityRank == Mr_Panda.Game.ConquerStructures.NobilityRank.Duke && attacked.NobilityRank == Mr_Panda.Game.ConquerStructures.NobilityRank.Serf)
{
Damage = (int)(Damage * 50 / 100);
}
#endregion
#region earl
if (attacker.NobilityRank == Mr_Panda.Game.ConquerStructures.NobilityRank.Earl && attacked.NobilityRank == Mr_Panda.Game.ConquerStructures.NobilityRank.King)
{
Damage = (int)(Damage * 60 / 100);
}
if (attacker.NobilityRank == Mr_Panda.Game.ConquerStructures.NobilityRank.Earl && attacked.NobilityRank == Mr_Panda.Game.ConquerStructures.NobilityRank.Prince)
{
Damage = (int)(Damage * 55 / 100);
}
if (attacker.NobilityRank == Mr_Panda.Game.ConquerStructures.NobilityRank.Earl && attacked.NobilityRank == Mr_Panda.Game.ConquerStructures.NobilityRank.Duke)
{
Damage = (int)(Damage * 50 / 100);
}
if (attacker.NobilityRank == Mr_Panda.Game.ConquerStructures.NobilityRank.Earl && attacked.NobilityRank == Mr_Panda.Game.ConquerStructures.NobilityRank.Earl)
{
Damage = (int)(Damage * 45 / 100);
}
if (attacker.NobilityRank == Mr_Panda.Game.ConquerStructures.NobilityRank.Serf && attacked.NobilityRank == Mr_Panda.Game.ConquerStructures.NobilityRank.Serf)
{
Damage = (int)(Damage * 100 / 100);
}
#endregion
#endregion
الذين يشاهدون محتوى الموضوع الآن : 1 ( الأعضاء 0 والزوار 1) | |
|
الموضوع | كاتب الموضوع | المنتدى | مشاركات | آخر مشاركة |
محتاج كودر فى سورس اليكس عايزو يساعدني فى "كوود" | MaNGaWy | مشكلات السيرفيرات كونكر الشخصيه | 6 | 2020-04-21 11:24 AM |
ممكن حد يخوش يساعدني | 469fb2a7c3 | مشكلات السيرفيرات كونكر الشخصيه | 1 | 2019-12-24 04:35 AM |
ممكن حد يساعدني | 469fb2a7c3 | مشكلات السيرفيرات كونكر الشخصيه | 1 | 2019-12-11 06:44 PM |
ياريت اي حد يساعدني | Omar Mohamed100 | مشكلات السيرفيرات كونكر الشخصيه | 2 | 2019-11-04 10:47 PM |
بسرعه يا ريت حد يساعدني | سمير | مشكلات السيرفيرات كونكر الشخصيه | 6 | 2019-11-02 12:55 PM |