• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • E大 請問 煙幕 跟 元素箭

    Discussion in 'Demonbuddy 援助区' started by Abgallu, Oct 2, 2014.

    1. Abgallu

      Abgallu New Member

      Joined:
      Oct 2, 2014
      Messages:
      4
      Likes Received:
      0
      Trophy Points:
      0
      // Smoke Screen
      if (CanCast(SNOPower.DemonHunter_SmokeScreen) && !GetHasBuff(SNOPower.DemonHunter_ShadowPower) && Player.SecondaryResource >= 14 &&
      (Player.CurrentHealthPct <= 0.90 || Player.IsRooted || TargetUtil.AnyMobsInRange(15) || Player.IsIncapacitated))
      大概的意思
      // Elemental Arrow
      if (CanCast(SNOPower.DemonHunter_ElementalArrow) && !Player.IsIncapacitated &&
      ((Player.PrimaryResource >= 10 && !IsWaitingForSpecial) || Player.PrimaryResource >= MinEnergyReserve || Legendary.Kridershot.IsEquipped))
      {
      return new TrinityPower(SNOPower.DemonHunter_ElementalArrow, 30f, CurrentTarget.ACDGuid);
      這樣設定 憎恨 會到多少才會普攻
       
    2. EricPhone

      EricPhone Moderator Moderator

      Joined:
      Feb 17, 2013
      Messages:
      5,665
      Likes Received:
      3
      Trophy Points:
      38
      Player.SecondaryResource >= 14
      Player.PrimaryResource >= MinEnergyReserve
      这个要看MinEnergyReserve定义的是多少了
       
    3. Abgallu

      Abgallu New Member

      Joined:
      Oct 2, 2014
      Messages:
      4
      Likes Received:
      0
      Trophy Points:
      0
      int MinEnergyReserve = 25;

      if (Sets.EmbodimentOfTheMarauder.IsFullyEquipped)
      MinEnergyReserve = 70;
      是這段嗎?
       
    4. EricPhone

      EricPhone Moderator Moderator

      Joined:
      Feb 17, 2013
      Messages:
      5,665
      Likes Received:
      3
      Trophy Points:
      38
      是的,这个是预设值
       
    5. Abgallu

      Abgallu New Member

      Joined:
      Oct 2, 2014
      Messages:
      4
      Likes Received:
      0
      Trophy Points:
      0
      是看上面那個
      還是下面那個
      我假如要設定 元素箭 用到沒有憎恨
      要怎麼設定
       
    6. EricPhone

      EricPhone Moderator Moderator

      Joined:
      Feb 17, 2013
      Messages:
      5,665
      Likes Received:
      3
      Trophy Points:
      38
      试下这样吧,不知道会不会造成其他问题
      Code:
      if (CanCast(SNOPower.DemonHunter_ElementalArrow) && !Player.IsIncapacitated &&
      ((Player.PrimaryResource >= 10))
      {
      
       

    Share This Page