Ejemplo n.º 1
0
    public void OnAttackStrengthenConfirm()
    {
        //如果金钱不足,提示
        if (heroCardItem != null && heroCardItem.GetStrengthAttackCostMoney() > Obj_MyselfPlayer.GetMe().money)
        {
//            BoxManager.showMessage("金钱不足");
//			BoxManager.showMessageByID((int)MessageIdEnum.Msg9);
            NetworkSender.Instance().buyGold(BuyGoldFinish, 1);
            return;
        }

        hporattack = 0;

        /*
         * if(GuideManager.GUIDE_STEP.STRENGTHEN == GuideManager.Instance.currentStep)
         * {
         *      //GuideStrengthen.Instance.NextStep();//修炼指引 SELECT_5
         *      NetworkSender.Instance().CardStrengthen(sendFinishStep, heroCardItem, 0);
         * }else
         * {*/
        NetworkSender.Instance().CardStrengthen(OnCardStrengthenRet, heroCardItem, 0);                /*
                                                                                                       * }*/
    }