Galera aquii está o npc de pegar o Top Deputy e o Top Guild Leader da GW , Abra a source na pasta "NpcDialogs" abrão o arquivo : "Dialogs.cs" e colem o seguinte código:
#region TOP GUILD WAR
case 217256:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text(" our guild has won the guild war and i need the top ?can i els take my reward ?");
dialog.Option("Yes.i need TopGuildLeader", 1);
dialog.Option("Yes.i need TopDeputyLeader", 2);
dialog.Option("No.", 255);
dialog.Send();
break;
}
case 1:
{
if (!GuildWar.IsWar)
{
if (client.Guild != null && client.AsMember.Rank == Conquer_Online_Server.Game.Enums.GuildMemberRank.GuildLeader)
{
for (int c = 0; c <= 10; c++)
{
if (client.Inventory.Contains((uint)(729969 + c), 1))
if (!client.AddSpell(LearnableSpell(0x400)))
DateTime.Now.AddDays(7);
client.Entity.AddFlag(Update.Flags.TopGuildLeader);
Conquer_Online_Server.Network.PacketHandler.WorldMessage("Congratulations! " + client.Entity.Name + " has won the Guildwar and the GL recive the top and 100k cps!");
client.Entity.AddFlag(Update.Flags.TopGuildLeader);
dialog.Send();
return;
}
dialog.Text("You cannot claim experience if you don't have a rune.");
dialog.Option("Ahh.", 255);
dialog.Send();
break;
}
}
else
{
dialog.Text("You don't meet the requierments.");
dialog.Option("Ahh.", 255);
dialog.Send();
}
break;
}
case 2:
{
if (!GuildWar.IsWar)
{
{
if (client.Guild != null && client.AsMember.Rank == Conquer_Online_Server.Game.Enums.GuildMemberRank.DeputyLeader)
{
for (int c = 0; c <= 10; c++)
{
if (client.Inventory.Contains((uint)(729969 + c), 1))
if (!client.AddSpell(LearnableSpell(0x800)))
DateTime.Now.AddDays(7);
client.Entity.AddFlag(Update.Flags.TopDeputyLeader);
Conquer_Online_Server.Network.PacketHandler.WorldMessage("Congratulations! " + client.Entity.Name + " guild has won the guild war and the DL has recive the top!");
client.Entity.AddFlag(Update.Flags.TopDeputyLeader);
}
return;
}
dialog.Text("You cannot claim experience if you don't have a rune.");
dialog.Option("Ahh.", 255);
dialog.Send();
break;
}
}
break;
}
#endregion
#region TOP GUILD WAR
case 217256:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text(" our guild has won the guild war and i need the top ?can i els take my reward ?");
dialog.Option("Yes.i need TopGuildLeader", 1);
dialog.Option("Yes.i need TopDeputyLeader", 2);
dialog.Option("No.", 255);
dialog.Send();
break;
}
case 1:
{
if (!GuildWar.IsWar)
{
if (client.Guild != null && client.AsMember.Rank == Conquer_Online_Server.Game.Enums.GuildMemberRank.GuildLeader)
{
for (int c = 0; c <= 10; c++)
{
if (client.Inventory.Contains((uint)(729969 + c), 1))
if (!client.AddSpell(LearnableSpell(0x400)))
DateTime.Now.AddDays(7);
client.Entity.AddFlag(Update.Flags.TopGuildLeader);
Conquer_Online_Server.Network.PacketHandler.WorldMessage("Congratulations! " + client.Entity.Name + " has won the Guildwar and the GL recive the top and 100k cps!");
client.Entity.AddFlag(Update.Flags.TopGuildLeader);
dialog.Send();
return;
}
dialog.Text("You cannot claim experience if you don't have a rune.");
dialog.Option("Ahh.", 255);
dialog.Send();
break;
}
}
else
{
dialog.Text("You don't meet the requierments.");
dialog.Option("Ahh.", 255);
dialog.Send();
}
break;
}
case 2:
{
if (!GuildWar.IsWar)
{
{
if (client.Guild != null && client.AsMember.Rank == Conquer_Online_Server.Game.Enums.GuildMemberRank.DeputyLeader)
{
for (int c = 0; c <= 10; c++)
{
if (client.Inventory.Contains((uint)(729969 + c), 1))
if (!client.AddSpell(LearnableSpell(0x800)))
DateTime.Now.AddDays(7);
client.Entity.AddFlag(Update.Flags.TopDeputyLeader);
Conquer_Online_Server.Network.PacketHandler.WorldMessage("Congratulations! " + client.Entity.Name + " guild has won the guild war and the DL has recive the top!");
client.Entity.AddFlag(Update.Flags.TopDeputyLeader);
}
return;
}
dialog.Text("You cannot claim experience if you don't have a rune.");
dialog.Option("Ahh.", 255);
dialog.Send();
break;
}
}
break;
}
#endregion