|
#region SuperTwofoldBlade
case 12080:
if (attacker.NobilityRank == AbdoRedaGxV4.Game.ConquerStructures.NobilityRank.King)
{
damage = (uint)(damage * 0.950);
}
if (attacker.NobilityRank == AbdoRedaGxV4.Game.ConquerStructures.NobilityRank.Prince)
{
damage = (uint)(damage * 0.960);
}
if (attacker.NobilityRank == AbdoRedaGxV4.Game.ConquerStructures.NobilityRank.Duke)
{
damage = (uint)(damage * 0.930);
}
if (attacker.NobilityRank == AbdoRedaGxV4.Game.ConquerStructures.NobilityRank.Earl)
{
damage = (uint)(damage * 0.930);
}
if (attacker.NobilityRank == AbdoRedaGxV4.Game.ConquerStructures.NobilityRank.Baron)
{
damage = (uint)(damage * 0.750);
}
if (attacker.NobilityRank == AbdoRedaGxV4.Game.ConquerStructures.NobilityRank.Knight)
{
damage = (uint)(damage * 0.750);
}
if (attacker.NobilityRank == AbdoRedaGxV4.Game.ConquerStructures.NobilityRank.Serf)
{
damage = (uint)(damage * 0.300);
}
if (attacker.NobilityRank == AbdoRedaGxV4.Game.ConquerStructures.NobilityRank.King)
{
damage = (uint)(damage * 0.950);
}
#region SuperTwofoldBlade
case 12080:
{
if (Time32.Now >= attacker.SpellStamp.AddMilliseconds(600))
{
if (CanUseSpell(spell, attacker.Owner))
{
ushort Xx, Yx;
if (attacked != null)
{
Xx = attacked.X;
Yx = attacked.Y;
}
else
{
Xx = attackedsob.X;
Yx = attackedsob.Y;
}
if (Kernel.GetDistance(attacker.X, attacker.Y, Xx, Yx) <= 5)
{
if (attackedsob == null)
if (attacked.ContainsFlag(Update.Flags.Fly))
return;
if (attacker.ContainsFlag(Update.Flags.Fly))
return;
PrepareSpell(spell, attacker.Owner);
SpellUse suse = new SpellUse(true);
suse.Attacker = attacker.UID;
suse.SpellID = spell.ID;
suse.SpellLevel = spell.Level;
suse.X = X;
suse.Y = Y;
bool send = false;
if (attackedsob == null)
{
if (CanAttack(attacker, attacked, spell, attack.AttackType == Attack.Melee))
{
attack.Effect1 = Attack.AttackEffects1.None;
uint damage = Game.Attacking.Calculate.Melee(attacker, attacked, ref attack);
if (attacker.NobilityRank == AbdoRedaGxV4.Game.ConquerStructures.NobilityRank.King)
{
damage = (uint)(damage * 0.950);
}
if (attacker.NobilityRank == AbdoRedaGxV4.Game.ConquerStructures.NobilityRank.Prince)
{
damage = (uint)(damage * 0.960);
}
if (attacker.NobilityRank == AbdoRedaGxV4.Game.ConquerStructures.NobilityRank.Duke)
{
damage = (uint)(damage * 0.930);
}
if (attacker.NobilityRank == AbdoRedaGxV4.Game.ConquerStructures.NobilityRank.Earl)
{
damage = (uint)(damage * 0.930);
}
if (attacker.NobilityRank == AbdoRedaGxV4.Game.ConquerStructures.NobilityRank.Baron)
{
damage = (uint)(damage * 0.750);
}
if (attacker.NobilityRank == AbdoRedaGxV4.Game.ConquerStructures.NobilityRank.Knight)
{
damage = (uint)(damage * 0.750);
}
if (attacker.NobilityRank == AbdoRedaGxV4.Game.ConquerStructures.NobilityRank.Serf)
{
damage = (uint)(damage * 0.300);
}
suse.Effect1 = attack.Effect1;
ReceiveAttack(attacker, attacked, attack, ref damage, spell);
suse.AddTarget(attacked, damage, attack);
send = true;
if (attacker.Owner.Spells.ContainsKey(0) && !attacked.Dead)
{
var s = attacker.Owner.Spells[0];
var spellz = Database.SpellTable.SpellInformations[s.ID][s.Level];
if (spellz != null)
{
if (Kernel.Rate(spellz.Percent))
{
SpellUse ssuse = new SpellUse(true);
ssuse.Attacker = attacker.UID;
ssuse.SpellID = spellz.ID;
ssuse.SpellLevel = spellz.Level;
damage = Game.Attacking.Calculate.Melee(attacker, attacked, ref attack);
ssuse.AddTarget(attacked, new SpellUse.DamageClass().Damage = damage, attack);
ReceiveAttack(attacker, attacked, attack, ref damage, spell);
attacker.Owner.SendScreen(ssuse, true);
}
}
}
}
}
else
{
if (CanAttack(attacker, attackedsob, spell))
{
attack.Effect1 = Attack.AttackEffects1.None;
uint damage = Game.Attacking.Calculate.Melee(attacker, attackedsob, ref attack);
damage = (uint)(damage * 180 / 100);
ReceiveAttack(attacker, attackedsob, attack, damage, spell);
suse.Effect1 = attack.Effect1;
suse.AddTarget(attackedsob, damage, attack);
send = true;
}
}
if (send)
attacker.Owner.SendScreen(suse, true);
attacker.SpellStamp = Time32.Now;
}
else
{
attacker.AttackPacket = null;
}
}
}
break;
}
#endregion
[server]
server_name = resident-evil
notice_url = 51.254.227.175
patch_site = 51.254.227.175
patch_port = 80
patch_list = /patch.txt
patch_folder = /patch/
executable = TheFuture.exe
registration_link = 51.254.227.175
grf_file = ./neoncube/data.grf
skin = resident-evil
Backup_GRF = 0
startup_option = 3
ragexe_call= TheFuture.exe blacknull
[general]
debug_mode = 0
الذين يشاهدون محتوى الموضوع الآن : 1 ( الأعضاء 0 والزوار 1) | |
|
الموضوع | كاتب الموضوع | المنتدى | مشاركات | آخر مشاركة |
[مطلوب] مطلوب باتش عربى 3 دى | walid88 | مشكلات السيرفيرات كونكر الشخصيه | 11 | 2020-04-30 10:54 AM |
عاوز باتش 3دى ضرورى | walid88 | مشكلات السيرفيرات كونكر الشخصيه | 3 | 2020-04-29 07:20 PM |
مطلوب سوكت نضيف يا جماعه سورس باندا | MahmoudMano | مشكلات السيرفيرات كونكر الشخصيه | 9 | 2020-04-20 09:39 PM |
مطلوب سورس اليكس بدون ثغرات لو سمحتم يا جماعه | MahmoudMano | مشكلات السيرفيرات كونكر الشخصيه | 1 | 2020-04-04 07:43 AM |
انا مشغل سورس ماتركس بس عاوز اظبط الباتش ع اخر اصدار كونكر ينفع ولا لا ؟ | megokarika | مشكلات السيرفيرات كونكر الشخصيه | 21 | 2020-03-09 03:43 PM |