Close
Page 1 of 2 1 2 LastLast
Showing results 1 to 10 of 13
  1. #1
    Member Otlecs's Avatar
    Join Date
    May 2007
    Location
    EU-Aggramar, Alliance.
    Posts
    1367

    Default "Am I feared" in macro?

    I'm looking to create a more intelligent "use the trinket" macro for my teams. At the moment, the trinket for all team members is bound to a single key - one gets feared, all use their trinket.

    That's actually ok if they've been fear-bombed in PvP, but a waste if it's a single-target fear.

    A quick WoW forum search tells me that Fear appears as a debuff, and I recall seeing some time ago a nifty bit of macro code that looks specifically for debuffs by name.

    So, before I spend a bit of time this evening working this one out, has anyone already done this? Only use the trinket if feared, I mean?

    It was a loooong time ago that I saw a macro stepping through debuffs, so perhaps it's not even possible any more, but anything you guys can share with me would be appreciated.

    Thanks in advance.

  2. #2

    Default

    I'm fairly sure the ability to conditionally do this was removed in 2.0
    Wilbur

  3. #3

    Default

    I was... You could however setup the unit frames with something like Pitbull to make it obvious when one is feared, and bind say ctrl-numpad 1-5 to their individual trinkets, it would work but it'd be a little slow depending on your reaction times etc

  4. #4
    Member Otlecs's Avatar
    Join Date
    May 2007
    Location
    EU-Aggramar, Alliance.
    Posts
    1367

    Default

    Yeah, looking at WoWWiki it seems the removed access to UseInventoryItem in 1.6. Can't say I blame them really

    I had a play with it, prototyped in macro just to satisfy myself, and got as far as...

    [code:1]/script for i=1,40 do s=UnitDebuff("player",i);if (s) then if(s=="Fear") then UseInventoryItem("14"); end end end[/code:1]

    ...which barfs on UseInventoryItem. Oh well.

    Guess I need more Shammies!

  5. #5

    Default

    Can't use it in combat. You can probably get it to work out of combat if you can get out of combat while feared, but thats not very useful.

  6. #6

    Default

    There is a way (if you want to use up a worldCD on all chars or want it binded to all your keys)

    By having this macro:

    /cast Spell
    /use trinket
    /stopcasting

    Ex:

    /cast [target=player] Lesser Healing Weave
    /use Medallion of the Alliance
    /stopcasting

    This will cast Lesser Healing Weave every time I can cast it (aka not feared/CC) but when i cant cast it (also when im moving etc) it will use the trinket insted.

    You can also have the trinket binded to all your cast-time-spells so it will autouse when CC-ed (both pro and cons to that)

    Hope you get the ide atleast.

    Note: The spell you cast must be sucessfull (aka, you need someone targeted and in range to heal (selfheal is good there) and it need to have a casttime to be safe.

  7. #7

    Default

    I never thought of that. Assuming it works as long as both the item and ability are on the gcd it should work even with instant casts.

  8. #8

    Default

    Quote Originally Posted by rexas
    There is a way (if you want to use up a worldCD on all chars or want it binded to all your keys)

    By having this macro:

    /cast Spell
    /use trinket
    /stopcasting

    Ex:

    /cast [target=player] Lesser Healing Weave
    /use Medallion of the Alliance
    /stopcasting

    This will cast Lesser Healing Weave every time I can cast it (aka not feared/CC) but when i cant cast it (also when im moving etc) it will use the trinket insted.

    You can also have the trinket binded to all your cast-time-spells so it will autouse when CC-ed (both pro and cons to that)

    Hope you get the ide atleast.

    Note: The spell you cast must be sucessfull (aka, you need someone targeted and in range to heal (selfheal is good there) and it need to have a casttime to be safe.
    wont this activate the trinket on everyone anyway? Most trinkets isnt affected by global cooldown I think.

  9. #9

    Default

    Quote Originally Posted by cepheus

    wont this activate the trinket on everyone anyway? Most trinkets isnt affected by global cooldown I think.

    If you spamclick the macro it will use it on everyone.

    But since it happen like this with just 1 click:

    0.00 Begins to cast a spell.
    0.01 Try to use the trinket, Cant use the trinket because you are casting / channeling a spell.
    0.02 Stop casting the spell.

    You can try this by casting a heal or any cast-time spell on yourself and the clicking your trinket/pot, it doesn't need to be effected by the Global CD, it just need to be doing something else that block you from using items overall.

  10. #10

    Default

    Quote Originally Posted by rexas
    Quote Originally Posted by cepheus

    wont this activate the trinket on everyone anyway? Most trinkets isnt affected by global cooldown I think.

    If you spamclick the macro it will use it on everyone.

    But since it happen like this with just 1 click:

    0.00 Begins to cast a spell.
    0.01 Try to use the trinket, Cant use the trinket because you are casting / channeling a spell.
    0.02 Stop casting the spell.

    You can try this by casting a heal or any cast-time spell on yourself and the clicking your trinket/pot, it doesn't need to be effected by the Global CD, it just need to be doing something else that block you from using items overall.
    Are you sure this will work post 2.3 since all spells now are calculated on the server?

Similar Threads

  1. I got feared, and then my computer froze on me =[
    By Dumbfounded in forum New Multi-Boxers & Support
    Replies: 6
    Last Post: 04-04-2009, 05:35 AM
  2. Replies: 12
    Last Post: 03-25-2009, 04:29 PM
  3. MAcro guru's please help with retri paladin macro
    By Heraveth in forum Macros and Addons
    Replies: 3
    Last Post: 01-07-2009, 05:43 PM
  4. Replies: 5
    Last Post: 09-16-2008, 11:01 PM
  5. Problem with /assist after being feared
    By Pringle in forum New Multi-Boxers & Support
    Replies: 2
    Last Post: 08-15-2008, 05:13 PM

Posting Rules

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •