Jump to content

Jupken13

Members
  • Posts

    8
  • Joined

  • Last visited

Everything posted by Jupken13

  1. Maybe it doesn't work if you have "Launch rotation when combat starts" enabled. Can try "Attack all selected targets". Both are under Product Settings.
  2. I tested this code. Again, this code works if the debuff ( Festering Wound ) is present with at least one stack. In case the debuff is non existant on the target, it doesn't cast. I could probably use Target Buff Casted By Me as a workaround in a different condition, although that would give me a lot more work. Thanks for feedback.
  3. Hello, I can't seem to figure out the following: I want to have a condition that checks the Buff Stack Target for Festering Wound. However, whenever I use this function, it checks the debuffs from ALL DK's. I want to check the Stack of my own debuffs, which can go up to 8. Target Buff Casted By Me checks if my debuff is on the target, but that only checks for if the debuff is "present". If I combine the above 2, it doesn't work. Hence, I started to write in LUA code... But I seem to have reach an impasse. returnResult = false; local name = GetSpellInfo(194310); local _, _, _, count, _, _, _, unitCaster = UnitDebuff("target", name, nil, "player"); if count and count =< 6 then returnResult = true; end The above seems to work, but not if the debuff isn't present! I would also need the same code, but this time, with a Between function. Example: Between 2 & 6 stacks. I lack the experience to create the proper code, can anyone help? Thanks!
  4. That doesn't seem impossible. Dragon Roar is ONLY casted before the use of Rampage "Is Spell Usable" ==> Rampage, need true In case rampage is a buff, you can also check for buff instead. Rampage in my rotation can only be used if I am not buffed with Enrage or if I am at a 100 rage. "Buff Casted By Me" ==> Enrage = False "Rage" ==> Equal or higher value 100 If you want to use Spell ID to verify buff you can also use C sharp code: wManager.Wow.ObjectManager.ObjectManager.Me.HaveBuff( Spell ID ) There is also another thing with conditions... Whenever you add a spell to the rotation, when you add conditions, they always reflect as AND. In order to get the OR condition, you might need to add the spell twice. As example... Dragon Roar ==> Is Spell Usable, Rampage, need true Rampage ==> Buff Casted By Me, Enrage, need false Rampage ==> Rage, Equal Or Higher, value 100
  5. I have an issue where the bot doesn't fully make use of Heroism/Bloodlust. The gcd shortens for me during this period, but it still takes one full second before the bot reacts to this. Is it possible to shorten the cast time or make it queue the next spell faster?
  6. Thanks for the info! It seems the only mistake on my code was writing "UnitBuff" instead of "UnitDebuff". After changing this, it worked just fine. I might use your code if I can manage to find how to count stacks.
  7. Dear all, I'm trying to create a fightclass that can be used in dungeons/raids. I have some complications with inserting certain code. I've scouted the forums in search for an answer, but I am unable to find it. There are 2 things I wish to add to my rotation. Soul Reaper (lua): returnResult = false; local name = GetSpellInfo(194310); local _, _, _, count = UnitBuff("target", name); if count and count >= 3 then returnResult = true; end I shamelessly adapted (and modified) this code from Droidz to count target buff stacks (was originally own buffs)... But it does not work. :< Apocalypse (ID 220143): I wish to /use this Artifact (ID 128403) ability, with the same code that I used for Soul Reaper, as is shown above. I've added the fightclass as an attachment, but it remains incomplete. Thanks in advance for your help! Jupken13 Unholy Raid v1.0.xml
  8. Version 1.1

    151 downloads

    A simple profile that places more emphasis on the use of Defile.
×
×
  • Create New...