|
المشاركات 1,940 |
+التقييم 0.95 |
تاريخ التسجيل Apr 2019 |
الاقامة https://www.facebook.com/daany |
نظام التشغيل |
رقم العضوية 1 |
#region NemesisTyrant Boss
if (Owner.Name == "NemesisTyrant")
{
killer.ConquerPoints += 500000;
byte times = (byte)Kernel.Random.Next(1, 3);
byte ref_times = (byte)Kernel.Random.Next(1, 6);
for (byte i = 0; i < times; i++)
{
uint Uid = 0;
byte type = (byte)Kernel.Random.Next(1, 29);
switch (type)
{
case 1:
Uid = 824020;
break;
case 2:
Uid = 824019;
break;
case 3:
Uid = 824018;
break;
case 4:
Uid = 823060;
break;
case 5:
Uid = 823061;
break;
case 6:
Uid = 823061;
break;
case 7:
Uid = 823060;
break;
case 8:
Uid = 823059;
break;
case 9:
Uid = 823058;
break;
case 10:
Uid = 822072;
break;
case 11:
Uid = 822071;
break;
case 12:
Uid = 821034;
break;
case 13:
Uid = 821033;
break;
case 14:
Uid = 820076;
break;
case 15:
Uid = 820075;
break;
case 16:
Uid = 820074;
break;
case 17:
Uid = 820073;
break;
case 18:
Uid = 800917;
break;
case 19:
Uid = 800811;
break;
case 20:
Uid = 800810;
break;
case 21:
Uid = 800725;
break;
case 22:
Uid = 800618;
break;
case 23:
Uid = 800522;
break;
case 24:
Uid = 800422;
break;
case 25:
Uid = 800255;
break;
case 26:
Uid = 800255;
break;
case 27:
Uid = 800142;
break;
case 28:
Uid = 800111;
break;
case 29:
Uid = 800020;
break;
}
if (Uid != 0)
{
killer.Owner.Inventory.Add(Uid, 0, 1);
killer.SubClasses.StudyPoints += 50000;
Conquer_Online_Server.Kernel.SendWorldMessage(new Conquer_Online_Server.Network.GamePackets.Message("Congratulations! " + killer.Name + " Has Defeated " + Name + " and dropped! " + Database.ConquerItemInformation.BaseInformations[Uid].Name + "!", System.Drawing.Color.White, 2011), Program.GamePool);
return;
}
}
}
#endregion
#region All Boss Drop Soul Ph7
// By HaMaDa ShaDow [ TorNaDo-Team ]
#region FuriousFlameDevastator
if (Name == "FuriousFlameDevastator")
{
killer.ConquerPoints += 500000;
byte times = (byte)Kernel.Random.Next(1, 3);
byte ref_times = (byte)Kernel.Random.Next(1, 6);
for (byte i = 0; i < times; i++)
{
uint Uid = 0;
byte type = (byte)Kernel.Random.Next(1, 29);
switch (type)
{
case 1:
Uid = 824020;
break;
case 2:
Uid = 824019;
break;
case 3:
Uid = 824018;
break;
case 4:
Uid = 823060;
break;
case 5:
Uid = 823061;
break;
case 6:
Uid = 823061;
break;
case 7:
Uid = 823060;
break;
case 8:
Uid = 823059;
break;
case 9:
Uid = 823058;
break;
case 10:
Uid = 822072;
break;
case 11:
Uid = 822071;
break;
case 12:
Uid = 821034;
break;
case 13:
Uid = 821033;
break;
case 14:
Uid = 820076;
break;
case 15:
Uid = 820075;
break;
case 16:
Uid = 820074;
break;
case 17:
Uid = 820073;
break;
case 18:
Uid = 800917;
break;
case 19:
Uid = 800811;
break;
case 20:
Uid = 800810;
break;
case 21:
Uid = 800725;
break;
case 22:
Uid = 800618;
break;
case 23:
Uid = 800522;
break;
case 24:
Uid = 800422;
break;
case 25:
Uid = 800255;
break;
case 26:
Uid = 800255;
break;
case 27:
Uid = 800142;
break;
case 28:
Uid = 800111;
break;
case 29:
Uid = 800020;
break;
}
if (Uid != 0)
{
killer.Owner.Inventory.Add(Uid, 0, 1);
killer.SubClasses.StudyPoints += 50000;
Conquer_Online_Server.Kernel.SendWorldMessage(new Conquer_Online_Server.Network.GamePackets.Message("Congratulations! " + killer.Name + " Has Defeated " + Name + " and dropped! " + Database.ConquerItemInformation.BaseInformations[Uid].Name + "!", System.Drawing.Color.White, 2011), Program.GamePool);
return;
}
}
}
#endregion
#region GhostReaver
if (Name == "GhostReaver")
{
killer.ConquerPoints += 500000;
byte times = (byte)Kernel.Random.Next(1, 3);
byte ref_times = (byte)Kernel.Random.Next(1, 6);
for (byte i = 0; i < times; i++)
{
uint Uid = 0;
byte type = (byte)Kernel.Random.Next(1, 29);
switch (type)
{
case 1:
Uid = 824020;
break;
case 2:
Uid = 824019;
break;
case 3:
Uid = 824018;
break;
case 4:
Uid = 823060;
break;
case 5:
Uid = 823061;
break;
case 6:
Uid = 823061;
break;
case 7:
Uid = 823060;
break;
case 8:
Uid = 823059;
break;
case 9:
Uid = 823058;
break;
case 10:
Uid = 822072;
break;
case 11:
Uid = 822071;
break;
case 12:
Uid = 821034;
break;
case 13:
Uid = 821033;
break;
case 14:
Uid = 820076;
break;
case 15:
Uid = 820075;
break;
case 16:
Uid = 820074;
break;
case 17:
Uid = 820073;
break;
case 18:
Uid = 800917;
break;
case 19:
Uid = 800811;
break;
case 20:
Uid = 800810;
break;
case 21:
Uid = 800725;
break;
case 22:
Uid = 800618;
break;
case 23:
Uid = 800522;
break;
case 24:
Uid = 800422;
break;
case 25:
Uid = 800255;
break;
case 26:
Uid = 800255;
break;
case 27:
Uid = 800142;
break;
case 28:
Uid = 800111;
break;
case 29:
Uid = 800020;
break;
}
if (Uid != 0)
{
killer.Owner.Inventory.Add(Uid, 0, 1);
killer.SubClasses.StudyPoints += 50000;
Conquer_Online_Server.Kernel.SendWorldMessage(new Conquer_Online_Server.Network.GamePackets.Message("Congratulations! " + killer.Name + " Has Defeated " + Name + " and dropped! " + Database.ConquerItemInformation.BaseInformations[Uid].Name + "!", System.Drawing.Color.White, 2011), Program.GamePool);
return;
}
}
}
#endregion
#region FuriousDevil
if (Name == "FuriousDevil")
{
killer.ConquerPoints += 500000;
byte times = (byte)Kernel.Random.Next(1, 3);
byte ref_times = (byte)Kernel.Random.Next(1, 6);
for (byte i = 0; i < times; i++)
{
uint Uid = 0;
byte type = (byte)Kernel.Random.Next(1, 29);
switch (type)
{
case 1:
Uid = 824020;
break;
case 2:
Uid = 824019;
break;
case 3:
Uid = 824018;
break;
case 4:
Uid = 823060;
break;
case 5:
Uid = 823061;
break;
case 6:
Uid = 823061;
break;
case 7:
Uid = 823060;
break;
case 8:
Uid = 823059;
break;
case 9:
Uid = 823058;
break;
case 10:
Uid = 822072;
break;
case 11:
Uid = 822071;
break;
case 12:
Uid = 821034;
break;
case 13:
Uid = 821033;
break;
case 14:
Uid = 820076;
break;
case 15:
Uid = 820075;
break;
case 16:
Uid = 820074;
break;
case 17:
Uid = 820073;
break;
case 18:
Uid = 800917;
break;
case 19:
Uid = 800811;
break;
case 20:
Uid = 800810;
break;
case 21:
Uid = 800725;
break;
case 22:
Uid = 800618;
break;
case 23:
Uid = 800522;
break;
case 24:
Uid = 800422;
break;
case 25:
Uid = 800255;
break;
case 26:
Uid = 800255;
break;
case 27:
Uid = 800142;
break;
case 28:
Uid = 800111;
break;
case 29:
Uid = 800020;
break;
}
if (Uid != 0)
{
killer.Owner.Inventory.Add(Uid, 0, 1);
killer.SubClasses.StudyPoints += 50000;
Conquer_Online_Server.Kernel.SendWorldMessage(new Conquer_Online_Server.Network.GamePackets.Message("Congratulations! " + killer.Name + " Has Defeated " + Name + " and dropped! " + Database.ConquerItemInformation.BaseInformations[Uid].Name + "!", System.Drawing.Color.White, 2011), Program.GamePool);
return;
}
}
}
#endregion
#region FlameDevastator
if (Name == "FlameDevastator")
{
killer.ConquerPoints += 500000;
byte times = (byte)Kernel.Random.Next(1, 3);
byte ref_times = (byte)Kernel.Random.Next(1, 6);
for (byte i = 0; i < times; i++)
{
uint Uid = 0;
byte type = (byte)Kernel.Random.Next(1, 29);
switch (type)
{
case 1:
Uid = 824020;
break;
case 2:
Uid = 824019;
break;
case 3:
Uid = 824018;
break;
case 4:
Uid = 823060;
break;
case 5:
Uid = 823061;
break;
case 6:
Uid = 823061;
break;
case 7:
Uid = 823060;
break;
case 8:
Uid = 823059;
break;
case 9:
Uid = 823058;
break;
case 10:
Uid = 822072;
break;
case 11:
Uid = 822071;
break;
case 12:
Uid = 821034;
break;
case 13:
Uid = 821033;
break;
case 14:
Uid = 820076;
break;
case 15:
Uid = 820075;
break;
case 16:
Uid = 820074;
break;
case 17:
Uid = 820073;
break;
case 18:
Uid = 800917;
break;
case 19:
Uid = 800811;
break;
case 20:
Uid = 800810;
break;
case 21:
Uid = 800725;
break;
case 22:
Uid = 800618;
break;
case 23:
Uid = 800522;
break;
case 24:
Uid = 800422;
break;
case 25:
Uid = 800255;
break;
case 26:
Uid = 800255;
break;
case 27:
Uid = 800142;
break;
case 28:
Uid = 800111;
break;
case 29:
Uid = 800020;
break;
}
if (Uid != 0)
{
killer.Owner.Inventory.Add(Uid, 0, 1);
killer.SubClasses.StudyPoints += 50000;
Conquer_Online_Server.Kernel.SendWorldMessage(new Conquer_Online_Server.Network.GamePackets.Message("Congratulations! " + killer.Name + " Has Defeated " + Name + " and dropped! " + Database.ConquerItemInformation.BaseInformations[Uid].Name + "!", System.Drawing.Color.White, 2011), Program.GamePool);
return;
}
}
}
#endregion
#region NaughtyMonkeyy
if (Name == "NaughtyMonkeyy")
{
killer.ConquerPoints += 500000;
byte times = (byte)Kernel.Random.Next(1, 3);
byte ref_times = (byte)Kernel.Random.Next(1, 6);
for (byte i = 0; i < times; i++)
{
uint Uid = 0;
byte type = (byte)Kernel.Random.Next(1, 29);
switch (type)
{
case 1:
Uid = 824020;
break;
case 2:
Uid = 824019;
break;
case 3:
Uid = 824018;
break;
case 4:
Uid = 823060;
break;
case 5:
Uid = 823061;
break;
case 6:
Uid = 823061;
break;
case 7:
Uid = 823060;
break;
case 8:
Uid = 823059;
break;
case 9:
Uid = 823058;
break;
case 10:
Uid = 822072;
break;
case 11:
Uid = 822071;
break;
case 12:
Uid = 821034;
break;
case 13:
Uid = 821033;
break;
case 14:
Uid = 820076;
break;
case 15:
Uid = 820075;
break;
case 16:
Uid = 820074;
break;
case 17:
Uid = 820073;
break;
case 18:
Uid = 800917;
break;
case 19:
Uid = 800811;
break;
case 20:
Uid = 800810;
break;
case 21:
Uid = 800725;
break;
case 22:
Uid = 800618;
break;
case 23:
Uid = 800522;
break;
case 24:
Uid = 800422;
break;
case 25:
Uid = 800255;
break;
case 26:
Uid = 800255;
break;
case 27:
Uid = 800142;
break;
case 28:
Uid = 800111;
break;
case 29:
Uid = 800020;
break;
}
if (Uid != 0)
{
killer.Owner.Inventory.Add(Uid, 0, 1);
killer.SubClasses.StudyPoints += 50000;
Conquer_Online_Server.Kernel.SendWorldMessage(new Conquer_Online_Server.Network.GamePackets.Message("Congratulations! " + killer.Name + " Has Defeated " + Name + " and dropped! " + Database.ConquerItemInformation.BaseInformations[Uid].Name + "!", System.Drawing.Color.White, 2011), Program.GamePool);
return;
}
}
}
#endregion
#endregion
#region Snow Banchee
if (Name == "SnowBanshee")
{
uint Uid = 0;
byte type = 30;
killer.ConquerPoints += 500000;
for (int i = 0; i < 1; i++)
{
type = (byte)Kernel.Random.Next(1, 29);
switch (type)
{
case 1:
Uid = 824020;
break;
case 2:
Uid = 824019;
break;
case 3:
Uid = 824018;
break;
case 4:
Uid = 823060;
break;
case 5:
Uid = 823061;
break;
case 6:
Uid = 823061;
break;
case 7:
Uid = 823060;
break;
case 8:
Uid = 823059;
break;
case 9:
Uid = 823058;
break;
case 10:
Uid = 822072;
break;
case 11:
Uid = 822071;
break;
case 12:
Uid = 821034;
break;
case 13:
Uid = 821033;
break;
case 14:
Uid = 820076;
break;
case 15:
Uid = 820075;
break;
case 16:
Uid = 820074;
break;
case 17:
Uid = 820073;
break;
case 18:
Uid = 800917;
break;
case 19:
Uid = 800811;
break;
case 20:
Uid = 800810;
break;
case 21:
Uid = 800725;
break;
case 22:
Uid = 800618;
break;
case 23:
Uid = 800522;
break;
case 24:
Uid = 800422;
break;
case 25:
Uid = 800255;
break;
case 26:
Uid = 800255;
break;
case 27:
Uid = 800142;
break;
case 28:
Uid = 800111;
break;
case 29:
Uid = 800020;
break;
}
if (Uid != 0)
{
ushort X = Owner.X, Y = Owner.Y;
Game.Map Map = Kernel.Maps[Owner.MapID];
//if (Map.SelectCoordonates(ref X, ref Y))
{
//Kernel.Spawn = false;
killer.Owner.Inventory.Add(Uid, 0, 1);
Kernel.SendWorldMessage(new Network.GamePackets.Message("Congratulations! " + killer.Name + " Has Defeated " + Name + " and dropped! " + Database.ConquerItemInformation.BaseInformations[Uid].Name + " and " + rates.SnowBanshe + " CPS!", System.Drawing.Color.White, Message.Center), Program.GamePool);
killer.ConquerPoints += rates.SnowBanshe;
Network.GamePackets._String str = new _String(true);
str.UID = killer.UID;
str.TextsCount = 1;
str.Type = _String.Effect;
str.Texts.Add("cortege");
killer.Owner.SendScreen(str, true);
// return;
}
}
}
}
#endregion
#region TeratoDragon
if (Name == "TeratoDragon")
{
uint Uid = 0;
byte type = 30;
killer.ConquerPoints += 500000;
for (int i = 0; i < 1; i++)
{
type = (byte)Kernel.Random.Next(1, 29);
switch (type)
{
case 1:
Uid = 824020;
break;
case 2:
Uid = 824019;
break;
case 3:
Uid = 824018;
break;
case 4:
Uid = 823060;
break;
case 5:
Uid = 823061;
break;
case 6:
Uid = 823061;
break;
case 7:
Uid = 823060;
break;
case 8:
Uid = 823059;
break;
case 9:
Uid = 823058;
break;
case 10:
Uid = 822072;
break;
case 11:
Uid = 822071;
break;
case 12:
Uid = 821034;
break;
case 13:
Uid = 821033;
break;
case 14:
Uid = 820076;
break;
case 15:
Uid = 820075;
break;
case 16:
Uid = 820074;
break;
case 17:
Uid = 820073;
break;
case 18:
Uid = 800917;
break;
case 19:
Uid = 800811;
break;
case 20:
Uid = 800810;
break;
case 21:
Uid = 800725;
break;
case 22:
Uid = 800618;
break;
case 23:
Uid = 800522;
break;
case 24:
Uid = 800422;
break;
case 25:
Uid = 800255;
break;
case 26:
Uid = 800255;
break;
case 27:
Uid = 800142;
break;
case 28:
Uid = 800111;
break;
case 29:
Uid = 800020;
break;
}
if (Uid != 0)
{
ushort X = Owner.X, Y = Owner.Y;
Game.Map Map = Kernel.Maps[Owner.MapID];
//if (Map.SelectCoordonates(ref X, ref Y))
{
//Kernel.Spawn = false;
killer.Owner.Inventory.Add(Uid, 0, 1);
Kernel.SendWorldMessage(new Network.GamePackets.Message("Congratulations! " + killer.Name + " Has Defeated " + Name + " and dropped! " + Database.ConquerItemInformation.BaseInformations[Uid].Name + " and " + rates.SnowBanshe + " CPS!", System.Drawing.Color.White, Message.Center), Program.GamePool);
killer.ConquerPoints += rates.SnowBanshe;
Network.GamePackets._String str = new _String(true);
str.UID = killer.UID;
str.TextsCount = 1;
str.Type = _String.Effect;
str.Texts.Add("cortege");
killer.Owner.SendScreen(str, true);
// return;
}
}
}
}
#endregion
#region SnowDemon
if (Name == "SnowDemon")
{
uint Uid = 0;
byte type = 30;
for (int i = 0; i < 1; i++)
{
type = (byte)Kernel.Random.Next(1, 29);
switch (type)
{
case 1:
Uid = 824020;
break;
case 2:
Uid = 824019;
break;
case 3:
Uid = 824018;
break;
case 4:
Uid = 823060;
break;
case 5:
Uid = 823061;
break;
case 6:
Uid = 823061;
break;
case 7:
Uid = 823060;
break;
case 8:
Uid = 823059;
break;
case 9:
Uid = 823058;
break;
case 10:
Uid = 822072;
break;
case 11:
Uid = 822071;
break;
case 12:
Uid = 821034;
break;
case 13:
Uid = 821033;
break;
case 14:
Uid = 820076;
break;
case 15:
Uid = 820075;
break;
case 16:
Uid = 820074;
break;
case 17:
Uid = 820073;
break;
case 18:
Uid = 800917;
break;
case 19:
Uid = 800811;
break;
case 20:
Uid = 800810;
break;
case 21:
Uid = 800725;
break;
case 22:
Uid = 800618;
break;
case 23:
Uid = 800522;
break;
case 24:
Uid = 800422;
break;
case 25:
Uid = 800255;
break;
case 26:
Uid = 800255;
break;
case 27:
Uid = 800142;
break;
case 28:
Uid = 800111;
break;
case 29:
Uid = 800020;
break;
}
if (Uid != 0)
{
ushort X = Owner.X, Y = Owner.Y;
Game.Map Map = Kernel.Maps[Owner.MapID];
if (Map.SelectCoordonates(ref X, ref Y))
{
killer.Owner.Inventory.Add(Uid, 0, 1);
Kernel.Spawn4 = false;
Kernel.SendWorldMessage(new Network.GamePackets.Message("Congratulations! " + killer.Name + " Has Defeated " + Name + " and dropped! " + Database.ConquerItemInformation.BaseInformations[Uid].Name + " and " + rates.TeratoDragon + " CPS!", System.Drawing.Color.White, Message.Center), Program.GamePool);
killer.ConquerPoints += rates.TeratoDragon;
Network.GamePackets._String str = new _String(true);
str.UID = killer.UID;
str.TextsCount = 1;
str.Type = _String.Effect;
str.Texts.Add("cortege");
killer.Owner.SendScreen(str, true);
// return;
}
}
}
}
#endregion
#region ThirillingSpook
if (Name == "ThrillingSpook")
{
uint Uid = 0;
byte type = 30;
for (int i = 0; i < 1; i++)
{
type = (byte)Kernel.Random.Next(1, 29);
switch (type)
{
case 1:
Uid = 824020;
break;
case 2:
Uid = 824019;
break;
case 3:
Uid = 824018;
break;
case 4:
Uid = 823060;
break;
case 5:
Uid = 823061;
break;
case 6:
Uid = 823061;
break;
case 7:
Uid = 823060;
break;
case 8:
Uid = 823059;
break;
case 9:
Uid = 823058;
break;
case 10:
Uid = 822072;
break;
case 11:
Uid = 822071;
break;
case 12:
Uid = 821034;
break;
case 13:
Uid = 821033;
break;
case 14:
Uid = 820076;
break;
case 15:
Uid = 820075;
break;
case 16:
Uid = 820074;
break;
case 17:
Uid = 820073;
break;
case 18:
Uid = 800917;
break;
case 19:
Uid = 800811;
break;
case 20:
Uid = 800810;
break;
case 21:
Uid = 800725;
break;
case 22:
Uid = 800618;
break;
case 23:
Uid = 800522;
break;
case 24:
Uid = 800422;
break;
case 25:
Uid = 800255;
break;
case 26:
Uid = 800255;
break;
case 27:
Uid = 800142;
break;
case 28:
Uid = 800111;
break;
case 29:
Uid = 800020;
break;
}
if (Uid != 0)
{
ushort X = Owner.X, Y = Owner.Y;
Game.Map Map = Kernel.Maps[Owner.MapID];
if (Map.SelectCoordonates(ref X, ref Y))
{
Kernel.Spawn3 = false;
killer.Owner.Inventory.Add(Uid, 0, 1);
Kernel.SendWorldMessage(new Network.GamePackets.Message("Congratulations! " + killer.Name + " Has Defeated " + Name + " and dropped! " + Database.ConquerItemInformation.BaseInformations[Uid].Name + " and " + rates.ThrillingSpook + " CPS!", System.Drawing.Color.White, Message.Center), Program.GamePool);
killer.ConquerPoints += 250000;
Network.GamePackets._String str = new _String(true);
str.UID = killer.UID;
str.TextsCount = 1;
str.Type = _String.Effect;
str.Texts.Add("cortege");
killer.Owner.SendScreen(str, true);
// return;
}
}
}
}
#endregion
#region NemesisTyrant
if (attacker.Name == "NemesisTyrant" || attacker.Name == "SnowDemon" || attacker.Name == "NaughtyMonkeyy" || attacker.Name == "FlameDevastator" || attacker.Name == "FuriousDevastato" || attacker.Name == "AwakeDevastator" || attacker.Name == "FuriousDevil" || attacker.Name == "FuriousFlameDevastator" || attacker.Name == "GhostReaver" || attacker.Name == "FuriousDevil")
{
uint rand = (uint)Conquer_Online_Server.Kernel.Random.Next(1, 4);
switch (rand)
{
case 1:
attacker.MonsterInfo.SpellID = 10001;
break;
case 2:
attacker.MonsterInfo.SpellID = 30010;
break;
case 3:
attacker.MonsterInfo.SpellID = 10001;
break;
case 4:
attacker.MonsterInfo.SpellID = 30010;
break;
}
if (Kernel.Rate(5))
{
attacker.MonsterInfo.SpellID = 30011;
}
if (Kernel.Rate(5))
{
attacker.MonsterInfo.SpellID = 30012;
}
#region IceThrom AngerCop
if (attacker.MonsterInfo.SpellID == 30010 || attacker.MonsterInfo.SpellID == 10001)
{
uint damage = 0;
damage += (uint)Kernel.Random.Next(1500, 3000);
if (attacked.Hitpoints <= damage)
{
attacked.Die(attacker);
}
else
{
attacked.Hitpoints -= damage;
}
if (attacker.Companion)
attacker.Owner.IncreaseExperience(Math.Min(damage, attacked.Hitpoints), true);
SpellUse suse = new SpellUse(true);
suse.Attacker = attacker.UID;
suse.SpellID = attacker.MonsterInfo.SpellID;
suse.X = attacked.X;
suse.Y = attacked.Y;
suse.AddTarget(attacked.UID, damage, attack);
attacked.Owner.SendScreen(suse, true);
}
#endregion
#region Chill
if (attacker.MonsterInfo.SpellID == 30011)
{
SpellUse suse = new SpellUse(true);
attack = new Attack(true);
attack.Effect1 = Attack.AttackEffects1.None;
uint damage = 0;
damage += (uint)Kernel.Random.Next(2700, 5000);
suse.Effect1 = attack.Effect1;
if (attacked.Hitpoints <= damage)
{
attacked.Die(attacker);
}
else
{
attacked.Hitpoints -= damage;
attacked.Owner.ChaosStamp = Time32.Now;
attacked.Owner.Entity.ChaosTime = 5;
var upd = new GameCharacterUpdates(true);
upd.UID = attacked.UID;
upd.Add(GameCharacterUpdates.Flustered, 0, 5);
attacked.Owner.SendScreen(upd, true);
attacked.Owner.Entity.AddFlag(Update.Flags.Confused);
}
if (attacker.Companion)
attacker.Owner.IncreaseExperience(Math.Min(damage, attacked.Hitpoints), true);
suse.Attacker = attacker.UID;
suse.SpellID = attacker.MonsterInfo.SpellID;
suse.X = attacked.X;
suse.Y = attacked.Y;
suse.AddTarget(attacked.UID, damage, attack);
foreach (var obj in attacked.Owner.Screen.Objects)
{
if (Calculations.InBox(obj.X, obj.Y, attacker.X, attacker.Y, 14))
{
if (obj.MapObjType == MapObjectType.Player)
{
if (obj.Owner.Entity.ContainsFlag(Update.Flags.Dead))
continue;
attacked = obj as Entity;
if (attacked.Hitpoints <= damage)
{
attacked.Die(attacker);
}
else
{
attacked.Hitpoints -= damage;
attacked.Owner.ChaosStamp = Time32.Now;
attacked.Owner.Entity.ChaosTime = 10;
var upd = new GameCharacterUpdates(true);
upd.UID = attacked.UID;
upd.Add(GameCharacterUpdates.Flustered, 0, 10);
attacked.Owner.SendScreen(upd, true);
attacked.Owner.Entity.AddFlag(Update.Flags.Confused);
}
suse.AddTarget(attacked.UID, damage, attack);
}
}
}
attacked.Owner.SendScreen(suse, true);
}
#endregion
#region AngerCrop
if (attacker.MonsterInfo.SpellID == 30012)
{
SpellUse suse = new SpellUse(true);
attack = new Attack(true);
attack.Effect1 = Attack.AttackEffects1.None;
uint damage = 0;
damage += (uint)Kernel.Random.Next(2700, 5000);
suse.Effect1 = attack.Effect1;
if (attacked.Hitpoints <= damage)
{
attacked.Die(attacker);
}
else
{
attacked.Hitpoints -= damage;
attacked.Owner.Entity.BlockStamp = Time32.Now;
attacked.Owner.Entity.BlockTime = 5;
GameCharacterUpdates update = new GameCharacterUpdates(true);
update.UID = attacked.UID;
update.Add(GameCharacterUpdates.Freeze, 0, 5);
attacked.Owner.SendScreen(update, true);
attacked.AddFlag(Update.Flags.Freeze);
}
if (attacker.Companion)
attacker.Owner.IncreaseExperience(Math.Min(damage, attacked.Hitpoints), true);
suse.Attacker = attacker.UID;
suse.SpellID = attacker.MonsterInfo.SpellID;
suse.X = attacked.X;
suse.Y = attacked.Y;
suse.AddTarget(attacked.UID, damage, attack);
foreach (var obj in attacked.Owner.Screen.Objects)
{
if (Calculations.InBox(obj.X, obj.Y, attacker.X, attacker.Y, 10))
{
if (obj.MapObjType == MapObjectType.Player)
{
if (obj.Owner.Entity.ContainsFlag(Update.Flags.Dead))
continue;
attacked = obj as Entity;
if (attacked.Hitpoints <= damage)
{
attacked.Die(attacker);
}
else
{
attacked.Hitpoints -= damage;
attacked.Owner.Entity.BlockStamp = Time32.Now;
attacked.Owner.Entity.BlockTime = 5;
GameCharacterUpdates update = new GameCharacterUpdates(true);
update.UID = attacked.UID;
update.Add(GameCharacterUpdates.Freeze, 0, 5);
attacked.Owner.SendScreen(update, true);
attacked.AddFlag(Update.Flags.Freeze);
}
suse.AddTarget(attacked.UID, damage, attack);
}
}
}
attacked.Owner.SendScreen(suse, true);
}
#endregion
}
#endregion
#region All Boss [TeamXor]
// Copyrights To TeamXor .. Mr.Tiger . ShaDow
case "Tiger1":
{
Database.MonsterInformation monster = new Conquer_Online_Server.Database.MonsterInformation();
monster.Boss = true;
monster.Hitpoints = 50000000;
monster.Level = 255;
monster.Mesh = 978;
monster.Name = "FuriousFlameDevastator";
monster.MaxAttack = 10500;
monster.AttackRange = 14;
monster.AttackType = 1;
monster.AttackSpeed = 1000;
monster.ViewRange = 15;
monster.MoveSpeed = 500;
monster.RunSpeed = 500;
monster.MinAttack = 59000;
Game.Entity entity = new Game.Entity(Game.EntityFlag.Monster, false);
entity.MapObjType = Game.MapObjectType.Monster;
entity.MonsterInfo = monster;
entity.MonsterInfo.Owner = entity;
entity.Name = "FuriousFlameDevastator";
entity.MinAttack = monster.MinAttack;
entity.MaxAttack = entity.MagicAttack = monster.MaxAttack;
entity.Hitpoints = entity.MaxHitpoints = monster.Hitpoints;
entity.Body = monster.Mesh;
entity.Level = monster.Level;
entity.Defence = 5000;
entity.X = client.Entity.X;
entity.Y = client.Entity.Y;
entity.UID = 417111;
entity.MapID = client.Entity.MapID;
entity.SendUpdates = true;
client.Map.RemoveEntity(entity);
client.Map.AddEntity(entity);
break;
}
case "Tiger2":
{
Database.MonsterInformation monster = new Conquer_Online_Server.Database.MonsterInformation();
monster.Boss = true;
monster.Hitpoints = 50000000;
monster.Level = 255;
monster.Mesh = 979;
monster.Name = "GhostReaver";
monster.MaxAttack = 10500;
monster.AttackRange = 14;
monster.AttackType = 1;
monster.AttackSpeed = 1000;
monster.ViewRange = 15;
monster.MoveSpeed = 500;
monster.RunSpeed = 500;
monster.MinAttack = 59000;
Game.Entity entity = new Game.Entity(Game.EntityFlag.Monster, false);
entity.MapObjType = Game.MapObjectType.Monster;
entity.MonsterInfo = monster;
entity.MonsterInfo.Owner = entity;
entity.Name = "GhostReaver";
entity.MinAttack = monster.MinAttack;
entity.MaxAttack = entity.MagicAttack = monster.MaxAttack;
entity.Hitpoints = entity.MaxHitpoints = monster.Hitpoints;
entity.Body = monster.Mesh;
entity.Level = monster.Level;
entity.Defence = 5000;
entity.X = client.Entity.X;
entity.Y = client.Entity.Y;
entity.UID = 417111;
entity.MapID = client.Entity.MapID;
entity.SendUpdates = true;
client.Map.RemoveEntity(entity);
client.Map.AddEntity(entity);
break;
}
case "Tiger3":
{
Database.MonsterInformation monster = new Conquer_Online_Server.Database.MonsterInformation();
monster.Boss = true;
monster.Hitpoints = 50000000;
monster.Level = 255;
monster.Mesh = 976;
monster.Name = "FuriousDevil";
monster.MaxAttack = 10500;
monster.AttackRange = 14;
monster.AttackType = 1;
monster.AttackSpeed = 1000;
monster.ViewRange = 15;
monster.MoveSpeed = 500;
monster.RunSpeed = 500;
monster.MinAttack = 59000;
Game.Entity entity = new Game.Entity(Game.EntityFlag.Monster, false);
entity.MapObjType = Game.MapObjectType.Monster;
entity.MonsterInfo = monster;
entity.MonsterInfo.Owner = entity;
entity.Name = "FuriousDevil";
entity.MinAttack = monster.MinAttack;
entity.MaxAttack = entity.MagicAttack = monster.MaxAttack;
entity.Hitpoints = entity.MaxHitpoints = monster.Hitpoints;
entity.Body = monster.Mesh;
entity.Level = monster.Level;
entity.Defence = 5000;
entity.X = client.Entity.X;
entity.Y = client.Entity.Y;
entity.UID = 417111;
entity.MapID = client.Entity.MapID;
entity.SendUpdates = true;
client.Map.RemoveEntity(entity);
client.Map.AddEntity(entity);
break;
}
case "Tiger4":
{
Database.MonsterInformation monster = new Conquer_Online_Server.Database.MonsterInformation();
monster.Boss = true;
monster.Hitpoints = 50000000;
monster.Level = 255;
monster.Mesh = 983;
monster.Name = "FlameDevastator";
monster.MaxAttack = 10500;
monster.AttackRange = 14;
monster.AttackType = 1;
monster.AttackSpeed = 1000;
monster.ViewRange = 15;
monster.MoveSpeed = 500;
monster.RunSpeed = 500;
monster.MinAttack = 59000;
Game.Entity entity = new Game.Entity(Game.EntityFlag.Monster, false);
entity.MapObjType = Game.MapObjectType.Monster;
entity.MonsterInfo = monster;
entity.MonsterInfo.Owner = entity;
entity.Name = "FuriousFlameDevastator";
entity.MinAttack = monster.MinAttack;
entity.MaxAttack = entity.MagicAttack = monster.MaxAttack;
entity.Hitpoints = entity.MaxHitpoints = monster.Hitpoints;
entity.Body = monster.Mesh;
entity.Level = monster.Level;
entity.Defence = 5000;
entity.X = client.Entity.X;
entity.Y = client.Entity.Y;
entity.UID = 417111;
entity.MapID = client.Entity.MapID;
entity.SendUpdates = true;
client.Map.RemoveEntity(entity);
client.Map.AddEntity(entity);
break;
}
case "Tiger5":
{
Database.MonsterInformation monster = new Conquer_Online_Server.Database.MonsterInformation();
monster.Boss = true;
monster.Hitpoints = 50000000;
monster.Level = 255;
monster.Mesh = 977;
monster.Name = "NaughtyMonkeyy";
monster.MaxAttack = 10500;
monster.AttackRange = 14;
monster.AttackType = 1;
monster.AttackSpeed = 1000;
monster.ViewRange = 15;
monster.MoveSpeed = 500;
monster.RunSpeed = 500;
monster.MinAttack = 59000;
Game.Entity entity = new Game.Entity(Game.EntityFlag.Monster, false);
entity.MapObjType = Game.MapObjectType.Monster;
entity.MonsterInfo = monster;
entity.MonsterInfo.Owner = entity;
entity.Name = "NaughtyMonkeyy";
entity.MinAttack = monster.MinAttack;
entity.MaxAttack = entity.MagicAttack = monster.MaxAttack;
entity.Hitpoints = entity.MaxHitpoints = monster.Hitpoints;
entity.Body = monster.Mesh;
entity.Level = monster.Level;
entity.Defence = 5000;
entity.X = client.Entity.X;
entity.Y = client.Entity.Y;
entity.UID = 417111;
entity.MapID = client.Entity.MapID;
entity.SendUpdates = true;
client.Map.RemoveEntity(entity);
client.Map.AddEntity(entity);
break;
}
case "NemesisTyrant":
{
Database.MonsterInformation monster = new Conquer_Online_Server.Database.MonsterInformation();
monster.Boss = true;
monster.Hitpoints = 90000000;
monster.Level = 140;
monster.Mesh = 984;
monster.Name = "NemesisTyrant";
monster.MaxAttack = 10500;
monster.AttackRange = 14;
monster.AttackType = 1;
monster.AttackSpeed = 1000;
monster.ViewRange = 15;
monster.MoveSpeed = 500;
monster.RunSpeed = 500;
monster.MinAttack = 59000;
Game.Entity entity = new Game.Entity(Game.EntityFlag.Monster, false);
entity.MapObjType = Game.MapObjectType.Monster;
entity.MonsterInfo = monster;
entity.MonsterInfo.Owner = entity;
entity.Name = "NemesisTyrant";
entity.MinAttack = monster.MinAttack;
entity.MaxAttack = entity.MagicAttack = monster.MaxAttack;
entity.Hitpoints = entity.MaxHitpoints = monster.Hitpoints;
entity.Body = monster.Mesh;
entity.Level = monster.Level;
entity.Defence = 5000;
entity.X = client.Entity.X;
entity.Y = client.Entity.Y;
entity.UID = 417111;
entity.MapID = client.Entity.MapID;
entity.SendUpdates = true;
client.Map.RemoveEntity(entity);
client.Map.AddEntity(entity);
break;
}
#endregion end new boss Conquer online
الذين يشاهدون محتوى الموضوع الآن : 1 ( الأعضاء 0 والزوار 1) | |
أدوات الموضوع | |
|
الموضوع | كاتب الموضوع | المنتدى | مشاركات | آخر مشاركة |
تعديل علي دروب وحوش عاديه و وحوش كبيره | Tefa | تطوير سيرفرات كونكر | 6 | 2022-04-10 04:14 PM |
انتظرونا مفاجه كبيره اوي هتخليكو تنسو رايزو دا خالص هه | Hassan Emprator | سورسات كونكر | 16 | 2020-04-27 04:12 AM |
ضفة مهمة كونكر في السورس بس الوحوش مش بتوقع كلمة كونكر ؟ | Mawdo3jded | مشكلات السيرفيرات كونكر الشخصيه | 2 | 2020-02-19 09:53 AM |
موضوع اول مره حد هيشوفه ف حياته مشكله كبيره | zezonever | مشكلات السيرفيرات كونكر الشخصيه | 2 | 2020-01-22 10:37 PM |
الايت بكي مشكله تقريبا متكونش كبيره م نسبه ناس كتير | AMREL3FREIT | مشكلات السيرفيرات كونكر الشخصيه | 4 | 2019-07-12 06:08 PM |