示例#1
0
        public override bool Use(SkillArgs Args)
        {
            if (!CanUse())
            {
                return(false);
            }

            if (PassiveExecutor_ == null)
            {
                return(false);
            }

            if (PassiveExecutor_.Execute(Args))
            {
                IsSustain_ = true;
            }

            return(IsSustain_);
        }
示例#2
0
        public virtual bool Use(SkillArgs Args)
        {
            if (!CanUse())
            {
                return(false);
            }

            if (Executor_ == null)
            {
                return(false);
            }

            if (Executor_.Execute(Args))
            {
                StartCD();
                Master.AddAttr(NpcAttrIndex.Mp, -Cost);
                return(true);
            }

            return(false);
        }