• Visit Rebornbuddy
  • Double of the same vaal skill?

    Discussion in 'Archives' started by germanicus, Dec 16, 2016.

    1. germanicus

      germanicus Member

      Joined:
      Mar 25, 2015
      Messages:
      56
      Likes Received:
      0
      Trophy Points:
      6
      I've read a bit on this topic, and saw that currently the old routine just casts any skill with "vaal" in it. This thread has some tips on customizing: https://www.thebuddyforum.com/exilebuddy-forum/235291-casting-vaal-haste.html

      My question is if its possible to get the routine to recognize if you have 2 of the same skills, i.e. 2 vaal haste. Currently it only uses one of the two.

      Thanks
       
    2. germanicus

      germanicus Member

      Joined:
      Mar 25, 2015
      Messages:
      56
      Likes Received:
      0
      Trophy Points:
      6
      Nevermind I just realized its part of the cyclone routine I'm using. My question is still the same though.
      I think this is the code that assigns the vaal haste skill on the skill bar:

      Code:
      var vh = LokiPoe.InGameState.SkillBarHud.Skills.FirstOrDefault(s => s.Name == "Vaal Haste");
                      if (IsCastableHelper(vh))
                      {
                          _vaalHasteSlot = vh.Slot;
                      }
      
      
      I can probably create another slot for the 2nd vaal haste correct?
      But how do I point that second one to the 2nd vaal haste? Is there a variation of "LokiPoe.InGameState.SkillBarHud.Skills.FirstOrDefault" that would get the other one? If not by name then maybe a way to refer to the skill directly by the location on the bar?
       
    3. germanicus

      germanicus Member

      Joined:
      Mar 25, 2015
      Messages:
      56
      Likes Received:
      0
      Trophy Points:
      6
      I just pointed it manually to the 2nd Vaal Haste slot, let me know if there's a smarter way of doing this that would still work if the skill slots change.
      Thanks

      Update: Working well, adding 2 vaal hastes shaved 30% of average time per map!
       
      Last edited: Dec 16, 2016
    4. 54sgdg4d6s

      54sgdg4d6s Member

      Joined:
      Jun 26, 2013
      Messages:
      193
      Likes Received:
      0
      Trophy Points:
      16
      You can set
      after you casting vaal haste.
       
      Last edited: Dec 16, 2016

    Share This Page