|
المشاركات 1,993 |
+التقييم 1.00 |
تاريخ التسجيل Jun 2019 |
الاقامة |
نظام التشغيل ويندوز 0 |
رقم العضوية 279 |
#region ClaimGuildPrize
case 42114:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Hello there. Do you want to Claim GuildWar Prize you can only Claim it 1 Time if you won GW.");
dialog.Option("Claim TopGuildLeader.", 1);
dialog.Option("Claim TopDeputyLeader.", 3);
dialog.Option("Just Passing By!", 255);
dialog.Send();
break;
}
case 1:
{
if (client.Guild != null)
{
if (client.Guild.PoleKeeper && client.Guild != null && client.AsMember.Rank == MrHassan.Game.Enums.GuildMemberRank.GuildLeader)
{
dialog.Text("Are you sure you want to Claim your Prize?");
dialog.Option("Yes.", 2);
dialog.Option("Ah, nevermind.", 255);
dialog.Send();
}
else
{
dialog.Text("Sorry only GuildLeader 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 2:
{
if (!GuildWar.IsWar && GuildWar.Claim && client.Entity.GuildID == GuildWar.KeeperID && client.Entity.GuildRank == (ushort)Game.Enums.GuildMemberRank.GuildLeader)
{
GuildWar.Claim = false;
GuildWar.KeeperID = 0;
client.Entity.ConquerPoints += 500000;
client.Inventory.Add(723467, 0, 1);
ClassPk.AddGl();
client.Entity.AddTopStatus((ulong)Update.Flags.TopGuildLeader, 1, DateTime.Now.AddDays(7));
Kernel.SendWorldMessage(new Message("Congratulations! " + client.Entity.Name + " Leader of " + client.Guild.PoleKeeper + " The winner guild has Claimed Guild War Prize " + 500000 + " cps!", System.Drawing.Color.White, Message.TopLeft), 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 3:
{
if (client.Guild != null)
{
if (client.Guild.PoleKeeper && client.Guild != null && client.AsMember.Rank == MrHassan.Game.Enums.GuildMemberRank.DeputyLeader)
{
dialog.Text("Are you sure you want to Claim your Prize?");
dialog.Option("Yes.", 4);
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 4:
{
if (!GuildWar.IsWar && client.Guild.PoleKeeper && client.Guild != null && client.AsMember.Rank == Game.Enums.GuildMemberRank.DeputyLeader && ClassPk.TopDlClaim <= 25)
{
ClassPk.AddDl();
client.Entity.AddTopStatus((ulong)Update.Flags.TopDeputyLeader, 1, DateTime.Now.AddDays(7));
Kernel.SendWorldMessage(new Message("Congratulations! " + client.Entity.Name + " From " + client.Guild.PoleKeeper + " Has Claimed TopDeputyLeader Halo!", System.Drawing.Color.White, Message.TopLeft), Program.GamePool);
}
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
#region Prize Seller
case 200033:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Greetings! I'm a great seller, I have the most precious items in the entire ");
dialog.Text("world. What do you want to get?");
dialog.Option("DarkWAR|Cup| [3 LordTokens]", 1);
dialog.Option("Super|Cup| [2 LordTokens]", 2);
dialog.Option("Elite|Cup| [1 LordTokens]", 3);
dialog.Option("Just passing by.", 255);
dialog.Avatar(85);
dialog.Send();
break;
}
case 1:
{
if (client.Inventory.Contains(723467, 3))
{
client.Inventory.Remove(723467, 3);
client.Inventory.Add(2100075, 0, 0, 0, 0, 0, 0, 1, true);
}
else
{
dialog.Text("You don't have enough 3 LordTokens ");
dialog.Option("I see.", 255);
dialog.Avatar(85);
dialog.Send();
}
break;
}
case 2:
{
if (client.Inventory.Contains(723467, 2))
{
client.Inventory.Remove(723467, 2);
client.Inventory.Add(2100085, 0, 0, 0, 0, 0, 0, 1, true);
}
else
{
dialog.Text("You don't have enough 2 LordTokens ");
dialog.Option("I see.", 255);
dialog.Avatar(85);
dialog.Send();
}
break;
}
case 3:
{
if (client.Inventory.Contains(723467, 1))
{
client.Inventory.Remove(723467, 1);
client.Inventory.Add(2100065, 0, 0, 0, 0, 0, 0, 1, true);
}
else
{
dialog.Text("You don't have enough 1 LordTokens ");
dialog.Option("I see.", 255);
dialog.Avatar(85);
dialog.Send();
}
break;
}
case 4:
{
if (client.Inventory.Contains(723467, 2))
{
client.Inventory.Remove(723467, 2);
client.Inventory.Add(2100065, 0, 0, 0, 0, 0, 0, 1, true);
}
else
{
dialog.Text("You don't have enough 2 LordTokens !");
dialog.Option("I see.", 255);
dialog.Avatar(85);
dialog.Send();
}
break;
}
case 5:
{
if (client.Inventory.Contains(723467, 1))
{
client.Inventory.Remove(723467, 1);
client.Inventory.Add(2100055, 0, 0, 0, 0, 0, 0, 1, true);
}
else
{
dialog.Text("You don't have enough 1 LordTokens !");
dialog.Option("I see.", 255);
dialog.Avatar(85);
dialog.Send();
}
break;
}
}
break;
}
#endregion
client.Entity.AddTopStatus((ulong)Update.Flags.TopGuildLeader, 1, DateTime.Now.AddDays(7));
الذين يشاهدون محتوى الموضوع الآن : 1 ( الأعضاء 0 والزوار 1) | |
|
الموضوع | كاتب الموضوع | المنتدى | مشاركات | آخر مشاركة |
حل مشاكل سورسي !! | SourceDanger | تطوير سيرفرات كونكر | 10 | 2020-02-20 11:36 AM |
مشاكل سورس رايزو | neno2052 | مشكلات السيرفيرات كونكر الشخصيه | 5 | 2019-10-27 03:06 AM |
مشاكل سورس Empire-War | ElSaher | مشكلات السيرفيرات كونكر الشخصيه | 1 | 2019-09-29 05:05 AM |
4 مشاكل الرجاء الرد | loveosama | مشكلات السيرفيرات كونكر الشخصيه | 3 | 2019-09-06 04:49 PM |
مشاكل جديده | anwer1 | مشكلات السيرفيرات كونكر الشخصيه | 10 | 2019-07-12 03:36 PM |