#region InnerPower Full case 785410: { switch (npcRequest.OptionID) { case 0: { dialog.Text("im Selling InnerPower Items and InnePower System Full By XFire"); dialog.Option("Buy Full InnerPower", 1); dialog.Option("I will come later. ", 255); dialog.Send(); break; } case 1: { if (client.Player.ConquerPoints >= 1) { client.Player.ConquerPoints -= 1; Database.InnerPowerTable.Stage DBStage = null; foreach (var m_stage in client.Player.InnerPower.Stages) { foreach (var m_gong in m_stage.NeiGongs) { m_stage.UnLocked = m_gong.Unlocked = true; m_gong.Score = 100; Database.InnerPowerTable.Stage.NeiGong DBGong = null; if (Database.InnerPowerTable.GetDBInfo(m_gong.ID, out DBStage, out DBGong)) m_gong.level = DBGong.MaxLevel; } } client.Player.InnerPower.UpdateStatus(); client.LoadItemStats(); //InnerPower.InnerPowerRank.UpdateRank(client.Player.InnerPower); } else { dialog.Text("You do not have 1000 ConquerPoints with you."); dialog.Option("Ok, will come later. ", 255); dialog.Send(); } break; } } break; } #endregion