Exemplo n.º 1
0
 public bool AbortCurUseSkill(SkillAbortType _type)
 {
     if (this.CurUseSkillSlot != null)
     {
         return(this.CurUseSkillSlot.Abort(_type));
     }
     return(true);
 }
Exemplo n.º 2
0
 public void SetAbort(SkillAbortType _type)
 {
     if (_type < SkillAbortType.TYPE_SKILL_0 || _type > SkillAbortType.TYPE_DAMAGE)
     {
         return;
     }
     this.abortRuleArray[(int)_type] = true;
 }
Exemplo n.º 3
0
        public void SetAbort(SkillAbortType _type)
        {
            int index = (int)_type;

            if ((index >= 0) && (index <= 6))
            {
                this.abortRuleArray[index] = true;
            }
        }
Exemplo n.º 4
0
 public bool IsAbort(SkillAbortType _type)
 {
     if (this.SkillObj != null)
     {
         if (this.SkillObj.isFinish)
         {
             return(true);
         }
         if (!this.SkillObj.canAbort(_type))
         {
             return(false);
         }
     }
     return(true);
 }
Exemplo n.º 5
0
 public bool Abort(SkillAbortType _type)
 {
     if (this.SkillObj != null)
     {
         if (this.SkillObj.isFinish)
         {
             return(true);
         }
         if (!this.SkillObj.canAbort(_type))
         {
             return(false);
         }
         this.SkillObj.Stop();
         this.skillChangeEvent.Abort();
     }
     return(true);
 }
 public Action_bt_WrapperAI_Hero_HeroLowAI_node447()
 {
     this.method_p0 = SkillAbortType.TYPE_MOVE;
 }
 public Action_bt_WrapperAI_Hero_HeroGuideFollowNew_node447()
 {
     this.method_p0 = SkillAbortType.TYPE_MOVE;
 }
Exemplo n.º 8
0
        public bool Abort(SkillAbortType _type)
        {
            int index = (int)_type;

            return(((index >= 0) && (index <= 6)) && this.abortRuleArray[index]);
        }
Exemplo n.º 9
0
 public Action_bt_WrapperAI_Hero_HeroCommonAutoAI_node489()
 {
     this.method_p0 = SkillAbortType.TYPE_MOVE;
 }
 public Action_bt_WrapperAI_Monster_BTMonsterZhaoHuanWu_node489()
 {
     this.method_p0 = SkillAbortType.TYPE_MOVE;
 }
Exemplo n.º 11
0
 public Action_bt_WrapperAI_Monster_BTMonsterBossPassive_node444()
 {
     this.method_p0 = SkillAbortType.TYPE_MOVE;
 }
 public Action_bt_WrapperAI_Monster_BTMonsterFairy_node38()
 {
     this.method_p0 = SkillAbortType.TYPE_MOVE;
 }
Exemplo n.º 13
0
 public bool Abort(SkillAbortType _type)
 {
     return(_type >= SkillAbortType.TYPE_SKILL_0 && _type <= SkillAbortType.TYPE_DAMAGE && this.abortRuleArray[(int)_type]);
 }
 public Action_bt_WrapperAI_Soldier_BTSoldierPro_node21()
 {
     this.method_p0 = SkillAbortType.TYPE_MOVE;
 }
Exemplo n.º 15
0
 public bool IsAbort(SkillAbortType _type)
 {
     return(this.SkillObj == null || this.SkillObj.isFinish || this.SkillObj.canAbort(_type));
 }
Exemplo n.º 16
0
 public Action_bt_WrapperAI_Hero_HeroWarmNormalAI_node478()
 {
     this.method_p0 = SkillAbortType.TYPE_MOVE;
 }
 public Action_bt_WrapperAI_Soldier_BTSoldierNormal_node444()
 {
     this.method_p0 = SkillAbortType.TYPE_MOVE;
 }
Exemplo n.º 18
0
 public bool canAbort(SkillAbortType _type)
 {
     return(this.skillAbort.Abort(_type));
 }
 public Action_bt_WrapperAI_Hero_HeroWarmSimpleAI_node1024()
 {
     this.method_p0 = SkillAbortType.TYPE_MOVE;
 }
 public bool AbortCurUseSkill(SkillAbortType _type)
 {
     return(this.CurUseSkillSlot == null || this.CurUseSkillSlot.Abort(_type));
 }