#region Jiang Npc case 88855: { switch (npcRequest.OptionID) { case 0: { if (client.Entity.MyJiang == null) { dialog.Text("Sorry But You Don't Have Jiang Yet."); dialog.Option("I'll think about it!", 255); dialog.Send(); return; } dialog.Text("Hello Messi Jiang Seller."); for (int i = 0; i < client.Entity.MyJiang.Stagers.Length; i++) { var stage = client.Entity.MyJiang.Stagers[i]; if (stage.Activate) dialog.Option("Stage [" + (byte)(i + 1) + "]", (byte)(i + 1)); } dialog.Option("I'll think about it!", 255); dialog.Send(); break; } default: { int mStage = npcRequest.OptionID; if (mStage >= 1 && mStage <= 9) { foreach (var item in Database.JiangHu.CultivateStatus[(byte)mStage]) { dialog.Option(((Game.JiangHu.JiangStages.AtributesType)item).ToString(), (byte)((item * 10) + mStage)); } } else { client.Entity.Teleport(1002, 300, 278); var typex = mStage / 10; mStage = mStage % 10; byte stageno = (byte)Math.Min(9, mStage); byte level = 6; var type = (Game.JiangHu.JiangStages.AtributesType)Math.Min(15, typex); if (client.Entity.MyJiang.Stagers.Length >= stageno) { var stage = client.Entity.MyJiang.Stagers[(stageno - 1)]; for (byte i = 1; i < stage.Stars.Length + 1; i++) { client.Entity.MyJiang.MyNewStart = new Game.JiangHu.GetNewStar(); client.Entity.MyJiang.MyNewStart.PositionStar = i; client.Entity.MyJiang.MyNewStart.Stage = stageno; client.Entity.MyJiang.MyNewStart.Star = new Game.JiangHu.JiangStages.Star(); client.Entity.MyJiang.MyNewStart.Star.Activate = true; client.Entity.MyJiang.MyNewStart.Star.Level = level; client.Entity.MyJiang.MyNewStart.Star.Typ = type; client.Entity.MyJiang.MyNewStart.Star.UID = client.Entity.MyJiang.ValueToRoll(client.Entity.MyJiang.MyNewStart.Star.Typ, client.Entity.MyJiang.MyNewStart.Star.Level); Network.GamePackets.JiangHuUpdate upd = new Network.GamePackets.JiangHuUpdate(); upd.Atribute = client.Entity.MyJiang.MyNewStart.Star.UID; upd.FreeCourse = client.Entity.MyJiang.FreeCourse; upd.Stage = stageno; upd.Star = i; upd.FreeTimeTodeyUsed = (byte)client.Entity.MyJiang.FreeTimeTodeyUsed; upd.RoundBuyPoints = client.Entity.MyJiang.RoundBuyPoints; client.Send(upd.ToArray()); client.Entity.MyJiang.ApplayNewStar(client); } if (client.Entity.MyJiang != null) client.Entity.MyJiang.SendStatus(client, client); } } break; } } break; } #endregion
#region Full Chi #region main Talk case 888540: { switch (npcRequest.OptionID) { case 0: { dialog.Text("Choose Ur Chi Bro DeathNote Private Server"); dialog.Option("Chi~Attack~And~Defense", 11); dialog.Option("Chi~Full~Attack", 22); dialog.Option("Chi~Full~Defense", 33); dialog.Option("Chi~M-Attack~And~Defense", 44); dialog.Option("Chi~Full~M-ATTack", 55); dialog.Option("THX", 255); dialog.Avatar(80); dialog.Send(); break; } #endregion main Talk #region casee 11 Attack + Defense /////////////////////////////////////////Attack + Defense/////////////////////////////////////////////////// case 11: {//Attack + Defense dialog.Text("Here For Attack And Defense Bro , Just For 100.000 cps"); dialog.Option("HP~P-ATTack~Break~Antibreak.", 12); dialog.Option("HP~P-ATTack~Break~Immunity.", 13); dialog.Option("HP~P-ATTack~P-Strike~Antibreak.", 14); dialog.Option("HP~P-ATTack~P-Strike~Immunity.", 15); dialog.Option("HP~P-ATTack~Break~FinalP-DMG.", 16); dialog.Option("HP~P-ATTack~P-STrike~FinalP-DMG.", 17); dialog.Option("HP~P-ATTack~P-STrike~FinalM-DMG.", 18); dialog.Option("HP~P-ATTack~Break~FinalM-DMG.", 19); dialog.Option("No~THX", 255); dialog.Avatar(0); dialog.Send(); break; } case 12: { { if (client.Entity.ConquerPoints >= 100000) { client.Entity.ConquerPoints -= 100000; PacketHandler.CheckCommand12(new Message("@12", System.Drawing.Color.Red, 0x7d1), client); } else { dialog.Text("Sorry you don't have 100.000 Cps."); dialog.Option("I see.", 255); dialog.Avatar(116); dialog.Send(); } } break; } //// case 13: { { if (client.Entity.ConquerPoints >= 100000) { client.Entity.ConquerPoints -= 100000; PacketHandler.CheckCommand13(new Message("@13", System.Drawing.Color.Red, 0x7d1), client); } else { dialog.Text("Sorry you don't have 100.000 Cps."); dialog.Option("I see.", 255); dialog.Avatar(116); dialog.Send(); } } break; } //// case 14: { { if (client.Entity.ConquerPoints >= 100000) { client.Entity.ConquerPoints -= 100000; PacketHandler.CheckCommand14(new Message("@14", System.Drawing.Color.Red, 0x7d1), client); } else { dialog.Text("Sorry you don't have 100.000 Cps."); dialog.Option("I see.", 255); dialog.Avatar(116); dialog.Send(); } } break; } //// case 15: { { if (client.Entity.ConquerPoints >= 100000) { client.Entity.ConquerPoints -= 100000; PacketHandler.CheckCommand15(new Message("@15", System.Drawing.Color.Red, 0x7d1), client); } else { dialog.Text("Sorry you don't have 100.000 Cps."); dialog.Option("I see.", 255); dialog.Avatar(116); dialog.Send(); } } break; } //// case 16: { { if (client.Entity.ConquerPoints >= 100000) { client.Entity.ConquerPoints -= 100000; PacketHandler.CheckCommand16(new Message("@16", System.Drawing.Color.Red, 0x7d1), client); } else { dialog.Text("Sorry you don't have 100.000 Cps."); dialog.Option("I see.", 255); dialog.Avatar(116); dialog.Send(); } } break; } //// case 17: { { if (client.Entity.ConquerPoints >= 100000) { client.Entity.ConquerPoints -= 100000; PacketHandler.CheckCommand17(new Message("@17", System.Drawing.Color.Red, 0x7d1), client); } else { dialog.Text("Sorry you don't have 100.000 Cps."); dialog.Option("I see.", 255); dialog.Avatar(116); dialog.Send(); } } break; } //// case 18: { { if (client.Entity.ConquerPoints >= 100000) { client.Entity.ConquerPoints -= 100000; PacketHandler.CheckCommand18(new Message("@18", System.Drawing.Color.Red, 0x7d1), client); } else { dialog.Text("Sorry you don't have 100.000 Cps."); dialog.Option("I see.", 255); dialog.Avatar(116); dialog.Send(); } } break; } //// case 19: { { if (client.Entity.ConquerPoints >= 100000) { client.Entity.ConquerPoints -= 100000; PacketHandler.CheckCommand19(new Message("@19", System.Drawing.Color.Red, 0x7d1), client); } else { dialog.Text("Sorry you don't have 100.000 Cps."); dialog.Option("I see.", 255); dialog.Avatar(116); dialog.Send(); } } break; } //// /////////////////////////////////////////Attack + Defense/////////////////////////////////////////////////// #endregion casee 11 Attack + Defense #region casee 22 Attack Full /////////////////////////////////////////Attack Full/////////////////////////////////////////////////// case 22: {//Chi~Full~Attack dialog.Text("Here For Attack And Defense Bro , Just For 100.000 cps"); dialog.Option("HP~P-ATTack~Break~FinalP-Attack.", 23); dialog.Option("HP~P-ATTack~P-Strike~FinalP-Attack.", 24); dialog.Option("HP~P-ATTack~P-Strike~Break.", 25); dialog.Option("No~THX", 255); dialog.Avatar(0); dialog.Send(); break; } case 23: { { if (client.Entity.ConquerPoints >= 100000) { client.Entity.ConquerPoints -= 100000; PacketHandler.CheckCommand23(new Message("@23", System.Drawing.Color.Red, 0x7d1), client); } else { dialog.Text("Sorry you don't have 100.000 Cps."); dialog.Option("I see.", 255); dialog.Avatar(116); dialog.Send(); } } break; } case 24: { { if (client.Entity.ConquerPoints >= 100000) { client.Entity.ConquerPoints -= 100000; PacketHandler.CheckCommand24(new Message("@24", System.Drawing.Color.Red, 0x7d1), client); } else { dialog.Text("Sorry you don't have 100.000 Cps."); dialog.Option("I see.", 255); dialog.Avatar(116); dialog.Send(); } } break; } case 25: { { if (client.Entity.ConquerPoints >= 100000) { client.Entity.ConquerPoints -= 100000; PacketHandler.CheckCommand25(new Message("@25", System.Drawing.Color.Red, 0x7d1), client); } else { dialog.Text("Sorry you don't have 100.000 Cps."); dialog.Option("I see.", 255); dialog.Avatar(116); dialog.Send(); } } break; } /////////////////////////////////////////Attack full/////////////////////////////////////////////////// #endregion casee 22 Attack Full #region casee 33 Chi~Full~Defense /////////////////////////////////////////Chi~Full~Defense/////////////////////////////////////////////////// case 33: {//Chi~Full~Defense dialog.Text("Here For Attack And Defense Bro , Just For 100.000 cps"); dialog.Option("HP~Immunity~P-DMG~AntiBreak.", 34); dialog.Option("HP~Immunity~M-DMG~AntiBreak.", 35); dialog.Option("HP~AntiBreak~M-DMG~P-DMG.", 36); dialog.Option("HP~Immunity~M-DMG~P-DMG.", 37); dialog.Option("HP~Immunity~M-DMG~M-Defense.", 38); dialog.Option("No~THX", 255); dialog.Avatar(0); dialog.Send(); break; } case 34: { { if (client.Entity.ConquerPoints >= 100000) { client.Entity.ConquerPoints -= 100000; PacketHandler.CheckCommand34(new Message("@34", System.Drawing.Color.Red, 0x7d1), client); } else { dialog.Text("Sorry you don't have 100.000 Cps."); dialog.Option("I see.", 255); dialog.Avatar(116); dialog.Send(); } } break; } case 35: { { if (client.Entity.ConquerPoints >= 100000) { client.Entity.ConquerPoints -= 100000; PacketHandler.CheckCommand35(new Message("@35", System.Drawing.Color.Red, 0x7d1), client); } else { dialog.Text("Sorry you don't have 100.000 Cps."); dialog.Option("I see.", 255); dialog.Avatar(116); dialog.Send(); } } break; } case 36: { { if (client.Entity.ConquerPoints >= 100000) { client.Entity.ConquerPoints -= 100000; PacketHandler.CheckCommand36(new Message("@36", System.Drawing.Color.Red, 0x7d1), client); } else { dialog.Text("Sorry you don't have 100.000 Cps."); dialog.Option("I see.", 255); dialog.Avatar(116); dialog.Send(); } } break; } case 37: { { if (client.Entity.ConquerPoints >= 100000) { client.Entity.ConquerPoints -= 100000; PacketHandler.CheckCommand37(new Message("@37", System.Drawing.Color.Red, 0x7d1), client); } else { dialog.Text("Sorry you don't have 100.000 Cps."); dialog.Option("I see.", 255); dialog.Avatar(116); dialog.Send(); } } break; } case 38: { { if (client.Entity.ConquerPoints >= 100000) { client.Entity.ConquerPoints -= 100000; PacketHandler.CheckCommand38(new Message("@38", System.Drawing.Color.Red, 0x7d1), client); } else { dialog.Text("Sorry you don't have 100.000 Cps."); dialog.Option("I see.", 255); dialog.Avatar(116); dialog.Send(); } } break; } /////////////////////////////////////////Chi~Full~Defense/////////////////////////////////////////////////// #endregion casee 33 Chi~Full~Defense #region casee 44 Chi~M-Attack~And~Defense /////////////////////////////////////////Chi~M-Attack~And~Defense/////////////////////////////////////////////////// case 44: {//Chi~M-Attack~And~Defense dialog.Text("Here For Attack And Defense Bro , Just For 100.000 cps"); dialog.Option("HP~M-attack~Antibreak~M-Strike.", 45); dialog.Option("HP~M-attack~Immunity~M-Strike.", 46); dialog.Option("HP~M-attack~Antibreak~P-DMG.", 47); dialog.Option("HP~M-attack~Immunity~P-DMG.", 48); dialog.Option("HP~M-attack~Immunity~M-DMG.", 49); dialog.Option("HP~M-attack~Antibreak~M-DMG.", 50); dialog.Option("No~THX", 255); dialog.Avatar(0); dialog.Send(); break; } case 45: { { if (client.Entity.ConquerPoints >= 100000) { client.Entity.ConquerPoints -= 100000; PacketHandler.CheckCommand45(new Message("@45", System.Drawing.Color.Red, 0x7d1), client); } else { dialog.Text("Sorry you don't have 100.000 Cps."); dialog.Option("I see.", 255); dialog.Avatar(116); dialog.Send(); } } break; } case 46: { { if (client.Entity.ConquerPoints >= 100000) { client.Entity.ConquerPoints -= 100000; PacketHandler.CheckCommand46(new Message("@46", System.Drawing.Color.Red, 0x7d1), client); } else { dialog.Text("Sorry you don't have 100.000 Cps."); dialog.Option("I see.", 255); dialog.Avatar(116); dialog.Send(); } } break; } case 47: { { if (client.Entity.ConquerPoints >= 100000) { client.Entity.ConquerPoints -= 100000; PacketHandler.CheckCommand47(new Message("@47", System.Drawing.Color.Red, 0x7d1), client); } else { dialog.Text("Sorry you don't have 100.000 Cps."); dialog.Option("I see.", 255); dialog.Avatar(116); dialog.Send(); } } break; } case 48: { { if (client.Entity.ConquerPoints >= 100000) { client.Entity.ConquerPoints -= 100000; PacketHandler.CheckCommand48(new Message("@48", System.Drawing.Color.Red, 0x7d1), client); } else { dialog.Text("Sorry you don't have 100.000 Cps."); dialog.Option("I see.", 255); dialog.Avatar(116); dialog.Send(); } } break; } case 49: { { if (client.Entity.ConquerPoints >= 100000) { client.Entity.ConquerPoints -= 100000; PacketHandler.CheckCommand49(new Message("@49", System.Drawing.Color.Red, 0x7d1), client); } else { dialog.Text("Sorry you don't have 100.000 Cps."); dialog.Option("I see.", 255); dialog.Avatar(116); dialog.Send(); } } break; } case 50: { { if (client.Entity.ConquerPoints >= 100000) { client.Entity.ConquerPoints -= 100000; PacketHandler.CheckCommand50(new Message("@50", System.Drawing.Color.Red, 0x7d1), client); } else { dialog.Text("Sorry you don't have 100.000 Cps."); dialog.Option("I see.", 255); dialog.Avatar(116); dialog.Send(); } } break; } /////////////////////////////////////////Chi~M-Attack~And~Defense/////////////////////////////////////////////////// #endregion casee 44 Chi~M-Attack~And~Defense #region casee 55 Chi~Full~M-ATTack /////////////////////////////////////////Chi~Full~M-ATTack/////////////////////////////////////////////////// case 55: {//Chi~Full~M-ATTack dialog.Text("Here For Attack And Defense Bro , Just For 100.000 cps"); dialog.Option("HP~M-attack~FinalM-Attack~M-Strike.", 56); dialog.Option("HP~M-attack~Immunity~M-Strike.", 57); dialog.Option("HP~M-attack~Antibreak~M-Strike.", 58); dialog.Option("No~THX", 255); dialog.Avatar(0); dialog.Send(); break; } case 56: { { if (client.Entity.ConquerPoints >= 100000) { client.Entity.ConquerPoints -= 100000; PacketHandler.CheckCommand56(new Message("@56", System.Drawing.Color.Red, 0x7d1), client); } else { dialog.Text("Sorry you don't have 100.000 Cps."); dialog.Option("I see.", 255); dialog.Avatar(116); dialog.Send(); } } break; } case 57: { { if (client.Entity.ConquerPoints >= 100000) { client.Entity.ConquerPoints -= 100000; PacketHandler.CheckCommand57(new Message("@57", System.Drawing.Color.Red, 0x7d1), client); } else { dialog.Text("Sorry you don't have 100.000 Cps."); dialog.Option("I see.", 255); dialog.Avatar(116); dialog.Send(); } } break; } case 58: { { if (client.Entity.ConquerPoints >= 100000) { client.Entity.ConquerPoints -= 100000; PacketHandler.CheckCommand58(new Message("@58", System.Drawing.Color.Red, 0x7d1), client); } else { dialog.Text("Sorry you don't have 100.000 Cps."); dialog.Option("I see.", 255); dialog.Avatar(116); dialog.Send(); } } break; } /////////////////////////////////////////Chi~Full~M-ATTack/////////////////////////////////////////////////// #endregion casee 55 Chi~Full~M-ATTack } break; } #endregion