Thread Tools Display Modes
07-27-12, 09:55 PM   #1
Drolord
A Defias Bandit
Join Date: Jul 2012
Posts: 3
Target = Hostile show bar 1

I use bartender and was hoping there was a way to make it so when i target a hostile target, my dmg spells will show for the numbers and when i target a friendly target it has my healing spells as numbers.
  Reply With Quote
07-27-12, 10:41 PM   #2
Fizzlemizz
I did that?
 
Fizzlemizz's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Dec 2011
Posts: 1,877
I would think that is the kind of action Blizzard wouldn't want you to be able to do.

** Shows what I know.
__________________
Fizzlemizz
Maintainer of Discord Unit Frames and Discord Art.
Author of FauxMazzle, FauxMazzleHUD and Move Pad Plus.

Last edited by Fizzlemizz : 07-27-12 at 11:16 PM.
  Reply With Quote
07-27-12, 10:58 PM   #3
Dridzt
A Pyroguard Emberseer
 
Dridzt's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2005
Posts: 1,360
I don't use bartender but that's a perfectly fine macro conditional so button for button it's very much possible to have a different action if you're targeting a hostile vs targeting a friendly.

Code:
#showtooltip
/cast [@target,harm]skill1;[@target,help]skill2;[@target,noexists]skill3
(this should make the same button cast (and show) skill1 for an enemy target, skill2 for a friendly target and skill3 for no target)

drycoded and my macro-fu is very rusty...

Last edited by Dridzt : 07-27-12 at 11:01 PM.
  Reply With Quote
07-27-12, 11:03 PM   #4
endx7
An Aku'mai Servant
 
endx7's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2005
Posts: 38
In bartender it's pretty easy. Just use the custom conditionals under State Configuration for the bar.

You'll probably want something like [harm]2; 0
but you will also want to do copy conditionals and edit off of that.
  Reply With Quote
07-27-12, 11:20 PM   #5
Drolord
A Defias Bandit
Join Date: Jul 2012
Posts: 3
Originally Posted by endx7 View Post
In bartender it's pretty easy. Just use the custom conditionals under State Configuration for the bar.

You'll probably want something like [harm]2; 0
but you will also want to do copy conditionals and edit off of that.
Ty so much. So simply but so amazing. Just what I had in mind tytyty!
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Help/Support » Target = Hostile show bar 1

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off