Poster: Thrum at 5/16/2005 12:28:23 PM PDT Subject: Slouken - I need a new function! |
| |
I would like to know if it would be possible for the developers to add a function that gives me information on spells that I can use to make intelligent targetting decisions. The following would be great:
IsSpellHostile(SpellID)
Returns FALSE if it can be casted on you or an ally, TRUE otherwise.
Another way to do this might be
GetSpellTargetType(SpellID)
Returns:
Self
AE
Ally
Enemy
|
| | http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=137728&p=#post137728 |
| |
Poster: slouken at 5/27/2005 2:51:46 PM PDT Subject: Re: Slouken - I need a new function! |
| |
Q u o t e: SpellCanTargetUnit() is notoriously incorrect.
Try firing up a mage's Blizzard (targeted AoE) and you'll find that SpellCanTargetUnit("player") returns a true value (1), yet SpellTargetUnit("player") fails to "fire" the spell.
This will be fixed in the next test server update.
Thanks!
|
| | http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=137728&p=#post145223 |
Poster: slouken at 5/27/2005 2:51:46 PM PDT Subject: Re: Slouken - I need a new function! *edited post* |
| |
Q u o t e: SpellCanTargetUnit() is notoriously incorrect.
Try firing up a mage's Blizzard (targeted AoE) and you'll find that SpellCanTargetUnit("player") returns a true value (1), yet SpellTargetUnit("player") fails to "fire" the spell.
This will be fixed in the next test server update.
Thanks!
|
| | http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=137728&p=#post145223 |
Poster: slouken at 6/1/2005 1:50:15 PM PDT Subject: Re: Slouken - I need a new function! |
| |
Hmm, I question your ethics. ... just kidding. :)
Seriously, the UI was never designed to be able to decide whether or not a spell is a good spell to cast at any given time. That decision is completely in the hands of the player, by design. Mods which queue up spells and targets, or present spells which are "good" options at the time are really stretching the intent of customizable UI.
|
| | http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=137728&p=#post148474 |
Poster: slouken at 6/1/2005 5:31:18 PM PDT Subject: Re: Slouken - I need a new function! |
| |
I withdraw my comment, but I still won't add the function. However, if you write up a very clear description of the functionality you are trying to achieve, I will pass it on to the designers to see if it's something they want to include in the standard UI or want to enable for addons.
|
| | http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=137728&p=#post148661 |
Poster: slouken at 6/1/2005 9:10:08 PM PDT Subject: Re: Slouken - I need a new function! |
| |
I'm passing your request on to the designers, thanks.
|
| | http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=137728&p=#post148797 |