• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • How can you count damage in a CC bot?

    Discussion in 'Honorbuddy Forum' started by WarlockDrake, Nov 5, 2012.

    1. WarlockDrake

      WarlockDrake New Member

      Joined:
      Dec 10, 2011
      Messages:
      8
      Likes Received:
      0
      Trophy Points:
      1
      I built this simple Mage CC that I use for Lazy raider. It does basic movement and does a standard fire rotation.

      It works great! I normally talent into Invocation and I make sure the bot has the buff always on, Living bomb and Ice barrier. It will also detect when I am moving and only cast spells that work when moving.

      Everything is great right? Except for one snag, Combustion. As most fire mage's know, you want to hit it only when you have a good Ignite/Pyroblast proc. Otherwise your never going to beet an arcane or even a frost dps. While even just checking if ignite and Pyroblast is up and making sure Pyroblost is only cast on proc, it still is about 20% below me doing by hand.

      I have an add-on called "Combustion Helper". It figures out the ticks of ignite and pyroblast and tells you how much damage your Combustion will do. It even estimates the amount of ticks it will do. Currently the addon uses the "working values" as local lua values. I can modify the addon to save the current value to a global lua value. So my question is this.

      Can I just get the global value from the addon or is there an API where I can catch when Ignite/Pyroblast ticks. Or better yet, how much damage they do on hit?

      This is my first CC so just using the generic CombatBot class.

      PS - I know this answer might of been answered before but the wiki dosn't have alot of information about accessing the lua engine and I hate going though code because I am unsure what the best practices are. (Ex, Me.HasArua("Molten Armor") vs Me.Aruas.ContainsKey("Molten Aura"))
       

    Share This Page