case 4178: { switch (npcRequest.OptionID) { case 0: { dialog.Text("what can i do for you"); dialog.Option("Enter Mighty Quest", 1); dialog.Option("Just Passing by.", 255); dialog.Avatar(114); dialog.Send(); break; } case 1: { if (DateTime.Now.Minute< 4) { client.Player.Teleport(1771, 188, 165); break; } else { dialog.Text("Come on minute 0 to 3."); dialog.Option("I see.", 255); dialog.Avatar(114); dialog.Send(); } break; } } break; }
case 2014: { switch (npcRequest.OptionID) { case 0: { dialog.Text("Hey there" + client.Entity.Name + " Would you like to Go to stage 2."); dialog.Option("Yes Please", 1); dialog.Option("I don't care.", 255); dialog.Send(); break; } case 1: { int alive = 0; foreach (Client.GameState Entitys in Program.Values) if (Entitys.Entity.MapID == 1771 && (!Entitys.Entity.Dead)) alive++; if (DateTime.Now.Minute >= 4) { if (alive <= 2) { Kernel.SendWorldMessage(new Network.GamePackets.Message(" Congratulations ! Winners Mighty Gone to stage 2", System.Drawing.Color.White, Network.GamePackets.Message.Center), Program.Values); client.Entity.SendSpawn(client, true); foreach (Client.GameState Entitys in Program.Values) if (Entitys.Entity.MapID == 1771 && (!Entitys.Entity.Dead)) { Entitys.Entity.Teleport(1772, 300, 278); } foreach (Client.GameState clients in Kernel.GamePool.Values) { if (clients.Entity.MapID == 1771) { clients.Entity.Teleport(1002, 300, 278); clients.Send(new NpcReply(NpcReply.MessageBox, "Sorry Entity Good Luck Next Time ;) ")); } } } } else { dialog.Text("Please wait until xx:4"); dialog.Option("okay.", 255); dialog.Send(); break; } break; } } break; }
case 2014: { switch (npcRequest.OptionID) { case 0: { dialog.Text("Hey there" + client.Entity.Name + " Would you like to Go to stage 2."); dialog.Option("Yes Please", 1); dialog.Option("I don't care.", 255); dialog.Send(); break; } case 1: { int alive = 0; foreach (Client.GameState Entitys in Program.Values) if (Entitys.Entity.MapID == 1772 && (!Entitys.Entity.Dead)) alive++; if (DateTime.Now.Minute >= 4) { if (alive == 1) { Kernel.SendWorldMessage(new Network.GamePackets.Message(" Congratulations ! Winners Mighty Gone to stage 2", System.Drawing.Color.White, Network.GamePackets.Message.Center), Program.Values); client.Entity.SendSpawn(client, true); client.Entity.Teleport(1773, 300, 278); foreach (Client.GameState clients in Kernel.GamePool.Values) { if (clients.Entity.MapID == 1772) { clients.Entity.Teleport(1002, 300, 278); clients.Send(new NpcReply(NpcReply.MessageBox, "Sorry Entity Good Luck Next Time ;) ")); } } } } else { dialog.Text("Please wait until xx:4"); dialog.Option("okay.", 255); dialog.Send(); break; } break; } } break; }
if (Name == "Birdman" && Kernel.Rate(30)) { if (killer.MapID == 1773) { uint iditemelehi23 = 101213; var infos = Database.ConquerItemInformation.BaseInformations[iditemelehi23]; ushort X = Owner.X, Y = Owner.Y; Game.Map Map = Kernel.Maps[Owner.MapID]; if (Map.SelectCoordonates(ref X, ref Y)) { Network.GamePackets.FloorItem floorItem = new Network.GamePackets.FloorItem(true); floorItem.Item = new Network.GamePackets.ConquerItem(true); floorItem.Item.Color = (Game.Enums.Color)Kernel.Random.Next(4, 8); floorItem.Item.ID = iditemelehi23; floorItem.Item.MobDropped = true; floorItem.Item.MaximDurability = infos.Durability; floorItem.ValueType = Network.GamePackets.FloorItem.FloorValueType.Item; floorItem.Item.StackSize = 1; floorItem.Item.MaxStackSize = infos.StackSize; floorItem.ItemID = iditemelehi23; floorItem.MapID = Owner.MapID; floorItem.MapObjType = Game.MapObjectType.Item; floorItem.X = X; floorItem.Y = Y; floorItem.Type = Network.GamePackets.FloorItem.Drop; floorItem.OnFloor = Time32.Now; floorItem.Owner = killer.Owner; floorItem.ItemColor = floorItem.Item.Color; floorItem.UID = Network.GamePackets.FloorItem.FloorUID.Next; while (Map.Npcs.ContainsKey(floorItem.UID)) floorItem.UID = Network.GamePackets.FloorItem.FloorUID.Next; Map.AddFloorItem(floorItem); SendScreenSpawn(floorItem); } } } if (Name == "Birdman" && Kernel.Rate(10)) { if (killer.MapID == 1773) { var infos = Database.ConquerItemInformation.BaseInformations[1088001]; ushort X = Owner.X, Y = Owner.Y; Game.Map Map = Kernel.Maps[Owner.MapID]; if (Map.SelectCoordonates(ref X, ref Y)) { Network.GamePackets.FloorItem floorItem = new Network.GamePackets.FloorItem(true); floorItem.Item = new Network.GamePackets.ConquerItem(true); floorItem.Item.Color = (Game.Enums.Color)Kernel.Random.Next(4, 8); floorItem.Item.ID = 1088001; floorItem.Item.MobDropped = true; floorItem.Item.MaximDurability = infos.Durability; floorItem.ValueType = Network.GamePackets.FloorItem.FloorValueType.Item; floorItem.Item.StackSize = 5; floorItem.Item.MaxStackSize = infos.StackSize; floorItem.ItemID = 1088001; floorItem.MapID = Owner.MapID; floorItem.MapObjType = Game.MapObjectType.Item; floorItem.X = X; floorItem.Y = Y; floorItem.Type = Network.GamePackets.FloorItem.Drop; floorItem.OnFloor = Time32.Now; floorItem.Owner = killer.Owner; floorItem.ItemColor = floorItem.Item.Color; floorItem.UID = Network.GamePackets.FloorItem.FloorUID.Next; while (Map.Npcs.ContainsKey(floorItem.UID)) floorItem.UID = Network.GamePackets.FloorItem.FloorUID.Next; Map.AddFloorItem(floorItem); SendScreenSpawn(floorItem); } } }
uint iditemelehi23 = 101213;
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("i have 30 token", 1); dialog.Avatar(85); dialog.Send(); break; } case 1: { if (client.Inventory.Contains(ID token ele anth 3mlto f monster, 30)) { client.Inventory.Remove(ID token ele anth 3mlto f monster, 30); client.Entity.ConquerPoints += 5000; } else { dialog.Text("You don't have enough 3 LordTokens "); dialog.Option("I see.", 255); dialog.Avatar(85); dialog.Send(); } break; } } break; }
1000009 1773 50 50 1 1 30 35 18
1771 700 65544 1772 700 65544 1773 700 65544