• Visit Rebornbuddy
  • Current Talents

    Discussion in 'Archives' started by Beowulfe, Mar 21, 2011.

    1. Beowulfe

      Beowulfe Community Developer

      Joined:
      Nov 4, 2010
      Messages:
      194
      Likes Received:
      20
      Trophy Points:
      0
      Hey guys,

      Just putting the finishing touches on a new CC and wanted to add one more bit of functionality.

      Is there any built-in way in HB to check current talent point allocation, or does this have to be done through LUA? I know some talents apply an aura I may be able to check for, but in this case I don't believe they do.

      For reference, currently looking for a way to detect two talents, both in the Protection Paladin tree - Hallowed Ground and Wrath of the Lightbringer.

      As of now I have no direct LUA coding (other than combat log handling for evade mobs) and would like to keep it that way if possible :)

      Thanks!


      EDIT: Just to clarify, Wrath of the Lightbringer is the main one I need to figure out. Hallowed Ground I have working, though in a relatively hacky way (which I'd like to fix if possible)... Currently comparing the spell's current cost to the user's base mana to determine what rank of the talent they have, which is pretty ugly.
       
      Last edited: Mar 21, 2011
    2. MaiN

      MaiN Moderator Staff Member Moderator Buddy Core Dev

      Joined:
      Jan 15, 2010
      Messages:
      1,017
      Likes Received:
      35
      Trophy Points:
      48
      Why not just use Lua? Use the tools you have available.
       
    3. Beowulfe

      Beowulfe Community Developer

      Joined:
      Nov 4, 2010
      Messages:
      194
      Likes Received:
      20
      Trophy Points:
      0
      I will if I have no other options available, it's just slower than grabbing values that may already be stored in HB, which is why I asked.

      Part of the intent behind this CC is to use as little CPU as possible, as I plan to use it for a CPU-intensive multi-bot run. I know it's a minor hit in the grand scheme of things, but the little things add up with you're running 15+ bots, so the more of them I can avoid the better.

      I'll take it from your reply that LUA is the only option though, so I guess that's what I'm going with. :p
       
    4. MaiN

      MaiN Moderator Staff Member Moderator Buddy Core Dev

      Joined:
      Jan 15, 2010
      Messages:
      1,017
      Likes Received:
      35
      Trophy Points:
      48
      Yes, issuing Lua statements is slow, but it's nowhere near CPU intensive. You won't have problems just by using Lua.
       

    Share This Page