• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • 治療真言有辦法和其他真言一樣嗎?

    Discussion in 'Demonbuddy 援助区' started by jacky681227, Jun 17, 2014.

    1. jacky681227

      jacky681227 New Member

      Joined:
      May 30, 2014
      Messages:
      13
      Likes Received:
      0
      Trophy Points:
      0
      E大您好 請問一下治療真言有辦法和其他真言一樣每1秒鐘放一次嗎?
      順影打有辦法離開怪物30碼在對怪物施放嗎?
      風元靈可以cd到就放嗎?
      求這3個的cs檔改法
      謝謝
       
    2. EricPhone

      EricPhone Moderator Moderator

      Joined:
      Feb 17, 2013
      Messages:
      5,665
      Likes Received:
      3
      Trophy Points:
      38
      治疗真言
      Code:
                  if (!UseOOCBuff && !IsCurrentlyAvoiding && !Player.IsIncapacitated && !Settings.Combat.Monk.DisableMantraSpam)
                  {
                      if (CombatBase.CanCast(SNOPower.X1_Monk_MantraOfConviction_v2) && !GetHasBuff(SNOPower.X1_Monk_MantraOfConviction_v2) &&
                          (Player.PrimaryResource >= 50) && CurrentTarget != null)
                      {
                          return new TrinityPower(SNOPower.X1_Monk_MantraOfConviction_v2);
                      }
      
                      if (CombatBase.CanCast(SNOPower.X1_Monk_MantraOfRetribution_v2) && !GetHasBuff(SNOPower.X1_Monk_MantraOfRetribution_v2) &&
                          (Player.PrimaryResource >= 50) && CurrentTarget != null)
                      {
                          return new TrinityPower(SNOPower.X1_Monk_MantraOfRetribution_v2);
                      }
                  }
      
      改成
      Code:
                  if (!UseOOCBuff && !IsCurrentlyAvoiding && !Player.IsIncapacitated && !Settings.Combat.Monk.DisableMantraSpam)
                  {
                      if (CombatBase.CanCast(SNOPower.X1_Monk_MantraOfConviction_v2) && !GetHasBuff(SNOPower.X1_Monk_MantraOfConviction_v2) &&
                          (Player.PrimaryResource >= 50) && CurrentTarget != null)
                      {
                          return new TrinityPower(SNOPower.X1_Monk_MantraOfConviction_v2);
                      }
      
                      if (CombatBase.CanCast(SNOPower.X1_Monk_MantraOfRetribution_v2) && !GetHasBuff(SNOPower.X1_Monk_MantraOfRetribution_v2) &&
                          (Player.PrimaryResource >= 50) && CurrentTarget != null)
                      {
                          return new TrinityPower(SNOPower.X1_Monk_MantraOfRetribution_v2);
                      }
                      
                      if (CombatBase.CanCast(SNOPower.X1_Monk_MantraOfHealing_v2) && !GetHasBuff(SNOPower.X1_Monk_MantraOfHealing_v2) &&
                          (Player.PrimaryResource >= 50) && CurrentTarget != null)
                      {
                          return new TrinityPower(SNOPower.X1_Monk_MantraOfHealing_v2);
                      }
                  }
      
      瞬影打无法修改
      风元灵
      Code:
      if (CombatBase.CanCast(SNOPower.X1_Monk_MysticAlly_v2) && TargetUtil.EliteOrTrashInRange(30f))
      
      改成
      Code:
      if (CombatBase.CanCast(SNOPower.X1_Monk_MysticAlly_v2)
      
       
      Last edited: Jul 14, 2014
    3. jacky681227

      jacky681227 New Member

      Joined:
      May 30, 2014
      Messages:
      13
      Likes Received:
      0
      Trophy Points:
      0
      不行啊,治療真言這樣改了後DB插件裡識别不到trinity了
       
    4. EricPhone

      EricPhone Moderator Moderator

      Joined:
      Feb 17, 2013
      Messages:
      5,665
      Likes Received:
      3
      Trophy Points:
      38
      之前贴的代码可能论坛发出来格式有边,所以导致里面有空格,我编辑了下格式,你按照现在上面的格式改就可以了
       

    Share This Page