Exemple #1
0
    public void OnHpStrengthenConfirm()
    {
        /*
         * if(GuideManager.Instance.currentStep == GuideManager.GUIDE_STEP.STRENGTHEN)
         *      GuideStrengthen.Instance.NextStep();//修炼指引 SELECT_4
         */
        //如果金钱不足,提示
        if (heroCardItem != null && heroCardItem.GetStrengthHpCostMoney() > Obj_MyselfPlayer.GetMe().money)
        {
//            BoxManager.showMessage("金钱不足");
//			BoxManager.showMessageByID((int)MessageIdEnum.Msg9);
            NetworkSender.Instance().buyGold(BuyGoldFinish, 1);
            return;
        }


        hporattack = 1;
        NetworkSender.Instance().CardStrengthen(OnCardStrengthenRet, heroCardItem, 1);
    }