Пример #1
0
        public bool preAttackMe(SceneCardItem pAtt, stCardAttackMagicUserCmd rev)
        {
            if (pAtt.isDie())
            {
                return(false);
            }
            if (!pAtt.isAwake())
            {
                return(false);
            }
            if (!pAtt.checkAttackTimes())
            {
                return(false);
            }

            return(true);
        }
Пример #2
0
        public bool preAttackMe(SceneCardItem pAtt, stCardAttackMagicUserCmd rev)
        {
            if (pAtt.isDie())
            {
                return false;
            }
            if (!pAtt.isAwake())
            {
                return false;
            }
            if (!pAtt.checkAttackTimes())
            {
                return false;
            }

            return true;
        }