Evento No Die
Página 1 de 1
Evento No Die
Primeiro Atençao
Segundo
em npc.cs
Coloquem
#region NoDie
case 50155:
{
switch (npcRequest.OptionID)
{
case 0:
{
client.Entity.Update(_String.Effect, "break_start", true);
dialog.Text("Hey there " + client.Entity.Name + " Would you like to join No Die PKWar?.");
dialog.Text("you can SignUp during xx:10 to xx:15 and first 8 Players will get 20 Points.");
dialog.Text("faster than any player else will be in the No Die and obtain Rewards GoodLuck!");
dialog.Option("Yes Please", 1);
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
case 1:
{
if (DateTime.Now.Minute >= 10 && DateTime.Now.Minute <= 15)
{
client.Entity.Teleport(5928, 50, 50);
}
else
{
dialog.Text("NoDie Pk War is held during xx:10 to xx:15 you have 5 min to signup ");
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
break;
}
}
break;
}
#endregion
#region Nodie PkWinner
case 50166:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Hey there " + client.Entity.Name + " Would you like to Claim No Die PKWar Prize?.");
dialog.Text("You Should Have 20 DiePoints .");
[Tens de ter uma conta e sessão iniciada para poderes visualizar este link] than any player else will be in the Top8Champions and obtain Rewards GoodLuck!");
dialog.Option("Yes Please", 1);
dialog.Option("Twin City", 3);
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
case 3:
{
client.Entity.Teleport(1002, 391, 371);
client.Entity.RemoveFlag(Update.Flags.Ride);
break;
}
case 1:
{
if (DateTime.Now.Minute >= 15 && DateTime.Now.Minute < 20)
{
if (client.Nodie >= 20)
{
client.Entity.ConquerPoints += 20000;
Network.PacketHandler.WorldMessage("Congratulations! " + client.Entity.Name + "! Has Got Reward For 500.000 No Die Quest Becouse Collect 20 point Thanks To Mohaa");
client.Entity.Teleport(1002, 391, 371);
}
else
{
dialog.Text("Sorry you dont have 20 Die Points yet come again later ");
dialog.Option("sorry.", 255);
dialog.Send();
}
}
else
{
dialog.Text("sorry you can only claim prize btw xx:15 to xx:20 ");
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
break;
}
}
break;
}
#endregion
Terceiro
Word.cs
Coloquem
#region NoDie
if ((Now64.Minute == 10) && (Now64.Second == 01))
{
Kernel.SendWorldMessage(new Message("NoDie Has began!", Color.White, Message.TopLeft), Program.GamePool);
foreach (var client in Program.GamePool)
client.MessageBox("NoDie began! Would you like to join?",
p => { p.Entity.Teleport(1002, 373, 316); }, null, 60);
}
#endregion
Quarta pate
GamteState.cs ou GameClient.cs
Coloquem
public uint Nodie = 0;
quinta Parte
Entity.cs
Preucurem >>public void Die(Entity killer)<<
coloquem
if (killer.MapID == 5928)
{
if (killer.MapID == 5928)
{
AddFlag(0x8000000);
AddFlag(Network.GamePackets.Update.Flags2.IceBlock);
FlyTime = 20;
FlyStamp = Time32.Now;
FreezeTime = 20;
FreezeStamp = Time32.Now;
GameState owner = killer.Owner;
owner.Nodie++;
Network.GamePackets.NpcReply npc = new Network.GamePackets.NpcReply(6, "Well Done : You Kill got 1 No Die Point You Have Now " + killer.Owner.Nodie + " Die Points!");
npc.OptionID = 255;
killer.Owner.Send(npc.ToArray());
[Tens de ter uma conta e sessão iniciada para poderes visualizar este link] Owner.UID)
Hitpoints = MaxHitpoints;
//Hitpoints = Math.Min(Hitpoints, MaxHitpoints);
return;
}
}
Pronto Evento Novo Pra Galera
Segundo
em npc.cs
Coloquem
#region NoDie
case 50155:
{
switch (npcRequest.OptionID)
{
case 0:
{
client.Entity.Update(_String.Effect, "break_start", true);
dialog.Text("Hey there " + client.Entity.Name + " Would you like to join No Die PKWar?.");
dialog.Text("you can SignUp during xx:10 to xx:15 and first 8 Players will get 20 Points.");
dialog.Text("faster than any player else will be in the No Die and obtain Rewards GoodLuck!");
dialog.Option("Yes Please", 1);
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
case 1:
{
if (DateTime.Now.Minute >= 10 && DateTime.Now.Minute <= 15)
{
client.Entity.Teleport(5928, 50, 50);
}
else
{
dialog.Text("NoDie Pk War is held during xx:10 to xx:15 you have 5 min to signup ");
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
break;
}
}
break;
}
#endregion
#region Nodie PkWinner
case 50166:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Hey there " + client.Entity.Name + " Would you like to Claim No Die PKWar Prize?.");
dialog.Text("You Should Have 20 DiePoints .");
[Tens de ter uma conta e sessão iniciada para poderes visualizar este link] than any player else will be in the Top8Champions and obtain Rewards GoodLuck!");
dialog.Option("Yes Please", 1);
dialog.Option("Twin City", 3);
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
case 3:
{
client.Entity.Teleport(1002, 391, 371);
client.Entity.RemoveFlag(Update.Flags.Ride);
break;
}
case 1:
{
if (DateTime.Now.Minute >= 15 && DateTime.Now.Minute < 20)
{
if (client.Nodie >= 20)
{
client.Entity.ConquerPoints += 20000;
Network.PacketHandler.WorldMessage("Congratulations! " + client.Entity.Name + "! Has Got Reward For 500.000 No Die Quest Becouse Collect 20 point Thanks To Mohaa");
client.Entity.Teleport(1002, 391, 371);
}
else
{
dialog.Text("Sorry you dont have 20 Die Points yet come again later ");
dialog.Option("sorry.", 255);
dialog.Send();
}
}
else
{
dialog.Text("sorry you can only claim prize btw xx:15 to xx:20 ");
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
break;
}
}
break;
}
#endregion
Terceiro
Word.cs
Coloquem
#region NoDie
if ((Now64.Minute == 10) && (Now64.Second == 01))
{
Kernel.SendWorldMessage(new Message("NoDie Has began!", Color.White, Message.TopLeft), Program.GamePool);
foreach (var client in Program.GamePool)
client.MessageBox("NoDie began! Would you like to join?",
p => { p.Entity.Teleport(1002, 373, 316); }, null, 60);
}
#endregion
Quarta pate
GamteState.cs ou GameClient.cs
Coloquem
public uint Nodie = 0;
quinta Parte
Entity.cs
Preucurem >>public void Die(Entity killer)<<
coloquem
if (killer.MapID == 5928)
{
if (killer.MapID == 5928)
{
AddFlag(0x8000000);
AddFlag(Network.GamePackets.Update.Flags2.IceBlock);
FlyTime = 20;
FlyStamp = Time32.Now;
FreezeTime = 20;
FreezeStamp = Time32.Now;
GameState owner = killer.Owner;
owner.Nodie++;
Network.GamePackets.NpcReply npc = new Network.GamePackets.NpcReply(6, "Well Done : You Kill got 1 No Die Point You Have Now " + killer.Owner.Nodie + " Die Points!");
npc.OptionID = 255;
killer.Owner.Send(npc.ToArray());
[Tens de ter uma conta e sessão iniciada para poderes visualizar este link] Owner.UID)
Hitpoints = MaxHitpoints;
//Hitpoints = Math.Min(Hitpoints, MaxHitpoints);
return;
}
}
Pronto Evento Novo Pra Galera
Jenisson- Moderador
- Mensagens : 4
Pontos : 8
Reputação : 0
Data de inscrição : 05/02/2014
Idade : 31
Localização : aracaju-segipe
Tópicos semelhantes
» Evento Planet-CO
» [RELEASE] DropParty Evento!
» [RELEASE] EVENTO DOS MONSTRO INVOCADOS
» [Release] Tigre E TeratoDragon Evento 100%
» [RELEASE] DropParty Evento!
» [RELEASE] EVENTO DOS MONSTRO INVOCADOS
» [Release] Tigre E TeratoDragon Evento 100%
Página 1 de 1
Permissões neste sub-fórum
Não podes responder a tópicos