Thread Tools Display Modes
12-22-05, 12:58 PM   #1
oxonian
A Murloc Raider
Join Date: Dec 2005
Posts: 5
An awesome mod for raid spot healing

OK this is about range but keep reading!

In a raid, some healers are often on spot heal duty, healing anyone in the raid that needs it. It's very annoying not being able to see, by glacing at the CT Raid status bars, who is in range of your favorite spell. You *can* clear your target and click the spell to bring up the spell gauntlet cursor, and then mouse over status bars until the gauntlet goes blue (so the information is there!)... but that wastes time.

What would be very nice, would be automatic shading on the whole raid's status bars to show who is in range. See the (crappy!) photoshop mockup. It would look much nicer by shading the *background* to the status bars instead of putting borders on, but it would have taken me ages to mock that up.
  Reply With Quote
12-22-05, 01:48 PM   #2
Cladhaire
Salad!
 
Cladhaire's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Jul 2005
Posts: 1,935
The only realistic way to do this is to change the shading when you cast a spell and it fails, it shades that unit out until you try again and succeed-- but that seems self-defeating.

We have a way to tell if an action is in range of a unit, but I believe we need that unit targeted, and we'd have to do it for everyoen in the raid over a reasonable period of time.

This is asked for a lot =/
  Reply With Quote
12-22-05, 01:58 PM   #3
oxonian
A Murloc Raider
Join Date: Dec 2005
Posts: 5
Hmmm you need a unit targeted to see if in range of given spell?

Then how come it is ALREADY possible to simply mouse over the status bars with the spell gauntlet (as I described) and the gauntlet changes from glowing to not-glowing as you move from in-range to out-of-range? There is no targetting going on there, no clicking, just mousing around and watching the cursor graphic.
  Reply With Quote
12-22-05, 06:23 PM   #4
Gazmik
A Cobalt Mageweaver
 
Gazmik's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2005
Posts: 245
The glowing/not-glowing gauntlet only happens once you have a spell that's been "cast" and is awaiting target selection (e.g. you don't have a target already and you press an action button or call CastSpell or CastSpellByName). It's based on SpellCanTargetUnit().

It's probably possible (and maybe even feasible performance-wise) to have a script check SpellCanTargetUnit() for all raid members and then dim/highlight frames accordingly, but it would only be accurate for as long as you had a spell currently awaiting target selection. (That is, you couldn't continue to get range updates in real time after you've targeted your spell.)

Depending on what spells you care about range for, though, there's a "trick" that might help. The CheckInteractDistance() function is used to determine which items in the unit popup menu should be available based on your distance to the unit (e.g. trade, inspect, and follow). "Follow" distance is ~28 yards, so you can call CheckInteractDistance(unit, 4) for each unit in your raid and get a pretty good estimate of which units are in range of your spells -- for 30-yard-range spells, anyone within "follow" range is definitely in range for your spells, though there might be some people in range of the spell but not close enough to be flagged by this check. Again, how useful this is depends on which spells you care about range for.
__________________
Gazmik Fizzwidget's UI Addons: www.fizzwidget.com
  Reply With Quote
12-22-05, 07:48 PM   #5
oxonian
A Murloc Raider
Join Date: Dec 2005
Posts: 5
Thanks for the reply. Interesting stuff. Now the trick you mention is a good one, but my main spell is a 40y range one so as it happens that trick isn't the solution (might be better than nothing).

I'm interested to try to understand fully your comments on how the SpellCanTargetUnit() call works. I'm getting the impression that it is necesssary that the user manually has actived the spell? I mean is there no way that an addon can automatically periodically simulate the process of the player clicking a spell icon without a target selected. But even if this is so, presumably one could make an addon where the player hits a specific button, call it the 'Scan' button, and the effect is to (a) clear the target, (b) cast MyFavoriteSpell, (c) assign colouring to all raid memebers accoring to SpellCanTargetUnit(). I'd be happy with that - a nearly perfect solution.
So: as I run around in a busy raid fight, I'd periodically click that scan button to see who is in range of my current position.

Last edited by oxonian : 12-22-05 at 07:51 PM.
  Reply With Quote
12-23-05, 09:48 AM   #6
Snarfle
A Murloc Raider
Join Date: Dec 2005
Posts: 4
I think the addon called squeaky wheel does much of what you want. From what I understand it tries to follow various targets to see whether they're in range.
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Search/Requests » An awesome mod for raid spot healing


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