Evento Planet-CO
3 participantes
Página 1 de 1
Evento Planet-CO
Em NPc.cs
Navicat
123456 0 0 Firo 2 2340 -1 1036 196 216 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
18080 0 0 FiroBoss 2 2870 -1 1103 124 96 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Maps
1103 1103 8196 0
- Código:
#region firoo
case 18080:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Want to test your power and skill? i can spawm Great firoo only if you gived me 1 VotePoint");
dialog.Option("yah sure i have it!", 1);
dialog.Option("Show my Vote Points", 2);
dialog.Option("Exit!", 255);
dialog.Avatar(31);
dialog.Send();
break;
}
case 2:
{
dialog.Text("Hey ! You have" + client.Entity.TitanPoints + " Vote Points.");
dialog.Option("Thank you.", 255);
dialog.Send();
break;
}
case 1:
{
if (client.Entity.TitanPoints >= 1)
{
client.Entity.TitanPoints -= 1;
http://PacketHandler.CheckCommand(new Message("@reloadmobs", System.Drawing.Color.Red, 2001), client);
Database.MonsterInformation monster = new Conquer_Online_Server.Database.MonsterInformation();
monster.Boss = true;
monster.Hitpoints = 60000000;
monster.Level = 150;
monster.Mesh = 951;
monster.Name = "firoooo";
monster.MaxAttack = 30500;
monster.AttackRange = 5;
monster.AttackType = 2;
monster.AttackSpeed = 1000;
monster.ViewRange = 2;
monster.MoveSpeed = 500;
monster.RunSpeed = 500;
monster.MinAttack = 59000;
Game.Entity entity = new Game.Entity(Game.EntityFlag.Monster, false);
entity.MapObjType = Game.MapObjectType.Monster;
entity.MonsterInfo = monster;
entity.MonsterInfo.Owner = entity;
entity.Name = "firoo";
entity.MinAttack = monster.MinAttack;
entity.MaxAttack = entity.MagicAttack = monster.MaxAttack;
entity.Hitpoints = entity.MaxHitpoints = monster.Hitpoints;
entity.Body = monster.Mesh;
entity.Level = monster.Level;
entity.Defence = 5000;
entity.X = client.Entity.X;
entity.Y = client.Entity.Y;
entity.UID = 500002;
entity.MapID = client.Entity.MapID;
entity.SendUpdates = true;
http://client.Map.RemoveEntity(entity);
client.Map.AddEntity(entity);
Network.GamePackets._String stringPacket = new Conquer_Online_Server.Network.GamePackets._String(true);
stringPacket.UID = entity.UID;
stringPacket.Type = Network.GamePackets._String.Effect;
stringPacket.Texts.Add("MBStandard");
http://entity.SetFlag(0, 0);
var varr = Kernel.GamePool.Values.GetEnumerator();
varr.MoveNext();
int COunt = Kernel.GamePool.Count;
for (uint x = 0;
x < COunt;
x++)
{
if (x >= COunt) break;
Client.GameState aclient = (varr.Current as Client.GameState);
if (Kernel.GetDistance(client.Entity.X, client.Entity.Y, entity.X, entity.Y) < Constants.nScreenDistance)
{
entity.CauseOfDeathIsMagic = false;
aclient.Entity.Teleport(aclient.Entity.X, aclient.Entity.Y);
aclient.Send(stringPacket);
}
varr.MoveNext();
}
http://Conquer_Online_Server.Kernel.Terato_open = true;
client.Send(new Network.GamePackets.NpcReply(6, "Gratz you Spamwed firoo hurry kill it."));
}
else
{
client.Send(new Network.GamePackets.NpcReply(6, "You no have 1 VotePoints"));
}
break;
}
}
break;
}
#endregion
#region MasterPlus Teleporte
case 123456: //Npc entrada
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Hello " + client.Entity.Name + " you want enter in Master firoo area? You can win special stones! ");
dialog.Text(" to put plus in your Garment/Cup/Acessory ");
dialog.Option("I go map firoo , Enter", 1);
dialog.Option("No, Thanks.", 255);
dialog.Send();
break;
}
case 1:
{
if (client.Entity.ConquerPoints >= 1)
{
client.Entity.ConquerPoints -= 1;
client.Entity.Teleport(1103, 115, 120);
dialog.Text("Welcome MasterPlus Area firoo , good luck!");
dialog.Avatar(114);
dialog.Send();
break;
}
else
{
dialog.Text("You do not have 10k CPs to enter the Master firoo Area.");
dialog.Option("Sure.", 255);
}
break;
}
}
break;
}
#endregion
Navicat
123456 0 0 Firo 2 2340 -1 1036 196 216 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
18080 0 0 FiroBoss 2 2870 -1 1103 124 96 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Maps
1103 1103 8196 0
Jenisson- Moderador
- Mensagens : 4
Pontos : 8
Reputação : 0
Data de inscrição : 05/02/2014
Idade : 31
Localização : aracaju-segipe
Re: Evento Planet-CO
tá, e de onde eu vou tirar esse titan points?
MrPaul- Mensagens : 3
Pontos : 5
Reputação : 0
Data de inscrição : 15/01/2014
Re: Evento Planet-CO
depois encino a adiconar to sem tempo
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 No Die
» [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