Thread Tools Display Modes
04-08-20, 09:34 AM   #1
Shokarta
A Deviate Faerie Dragon
Join Date: Jan 2008
Posts: 11
flying speed of ranged spells?

Hello,

is there a way to calculate (or to know) how fast all ranged spells are flying?
how many yards per second?

Im developing the addon which blocks spells when the target has the debuff.
For example, doesnt make sence to keep casting Serpent Sting when target still has the debuff.

However in order to improve, I wish to have been able to cast again when target still has the debuff but the debuff will fade before I hit the target with the spell.
  Reply With Quote
04-08-20, 10:26 AM   #2
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,892
There is no such thing as calculating time to hit the target after casting, as far as I am aware. Look up wowpedia and see what commands and return values are available on functions relating to combat or spell casting. I suspect it iss down to learning the spell and having a timer showing how much debuff is left.

Addons like OmniCC will add a timer to the action button to signify how much time is left on the current targets debuff that you cast. Simply learn at what number you need to start your cast with to hit it when the debuff comes off.

Addons like TellMeWhen have a selection of buttons that flash up suggesting what spells/abilities to cast next based on your class and spec.

Have a look and see how they do it and if their addons don't work or doesn't do exactly what you do use what you have learned from their addons to write your own that does what you want. Obviously within the ability of the current wow api systems.
__________________
  Reply With Quote
04-08-20, 01:32 PM   #3
Shokarta
A Deviate Faerie Dragon
Join Date: Jan 2008
Posts: 11
Calculated.

Its 35 yards per second
  Reply With Quote
04-08-20, 03:50 PM   #4
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,892
Originally Posted by Shokarta View Post
Calculated.

Its 35 yards per second
https://wowwiki.fandom.com/wiki/API_...teractDistance

1 = Inspect, 28 yards
2 = Trade, 11.11 yards
3 = Duel, 9.9 yards
4 = Follow, 28 yards


This is about the best I think ( I may be wrong like before :P ) outside of the existing debuff remaining and learning the best time to do it.
__________________
  Reply With Quote
04-09-20, 02:38 AM   #5
Shokarta
A Deviate Faerie Dragon
Join Date: Jan 2008
Posts: 11
Thi is not what I was asking for.
I was looking for shot speed (yards per second).
so if the target is 70 yards away from you and you shot him with autoattack or other hunter spells (mage has some fireballs, etc) it will take exactly 2 seconds to reach and make damage...
  Reply With Quote
04-09-20, 07:48 AM   #6
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 2,313
The longest range of any normal ability is 40-45 yds. The only spells with a range larger than this are scouting spells like Far Sight and Eagle Eye. Neither of these are in the debuff category of spells you're specifically inquiring about. Not all abilities have a travel time. Some hit instantly, however those that do travel typically hit within a second of casting. If you want to make sure you allow 100% uptime, you should also account for latency. Also keep in mind that many debuffs allow you to carry over the remaining duration up to a certain percentage into the next application.
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Help/Support » flying speed of ranged spells?

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