• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • E大 问下圣教军的推马如何修改 可以对一个小怪使用啊

    Discussion in 'Demonbuddy 援助区' started by VincentChankop, Sep 3, 2014.

    1. VincentChankop

      VincentChankop Member

      Joined:
      May 3, 2014
      Messages:
      105
      Likes Received:
      0
      Trophy Points:
      16
      E大 问下圣教军的推马如何修改 可以对一个小怪使用啊 就是圣君之阵的战马溃敌符文如何修改可以对一个小怪使用啊
       
    2. EricPhone

      EricPhone Moderator Moderator

      Joined:
      Feb 17, 2013
      Messages:
      5,665
      Likes Received:
      3
      Trophy Points:
      38
      将Trinity\Combat\Abilities\CrusaderCombat.cs中的
      Code:
              private static bool CanCastPhalanx()
              {
                  return CanCast(SNOPower.x1_Crusader_Phalanx3) && (TargetUtil.ClusterExists(15f, 3) || TargetUtil.EliteOrTrashInRange(15f));
              }
      
      改成
      Code:
              private static bool CanCastPhalanx()
              {
                  return CanCast(SNOPower.x1_Crusader_Phalanx3) && (TargetUtil.ClusterExists(15f, 1) || TargetUtil.EliteOrTrashInRange(15f));
              }
      
      代码里的(TargetUtil.ClusterExists(15f, 1) 就是15码内有1个敌人时使用
       
    3. VincentChankop

      VincentChankop Member

      Joined:
      May 3, 2014
      Messages:
      105
      Likes Received:
      0
      Trophy Points:
      16
      还有箭塔dh里怎么让dh不使用元素箭
       
    4. EricPhone

      EricPhone Moderator Moderator

      Joined:
      Feb 17, 2013
      Messages:
      5,665
      Likes Received:
      3
      Trophy Points:
      38
      呃,你不把元素箭这个技能放出来他不就不会使用了吗
       
    5. VincentChankop

      VincentChankop Member

      Joined:
      May 3, 2014
      Messages:
      105
      Likes Received:
      0
      Trophy Points:
      16
      主要是我想用三个憎恨技能 另外如何修改 箭塔可以在只有一个怪物的时候释放?
       
    6. EricPhone

      EricPhone Moderator Moderator

      Joined:
      Feb 17, 2013
      Messages:
      5,665
      Likes Received:
      3
      Trophy Points:
      38
      箭塔技能判断太复杂,我也不知道如何改
       

    Share This Page