Jump to content

Ohren

Elite user
  • Posts

    465
  • Joined

  • Last visited

Posts posted by Ohren

  1. Example Six: Awesome work-around.

     

    Soo, this is a work-around for a feature I have suggested, which was to add a way to cast spells that are off the global cooldown, so you don't waste those precious few DPS (or if you're a warrior getting stuck at 100% rage frequently, that massive DPS).

     

    LUA Script

    post-301-0-61098200-1365964146_thumb.jpg

    In spell settings, change Check if know spell, is usable and good distance -> false.

     

    How it works: When WRobot is looping your fight class, it runs each condition for the spells, if the first condition is not met, it doesn't ever check the second. So what it does here is, checks is my rage condition is met, if it does it checks if the lua script I set is true or false, while doing this the LUA script (CastSpellByName("Heroic Strike")) actually triggers the spell, then WRobot sees that retV is actually 1 and not 0 like we were looking for, and it goes on it's marry little way, without skipping a beat.

  2. Example Four: Just die already...

     

    Target Health Percent -> Percent health of your current target (0 to 100)

    post-301-0-96990700-1365709500_thumb.jpg

     

    Kill Shot is HUGE damage for that last 20% of a boss' health, and even on world trash, can end a fight real quick. Using a setup like this will only cast Kill Shot if targets health < 20%. Since a lot of classes have spells that deal HUGE damage for the end of a fight (DK's Soul Reaper, Warrior's Execute Shadow Priest's Shadow Word: Death), this one is very useful. You can also use it to keep yourself from wasting your energy/combo points on a Feral Druid by using Rip when it's health is already really low.

     

    post-301-0-50333900-1365709968_thumb.jpg

     

    And this brings up yet ANOTHER condition...

     

    Example Five: C-c-c-c-c-combo.

    Combo Point -> Your combo point

    post-301-0-39313500-1365710025_thumb.jpg

    All of a rogues and feral druid's BIG damage moves require combo points. But you don't want to cast it right as soon as you get one... or else it's a waste. With this setup (strictly for feral, since critical hits can generate 2 combo points and you never want to waste a single one), if your combo points are BIGGER that 3 (which only leaves 4 and 5) then it will cast rip (and assuming target's health is higher than the previous example).

  3. I personally, do not use the bot in any area's where the population is dense, this includes dungeons and raids. I'm also a very... VERY paranoid person, since I have both my main (which I refuse to do anything but WRotation on) and alt accounts, and my main account has a bunch of feats of strength I could never get back.

     

    And for macros, I actually have a tutorial up.

  4. Example Three: Focus Fire!

    Buff Stack -> Number of stack by buff of your character (buff name in english, case sensitive)

    post-301-0-27102600-1365651806_thumb.jpg

     

    Focus Fire is a really awesome Beast Mastery spell. It uses Frenzy stacks generated by your pet to increase ranged haste. It is the heart to the BM hunter's DPS (that doesn't come from pet of course). In this example, we set it so Focus Fire is only called when your STACKS of Frenzy get to five, which is the max. This gives you 30% ranged haste for 20 seconds, whereas using it at a measly 1 stack only gives 6% for 20 seconds. This is ideal for boss rotations, but if you are simple bot gathering/grinding, it will probably never fire. So you can change the condition to fire at stacks BIGGER than 2. That is probably optimal for a gatherer.

  5. Example Two, adding Hunter's Mark to your fight class.

     

    Target Buff -> Check if your target has buff (debuff) (buff name in english, case sensitive)

    post-301-0-37504800-1365636273_thumb.jpg

     

    This will simple check if your target does not have the buff "Hunter's Mark", if you had this at true, it would only cast Hunter's Mark IF your target already had the buff, which just seems like a big 'ole waste of time. Also, notice how Hunter's Mark is below Mend Pet in the list. Spells that are on the top of the list will be cast first. In fight classes meant for soloing, I use Survivability > Offensive Cooldowns > Damage.

     

  6. Example One: Simple Hunter fight class. Starting with Mend Pet.

     

    Pet Health Percent -> Percent health of your pet (0 to 100)

    post-301-0-49772200-1365635885_thumb.jpg

     

    This setup will cast Mend Pet IF your pet's health is smaller than 80%. The problem with this, is since it is a HoT (heal over time), it will chain cast while your pet is below 80%, so I'd suggest adding a second condition...

     

    Pet Buff -> Check if your pet has buff (debuff) (buff name in english, case sensitive)

    post-301-0-40248900-1365635965_thumb.jpg

     

    Now, with this setup, BOTH conditions must be met before it will cast Mend Pet. As before, if(pet_health < 80%), but now it also requires that your pet does NOT (false means it does not have the buff, true means that it DOES have the buff) have the Mend Pet buff on it currently. This keeps you from chain casting Mend Pet while your pet is below 80% health.

  7. I was asked by someone if I could elaborate further on Droidz post condition list (found ). Since I have been so busy with work (47.5h/week) and heroic progression (8/13 ToT, running around 15h/week), I figure this might help other people learn to create amazing fight classes. I am going to break things up a bit, and give some examples. If you have ANY questions.. feel free to ask. Remember, there is no such thing as a dumb question in my eyes, unless your grammar sucks.
     
     
    Condition Number:
    Health Percent -> Your Percent health (0 to 100)
    Mana -> Your mana
    Rage -> Your Rage
    Focus -> Your Focus
    Energy -> Your Energy
    Chi -> Your Chi
    Runes -> Your Runes
    Runic Power -> Your Runic Power
    Soul Shards -> Your Soul Shards
    Eclipse -> Your Eclipse
    Holy Power -> Your Holy Power
    Alternate -> Your Alternate
    Dark Force -> Your Dark Force
    Light Force -> Your Light Force
    Shadow Orbs -> Your Shadow Orbs
    Burning Embers -> Your Burning Embers
    Demonic Fury -> Your Demonic Fury
    Arcane Charges -> Your Arcane Charges
    Target Distance -> Distance between your character and your current target
    Distance Pet To Target -> Distance between your pet and your current target
    Distance Me To Pet -> Distance between your character and your pet
    Me Level -> Your level
    Target Level -> The level of your current target

     
    Condition Unit Near:
    Hostile Unit Near -> Number of npc hostiles in the radius selected (radius starting at the position of your character)
    Unit Attack Player Near -> Number of npc attacking your character in the radius selected (radius starting at the position of your character)
    Hostile Unit Near Target -> Number of npc hostiles in the radius selected (radius starting at the position of your current target)
    Unit Attack Player Near Target -> Number of npc attacking your character in the radius selected (radius starting at the position of your current target)

    Condition String Bool:
    Buff -> Check if your character has buff (buff name in english, case sensitive)
    Know Spell -> Check if your know selected spell (spell name in english, case sensitive)
    Is Spell Usable -> Check if your selected spell is usable (spell name in english, case sensitive)


    Condition Bool:
    In Battleground -> True if the current map is an Battleground
    Have Target -> True if your character has currently an target
    Have Pet -> True if your character has an pet
    Me In Combat -> True if your character is in fight
    Me In Move -> True if your character moving
    Target In Move -> True if your target moving
    Pet In Move -> True if your pet moving
    Target In Cast -> True if your target casting spell or using item
    Pet In Cast -> True if your pet casting spell or using item
    Me In Cast -> True if your character casting spell or using item
    Target Is Player -> True if your current target is an player
    Target Is Summoned -> True if your current target is summoned (sample: pet)
    Target Pet Is My Target -> True if your character and your pet have same target
    Target Targeting Me -> True if your current target has for target your character
    Target Targeting Me Or My Pet -> True if your current target has for target your character or your pet
    Target Targeting My Pet -> True if your current target has for target your pet
    Target Is Elite -> True if your current target is an npc elite
    Target Is World Boss -> True if your current target is an npc world boss
    Me Is Stunned -> True if your character is stunned
    Target Is Stunned -> True if your current target is stunned
    Pet Is Stunned -> True if your pet is stunned
    Me Is Swimming -> True if your character is swimming
    Target Is Swimming -> True if your current target is swimming
    Pet Is Swimming -> True if your pet is swimming
    Me Is Flying -> True if your character is flying
    Target Is Flying -> True if your current target is flying
    Pet Is Flying -> True if your pet is flying


    Condition String:
    C Sharp Code -> C#.net code with acces at wManager.dll and robotManager.dll (sample: ObjectManager.Me.HealthPercent < 70 && ObjectManager.Me.HealthPercent > 50)

    Condition Item Number:
    Item Count -> Number of items (by item id)

    Condition Buff Stack:
    Buff Stack Target -> Number of stack by buff of your target (buff name in english, case sensitive)
    Buff Stack Pet -> Number of stack by buff of your pet (buff name in english, case sensitive)

  8. For giggles, paste..

    /run for i=1,200000 do local f=FindSpellBookSlotBySpellID(i,"spell") if f then local n,id=GetSpellBookItemName(f,"spell"),select(2,GetSpellBookItemInfo(f,"spell")) local s=GetSpellInfo(id) s=n==s and " " or "\124cFF4FF763"..s print(id,n,s) end end
    

    into chat, and look for Archangel. If it shares an ID with another spell, you can simple use that spell name instead of running an LUA script. My preferred method since I think it executes through the bot a bit faster.

  9. Idk know why or what exactly causes issues like this, but instead of trouble shooting a fight class over and over and over (I have a theory it involves adding and removing conditions over and over), just start from scratch and make it as simple as it can be, while still doing exactly what you need.

×
×
  • Create New...