المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : محتاج حد يساعدنى


taha
2019-12-08, 08:29 PM
عاوز اخلى الكنيج يدى البرنس ون هت والبرنس يدى الكنيج تو هت والبرنس يدى الدق ون هت والدق يدى البرنس 2 هت

وعاوز اعدل على سبس الحفلات والتوبات والحفلات الكبيره والدروب والوحش الكبيره

فا ممكن يقولى عليهم

Tefa
2019-12-08, 08:44 PM
افتح ملف
Calculate.cs
ابحث عن
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.Princ e)
{
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.Princ e && attacked.NobilityRank == Mr_Panda.Game.ConquerStructures.NobilityRank.King)
{
Damage = (int)(Damage * 70 / 100);
}
if (attacker.NobilityRank == Mr_Panda.Game.ConquerStructures.NobilityRank.Princ e && attacked.NobilityRank == Mr_Panda.Game.ConquerStructures.NobilityRank.Princ e)
{
Damage = (int)(Damage * 100 / 100);
}
if (attacker.NobilityRank == Mr_Panda.Game.ConquerStructures.NobilityRank.Princ e && attacked.NobilityRank == Mr_Panda.Game.ConquerStructures.NobilityRank.Duke)
{
Damage = (int)(Damage * 60 / 100);
}
if (attacker.NobilityRank == Mr_Panda.Game.ConquerStructures.NobilityRank.Princ e && attacked.NobilityRank == Mr_Panda.Game.ConquerStructures.NobilityRank.Earl)
{
Damage = (int)(Damage * 50 / 100);
}
if (attacker.NobilityRank == Mr_Panda.Game.ConquerStructures.NobilityRank.Princ e && 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.Princ e)
{
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.Princ e)
{
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

اعمل بيلد

Tefa
2019-12-08, 08:45 PM
عفواً لايمكن عرض الروابط في الإرشيف

taha
2019-12-08, 09:01 PM
حل مشكله الاتاك دى
يعنى لما اعمل دول الكنيج يدى البرنس ون هت والبرنس يدى الكنيج تو هت

Tefa
2019-12-08, 09:02 PM
ان شاء الله

taha
2019-12-08, 09:16 PM
حطيتوا فوق الكود ده
if (attacked.ContainsFlag(Network.GamePackets.Update. Flags.ShurikenVortex))
اعمل ايه تانى