WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Lua/XML Help (https://www.wowinterface.com/forums/forumdisplay.php?f=16)
-   -   wowapi GCD deviation (https://www.wowinterface.com/forums/showthread.php?t=57089)

Immortalhz 04-01-19 02:07 AM

wowapi GCD deviation
 
Havent noticed this behaviour before, but it is what i get today
]
code is
Lua Code:
  1. Start, CD, enabled, modRate = GetSpellCooldown(61304)
  2. print("Left = "..getSpellCD(61304)..". Start = "..Start..". CD = "..CD..". GetTime = "..GetTime())

Lua Code:
  1. function getSpellCD(SpellID)
  2.     local Start, CD = GetSpellCooldown(SpellID)
  3.     if CD == 0 then
  4.         return 0
  5.     end
  6.     local MYCD = Start + CD - GetTime()
  7.     if MYCD >= 0 then
  8.         return MYCD
  9.     elseif MYCD < -1111 then
  10.         return 111
  11.     end
  12. end

when i just spam any gcd skills, sometimes it just gives me wrong info, gcd is 0.9+ and next frame we dont have gcd, its minor issue, but still interesting if anyone expiriences this and how to make workaround, i ran out of ideas :(

myrroddin 04-01-19 08:18 PM

Unless someone pipes up with more information, here's a few things to keep in mind:
  • The GCD without Haste is 1.5 seconds
  • With 50% Haste the GCD is 1 second
  • With 100% Haste the GCD is 0.5 seconds
  • The GCD won't drop below 1 second
  • More than 50% Haste will drop a spell below 1 second
That means that if you have enough Haste to make a spell cast or refresh in 0.75 seconds, you will still have to wait 0.25 seconds before you can cast it again because of the GCD cap of 1 second.

Does that help?

Immortalhz 04-03-19 05:24 AM

thanks for reply, but its like general knowledge, that tests were done with rogue, so gcd is 1sec and doesnt change for all skills but vendetta, so it is not the answer :( will test with some other classes, maybe it's some rogue only related stuff :(


All times are GMT -6. The time now is 12:00 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI