Elitist Jerks
Register
Blogs
Forums


Go Back   Elitist Jerks » Public Discussion » Public Discussion

Reply
 
LinkBack Thread Tools
Old 02/25/07, 12:55 AM   #1
Bladesong
Glass Joe
 
Night Elf Hunter
 
Tichondrius
a mod to save some potions...

I've done some searching myself, curse, wowinterface, worldofwar, etc. I've asked around with all my guildmates, and people I regularly group with. I even searched this very forum for any posts containing the word "potion" (to be honest, I only scanned through ~50 of the 125 pages of that one monster thread). Now I put the question out to all of you, maybe someone knows of an addon that will do it.


The premise is simple. I'm on the hunt for an addon that will disable using a healing potion (this could be extended to mana pots and healthstones/mana gems) if I'm above a certain percentage of life, 95% for example. I'm sure I'm not the only person to have misclicked a potion and either wasted it, or wasted it and put them all on cooldown for when you really need it later. This problem is rather frequent for me however.

Due to the way I have my hotkeys setup, my mount and healing potion are nearly identical key combinations as I like to have quick access to either. The trouble is, my mount gear often has a different amount of stamina (less) than my regular gear. I dismount, pick a herb, go to re-mount and chug a super healing pot instead. An alternate scenario involves a healer. My health drops dangerously low (perhaps while being stunned), so I mash my potion key, however immediately before I hit it a large heal lands and I'm nearly full health. Wonderful, I spent my cooldown and potion just to heal 50 health...

Now, if there were a way to prevent me from using a consumable unless I actually needed it I would love to know about it. Something as simple as "if player is above 95% health, grey out healing potions" or more complicated "do not use super healing potion unless player is -2000 health or below".

Can this be done with the new UI changes of 2.0?


Offline
Reply With Quote
Old 02/25/07, 2:40 AM   #2
subbawt
Von Kaiser
 
Undead Priest
 
Mal'Ganis
Short and simple: no.

Macros can only contain a handful of conditional statements, and health percentage isn't one of them.

The only thing I could suggest is maybe doing something like /use [combat] Super Healing Potion. I can't imagine many situations in which you would be using health pots out of combat. That would help in the "attempting to mount" situation.

For the other scenario, I believe there are mods that let you know when a heal is being cast on you. Something like that would allow YOU to make an intelligent decision on when to pop a potion, rather than your macro doing that for you.

Offline
Reply With Quote
Old 02/26/07, 10:43 AM   #3
Malan
Mike Tyson
 
Malan's Avatar
 
Malan
Tauren Shaman
 
No WoW Account
I know that Autobar used to be able to do this but not sure if it can in 2.0 anymore.

United States Offline
Reply With Quote
Old 02/27/07, 5:22 AM   #4
Bladesong
Glass Joe
 
Night Elf Hunter
 
Tichondrius
thanks for the feedback, the /use [combat] may be a good solution for the most part. Now I just need to come up with a way to easily subsitute different potions/healthstones for that slot.


Offline
Reply With Quote
Old 02/27/07, 8:17 AM   #5
cladhaire
Von Kaiser
 
Night Elf Priest
 
Stormrage
You don't need to use slots anymore, just

/use [combat] Super Healing Potion

Offline
Reply With Quote
Old 02/27/07, 8:25 AM   #6
Kalman
Super Macho Man
 
Kalman's Avatar
 
<>
Orc Shaman
 
No WoW Account
Originally Posted by cladhaire View Post
You don't need to use slots anymore, just

/use [combat] Super Healing Potion
I think he meant actionbar slot.

United States Offline
Reply With Quote
Old 02/27/07, 8:27 AM   #7
cladhaire
Von Kaiser
 
Night Elf Priest
 
Stormrage
Oh dip =) My bad :P

Offline
Reply With Quote
Old 02/27/07, 9:04 AM   #8
Kalman
Super Macho Man
 
Kalman's Avatar
 
<>
Orc Shaman
 
No WoW Account
Originally Posted by cladhaire View Post
Oh dip =) My bad :P
I really would like to see a method of restoring the old Autobar functionality of "Use semi-appropriate item", personally - even if just a /uselist BG Potion; Super Potion; Major Potion sort of deal would be fine, where it goes down the list until it finds the first one that can be used, and uses it. Does a macro with a chain of /use Itemname lines work properly, or does it fail the first time it hits a line that can't be used (e.g., BG pots outside of BGs).

It'd be nice to have one binding for my managems, for example, instead of having to click any gems beyond the first (the first is bound). If I was on my rogue, it'd be nice to use a healthstone if I have one, potion if I don't. Etc. I *think* that functionality is no longer (cleanly) available, but I'd love to be told I'm wrong.

(Autorack doesn't count as clean to me.)

United States Offline
Reply With Quote
Old 02/27/07, 3:47 PM   #9
Cryect
Bald Bull
 
Night Elf Druid
 
Stormreaver
You can use fail through logic for /use

Its how I was using my trinkets when I had double on use trinkets.

Offline
Reply With Quote
Old 02/27/07, 6:36 PM   #10
Cerathi
Von Kaiser
 
Cerathi's Avatar
 
Dwarf Priest
 
Silver Hand
Originally Posted by Kalman View Post
I really would like to see a method of restoring the old Autobar functionality of "Use semi-appropriate item", personally - even if just a /uselist BG Potion; Super Potion; Major Potion sort of deal would be fine, where it goes down the list until it finds the first one that can be used, and uses it. Does a macro with a chain of /use Itemname lines work properly, or does it fail the first time it hits a line that can't be used (e.g., BG pots outside of BGs).

It'd be nice to have one binding for my managems, for example, instead of having to click any gems beyond the first (the first is bound). If I was on my rogue, it'd be nice to use a healthstone if I have one, potion if I don't. Etc. I *think* that functionality is no longer (cleanly) available, but I'd love to be told I'm wrong.

(Autorack doesn't count as clean to me.)
Well, the new Autobar does this, just with the caveat of not being able to change the consumable displayed during combat. Have you tried it?

I got what you need.

Offline
Reply With Quote
Old 02/27/07, 7:55 PM   #11
Aranan
Piston Honda
 
Aranan's Avatar
 
Night Elf Druid
 
Bronzebeard
Originally Posted by Cerathi View Post
Well, the new Autobar does this, just with the caveat of not being able to change the consumable displayed during combat. Have you tried it?
Does it use the appropriate item on a button press, though? If so, I couldn't care less about what's displayed as long as it looks remotely like a health/mana pot

Offline
Reply With Quote
Old 02/28/07, 4:01 PM   #12
Anaxo
King Hippo
 
Anaxo's Avatar
 
Gnome Mage
 
Khaz Modan
Originally Posted by Cryect View Post
You can use fail through logic for /use

Its how I was using my trinkets when I had double on use trinkets.
Interesting. I was under the (apparently mistaken) impression that with two /use lines, the macro would stop if the first /use failed and it found another /use line. Sadly the macro is quite spammy, hearing 'this item isn't ready yet' every time you press the macro gets really old.

United States Offline
Reply With Quote
Old 02/28/07, 5:28 PM   #13
Apate
POWER = MEAT + OPPORTUNITY = BATTLEWORMS
 
Apate's Avatar
 
ChickenArise
Night Elf Warlock
 
No WoW Account
Originally Posted by Anaxo View Post
Interesting. I was under the (apparently mistaken) impression that with two /use lines, the macro would stop if the first /use failed and it found another /use line. Sadly the macro is quite spammy, hearing 'this item isn't ready yet' every time you press the macro gets really old.
/script UIErrorFrame:Hide()
stuff here that throws errors
/script UIErrorFrame:Clear()
/script UIErrorFrame:Show()


It might be UIErrorsFrame, but I think I got it right. I tend to want to know when errors are thrown, so I haven't messed with that frame in a while.

See you, auntie.

United States Offline
Reply With Quote
Old 03/01/07, 2:50 AM   #14
Kalman
Super Macho Man
 
Kalman's Avatar
 
<>
Orc Shaman
 
No WoW Account
Originally Posted by Apate View Post
/script UIErrorFrame:Hide()
stuff here that throws errors
/script UIErrorFrame:Clear()
/script UIErrorFrame:Show()


It might be UIErrorsFrame, but I think I got it right. I tend to want to know when errors are thrown, so I haven't messed with that frame in a while.
That suppresses the text, but not the speech.

I didn't test it, but you might be able to use cvar manipulation to squelch the speech.

Melador> Incidentally, these last few pages are why people hate lawyers.
Viator> I really don't want to go all Kalman here.
Bury> Just imagine what the world would be like if you used your powers for good.

United States Offline
Reply With Quote
Old 03/01/07, 3:56 AM   #15
sp00n
Bald Bull
 
Night Elf Rogue
 
Wrathbringer (EU)
Well you could always disable the error speech in the game options.
Something I've done a long time ago.

But on the other hand, I like to listen to my own music while playing.

Stopped Playing

Offline
Reply With Quote
Reply

Go Back   Elitist Jerks » Public Discussion » Public Discussion

Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Save me from Twin Emps Trash livenletdie Public Discussion 34 11/09/06 1:36 PM