|
|
المشاركات 94 |
+التقييم 0.02 |
تاريخ التسجيل Mar 2013 |
الاقامة |
نظام التشغيل |
رقم العضوية 2549 |
#region GuildPrize By xRage
case 1231239:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Heri Bro I'm LegendCo Choose You Wanna To Do, So What brought?");
dialog.Option("I Want Prize Of GuildWar", 4);
dialog.Option("1 Lordtoken for SilverPrize", 1);
dialog.Option("2 Lordtoken for GoldTrophy", 2);
dialog.Option("3 Lordtoken for GoldPrize", 3);
dialog.Option("Has not brought anything.", 255);
dialog.Send();
break;
}
case 1:
{
if (client.Inventory.Contains(723467, 1))
{
client.Inventory.Remove(723467, 1);
client.Inventory.Add(2100065, 0, 1);
dialog.Text("You have Get SilverPrize");
dialog.Option("Thanks.", 255);
dialog.Send();
}
else
{
dialog.Text("You don't have 1 LordToken");
dialog.Option("Ahh sorry.", 255);
}
break;
}
case 2:
{
if (client.Inventory.Contains(723467, 2))
{
client.Inventory.Remove(723467, 2);
client.Inventory.Add(2100085, 0, 1);
dialog.Text("You have Get GoldTrophy");
dialog.Option("Thanks.", 255);
dialog.Send();
}
else
{
dialog.Text("You don't have 2 Lord token");
dialog.Option("Ahh sorry.", 255);
}
break;
}
case 3:
{
if (client.Inventory.Contains(723467, 1))
{
client.Inventory.Remove(723467, 3);
client.Inventory.Add(2100075, 0, 1);
Kernel.SendWorldMessage(new Message("Congratulations! " + client.Entity.Name + " won three guilds wars and won a GoldPrize", System.Drawing.Color.White, Message.Center), Program.GamePool);
dialog.Text("You have Get GoldPrize");
dialog.Option("Thanks.", 255);
dialog.Send();
}
else
{
dialog.Text("You don't have 3 Lord token");
dialog.Option("Ahh sorry.", 255);
}
break;
}
case 4:
{
dialog.Text("Your guild won the GuildWar? so, you're rewarded with CPs and top special.");
dialog.Option("GuildLeader", 5);
dialog.Option("DeputyLeader", 7);
dialog.Send();
break;
}
case 5:
{
if (!GuildWar.IsWar && GuildWar.Claim && client.Guild != null && client.Entity.GuildID == GuildWar.KeeperID && client.Entity.GuildRank == (ushort)Game.Enums.GuildMemberRank.GuildLeader && ClassPk.TopGlClaim == 0)
{
//#warning GUILD WAR PRIZE
Program.AddWarLog("GuildWar", "" + rates.GuildWar + "", client.Entity.Name);//TQ
GuildWar.Claim = false;
GuildWar.KeeperID = 0;
client.Entity.ConquerPoints += rates.GuildWar;
ClassPk.AddGl();//TQ
client.Inventory.Add(723467, 0, 1);
Game.Flags.AddGuildLeader(client);
client.Entity.AddFlag(Update.Flags.TopGuildLeader);
Kernel.SendWorldMessage(new Message("Congratulations! " + client.Entity.Name + " Leader of " + client.Guild.PoleKeeper + " The winner guild has Claimed Guild War Prize " + rates.GuildWar + " cps and LordToken!", System.Drawing.Color.White, Message.Center), Program.GamePool);
}
else
{
dialog.Text("Sorry you dont have Any Prize to claim only GL of the winner guild can claim Prize After GW");
dialog.Option("Ahh.", 255);
dialog.Send();
}
break;
}
case 6:
{
if (client.Guild != null)
{
if (client.Guild.PoleKeeper && client.Guild != null && client.AsMember.Rank == Game.Enums.GuildMemberRank.DeputyLeader)
{
dialog.Text("Are you sure you want to Claim your Prize?");
dialog.Option("Yes.", 7);
dialog.Option("Ah, nevermind.", 255);
dialog.Send();
}
else
{
dialog.Text("Sorry only DeputyLeader of the Winner Guild can Claim The Prize After GuildWar End.");
dialog.Option("Ahh.", 255);
dialog.Send();
}
}
else
{
dialog.Text("Sorry You are not Member in any guild yet");
dialog.Option("Ahh.", 255);
dialog.Send();
}
break;
}
case 7:
{
//if (DateTime.Now.DayOfWeek == DayOfWeek.Sunday)
// {
if (!GuildWar.IsWar && client.Guild.PoleKeeper && client.Guild != null && client.AsMember.Rank == Game.Enums.GuildMemberRank.DeputyLeader && ClassPk.TopDlClaim < 5)
{
ClassPk.AddDl();
client.Entity.AddFlag(Update.Flags.TopDeputyLeader);
Kernel.SendWorldMessage(new Message("Congratulations! " + client.Entity.Name + " From " + client.Guild.PoleKeeper + " Has Claimed TopDeputyLeader Halo!", System.Drawing.Color.White, Message.TopLeft), Program.GamePool);
if (ClassPk.TopDlClaim == 1)
{
Game.Flags.AddGuildDeaputy(client);
}
if (ClassPk.TopDlClaim == 2)
{
Game.Flags.AddGuildDeaputy2(client);
}
if (ClassPk.TopDlClaim == 3)
{
Game.Flags.AddGuildDeaputy3(client);
}
if (ClassPk.TopDlClaim == 4)
{
Game.Flags.AddGuildDeaputy4(client);
}
if (ClassPk.TopDlClaim == 5)
{
Game.Flags.AddGuildDeaputy5(client);
}
else
{
dialog.Text("Sorry you dont have Any Prize to claim only Dl of the Winner Guild Can claim the halo After GW end.");
dialog.Option("Ahh.", 255);
dialog.Send();
}
}
break;
}
}
break;
}
#endregion
pg la;gi hgj,f hg[dg] ,dv la fd]n [hd.m hg[dg] ,dv
الذين يشاهدون محتوى الموضوع الآن : 1 ( الأعضاء 0 والزوار 1) | |
أدوات الموضوع | |
انواع عرض الموضوع | |
|
الموضوع | كاتب الموضوع | المنتدى | مشاركات | آخر مشاركة |
مشكله عندي في الجيلد وير | IBBO | مشاكل وطلبات كونكر | 0 | 07-30-2018 09:21 AM |
الوار بكرة من ساعة 8 ل 10 جايزة 2 مليار سبس الدروب 10 تلاف 15 كينج | titan | قسم إعلانات السيرفرات الشخصية | 0 | 06-07-2018 04:28 PM |
ازاى تخلى سجن الجيلد وار زى كونكر العادية 30 دقيقة | ChuMChuM | تطوير وشروحات وسورسات [5095] - Conquer Private Servers | 1 | 04-21-2016 01:36 AM |
حصريا ,,, منى وبس ملوك الحصريات ان بى سى الجيلد وار بتاع الجائزة | |CrAzY.KsA| | تطوير وشروحات وسورسات [5095] - Conquer Private Servers | 3 | 08-31-2015 02:02 AM |
ازاى تخلى سجن الجيلد وار زى كونكر العادية 30 دقيقة | MARO | تطوير وشروحات وسورسات [5095] - Conquer Private Servers | 0 | 06-01-2012 05:38 PM |