Evento Classe vs Classe !
Página 1 de 1
Evento Classe vs Classe !
O torneio de classes é o seguinte
Pirates vs Trojan
Assassin vs Monk
Ninja vs Water
Fire vs Warrior
CREDITOS : Felipe Costa
Pirates vs Trojan
Assassin vs Monk
Ninja vs Water
Fire vs Warrior
- Vá até Npcs.cs e cole o code abaixo
#region Top-Monk-VS-Assassin by ana wad gentle
case 201510:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Hey there " + client.Entity.Name + " Would you like to join Top-Monk-VS-Assassin-World ClassPk?.");
dialog.Option("Yes Please", 1);
dialog.Option("Me Not Monk or Assassin.", 255);
dialog.Send();
break;
}
case 1:
{
DateTime Now64 = DateTime.Now;
if (DateTime.Now.Minute >= 01 && DateTime.Now.Minute <= 04)
{
if (client.Entity.Class == 15) return;
if (client.Entity.Class == 25) return;
if (client.Entity.Class == 135) return;
if (client.Entity.Class == 145) return;
if (client.Entity.Class == 55) return;
if (client.Entity.Class == 75) return;
Random R = new Random();
int Nr = R.Next(1, 10);
if (Nr == 1) client.Entity.Teleport(225, 51, 73);
if (Nr == 2) client.Entity.Teleport(225, 33, 34);
if (Nr == 3) client.Entity.Teleport(225, 67, 34);
if (Nr == 4) client.Entity.Teleport(225, 51, 73);
if (Nr == 5) client.Entity.Teleport(225, 33, 34);
if (Nr == 6) client.Entity.Teleport(225, 67, 34);
if (Nr == 7) client.Entity.Teleport(225, 51, 73);
if (Nr == client.Entity.Teleport(225, 33, 34);
if (Nr == 9) client.Entity.Teleport(225, 67, 34);
if (Nr == 10) client.Entity.Teleport(225, 68, 57);
}
else
{
dialog.Text("Top-Monk-VS-Ninja-World ClassPk is held during 01:04 to 01:04 you have 5 min to signup ");
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
break;
}
}
break;
}
#endregion
#region Winner of Top-Monk-VS-Assassin by ana wad gentle
case 201511:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Hey there " + client.Entity.Name + " Would you like to claim your Prize?.");
dialog.Option("Yes Please", 1);
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
case 1:
{
Daily.CheackAlive3();
DateTime Now64 = DateTime.Now;
if (DateTime.Now.Minute >= 08 && DateTime.Now.Minute <= 10)
{
if (Daily.howmanyinmap2 == 1)
{
client.Entity.ConquerPoints += 500000;
client.Entity.AddTopStatus(Update.Flags2.Top2Ninja, DateTime.Now.AddDays(1));
MrEtaleProject.ServerBase.Kernel.SendWorldMessage(new Message("Congratulations! " + client.Entity.Name + " claimed the prize " + 500000 + " ConquerPoints for winning the Top-Monk-VS-Assassin Pk War and Receive PkWar Halo.", System.Drawing.Color.White, Message.Talk), Program.GamePool);
client.Entity.SendSpawn(client, true);
client.Entity.Teleport(1002, 299, 278);
EntityTable.SaveEntity(client);
}
else
{
dialog.Text("There are still " + Daily.howmanyinmap2 + " players in the map kill it first to claim prize!");
dialog.Option("okay", 255);
dialog.Send();
break;
}
}
else
{
dialog.Text("Hey there " + client.Entity.Name + "You can only claim the prize when the time on or after 00:20");
dialog.Option("okay", 255);
dialog.Send();
break;
}
break;
}
}
break;
}
#endregion
#region Top-Trojan-VS-Pirates by ana wad gentle
case 201512:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Hey there " + client.Entity.Name + " Would you like to join Trojan-VS-Pirates-World ClassPk?.");
dialog.Option("Yes Please", 1);
dialog.Option("me not Trojan Or Pirates.", 255);
dialog.Send();
break;
}
case 1:
{
DateTime Now64 = DateTime.Now;
if (DateTime.Now.Minute >= 11 && DateTime.Now.Minute <= 14)
{
if (client.Entity.Class == 55) return;
if (client.Entity.Class == 25) return;
if (client.Entity.Class == 135) return;
if (client.Entity.Class == 145) return;
if (client.Entity.Class == 65) return;
if (client.Entity.Class == 45) return;
Random R = new Random();
int Nr = R.Next(1, 10);
if (Nr == 1) client.Entity.Teleport(226, 51, 73);
if (Nr == 2) client.Entity.Teleport(226, 33, 34);
if (Nr == 3) client.Entity.Teleport(226, 67, 34);
if (Nr == 4) client.Entity.Teleport(226, 51, 73);
if (Nr == 5) client.Entity.Teleport(226, 33, 34);
if (Nr == 6) client.Entity.Teleport(226, 67, 34);
if (Nr == 7) client.Entity.Teleport(226, 51, 73);
if (Nr == client.Entity.Teleport(226, 33, 34);
if (Nr == 9) client.Entity.Teleport(226, 67, 34);
if (Nr == 10) client.Entity.Teleport(226, 68, 57);
}
else
{
dialog.Text("Top-Trojan-VS-Archer-World ClassPk is held during 05:08 to 05:08 you have 5 min to signup ");
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
break;
}
}
break;
}
#endregion
#region Winner of Top-Trojan-VS-Pirates by ana wad gentle
case 201513:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Hey there " + client.Entity.Name + " Would you like to claim your Prize?.");
dialog.Option("Yes Please", 1);
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
case 1:
{
Daily.CheackAlive3();
DateTime Now64 = DateTime.Now;
if (DateTime.Now.Minute >= 17 && DateTime.Now.Minute <= 20)
{
if (Daily.howmanyinmap2 == 1)
{
client.Entity.ConquerPoints += 500000;
client.Entity.AddTopStatus(Update.Flags2.Top2Ninja, DateTime.Now.AddDays(1));
MrEtaleProject.ServerBase.Kernel.SendWorldMessage(new Message("Congratulations! " + client.Entity.Name + " claimed the prize " + 500000 + " ConquerPoints for winning the Top-Trojan-VS-Pirates Pk War and Receive Top-Monk-VS-Ninja PkWar Halo.", System.Drawing.Color.White, Message.Talk), Program.GamePool);
client.Entity.SendSpawn(client, true);
client.Entity.Teleport(1002, 299, 278);
EntityTable.SaveEntity(client);
}
else
{
dialog.Text("There are still " + Daily.howmanyinmap2 + " players in the map kill it first to claim prize!");
dialog.Option("okay", 255);
dialog.Send();
break;
}
}
else
{
dialog.Text("Hey there " + client.Entity.Name + "You can only claim the prize when the time on or after 01:10");
dialog.Option("okay", 255);
dialog.Send();
break;
}
break;
}
}
break;
}
#endregion
#region Top-Ninja-VS-Water by ana wad gentle
case 201514:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Hey there " + client.Entity.Name + " Would you like to join Ninja-VS-Water-World ClassPk?.");
dialog.Option("Yes Please", 1);
dialog.Option("Me not Ninja or Water.", 255);
dialog.Send();
break;
}
case 1:
{
DateTime Now64 = DateTime.Now;
if (DateTime.Now.Minute >= 21 && DateTime.Now.Minute <= 24)
{
if (client.Entity.Class == 15) return;
if (client.Entity.Class == 25) return;
if (client.Entity.Class == 65) return;
if (client.Entity.Class == 145) return;
if (client.Entity.Class == 65) return;
if (client.Entity.Class == 75) return;
Random R = new Random();
int Nr = R.Next(1, 10);
if (Nr == 1) client.Entity.Teleport(227, 51, 73);
if (Nr == 2) client.Entity.Teleport(227, 33, 34);
if (Nr == 3) client.Entity.Teleport(227, 67, 34);
if (Nr == 4) client.Entity.Teleport(227, 51, 73);
if (Nr == 5) client.Entity.Teleport(227, 33, 34);
if (Nr == 6) client.Entity.Teleport(227, 67, 34);
if (Nr == 7) client.Entity.Teleport(227, 51, 73);
if (Nr == client.Entity.Teleport(227, 33, 34);
if (Nr == 9) client.Entity.Teleport(227, 67, 34);
if (Nr == 10) client.Entity.Teleport(227, 68, 57);
}
else
{
dialog.Text("Top-Ninja-VS-Water-World ClassPk is held during 09:11 to 09:
CREDITOS : Felipe Costa
Felipe Soouza- Membro
- Mensagens : 10
Data de inscrição : 29/05/2014
Idade : 27
Tópicos semelhantes
» Source 6870 Nova classe e EpicPirata
» Source versão 6391 com a nova classe WindWalker
» Evento ache o GM
» Evento de pk a cada xx:15 ou xx:45
» compro quest evento e boss
» Source versão 6391 com a nova classe WindWalker
» Evento ache o GM
» Evento de pk a cada xx:15 ou xx:45
» compro quest evento e boss
Página 1 de 1
Permissões neste sub-fórum
Não podes responder a tópicos
|
|