[Skip to Main Content]
Данный сайт активно использует технологию JavaScript.
Пожалуйста, включите JavaScript в вашем браузере.
Live
PTR
12.0.5
PTR
12.0.7
Бета
Obtaining the duration of the Global Cooldown (GCD)
Ответить
Вернуться на главную страницу форума
Сообщение от
701981
This post was from a user who has deleted their account.
Сообщение от
Nulgar
Общее время восстановления
is not necessarily
the
Global Cooldown, it's just some internal spell with that name.
Even if, I would guess that you can only query the remaining cooldown for spells/items you actually know/possess - which you technically don't for this spell.
Сообщение от
701981
This post was from a user who has deleted their account.
Сообщение от
Neffi
The problem with trying to fetch the GCD too soon after the spell is cast is latency. Immediately after you run
/cast somespell
, the client has just only sent the request to the server for that spell to be cast. The client won't be aware it has incurred a GCD, until the subsequent response from the server.
You need to perform this check during the particular event
ACTIONBAR_UPDATE_COOLDOWN
, which is
very
spammy.
Общее время восстановления
is not necessarily
the
Global Cooldown, it's just some internal spell with that name.
Even if, I would guess that you can only query the remaining cooldown for spells/items you actually know/possess - which you technically don't for this spell.
Oh no, this is indeed
the
global cooldown. It appears to be in place
specifically
for the benefit of querying the duration of the GCD, just as ShamanOne is trying to do. I've been using
GetSpellCooldown(61304)
in my own code, to display an animation indication of the GCD, for a long time.
Сообщение от
Myrroddin
If you want to know what the GCD is, you can use the seventh return of GetSpellInfo on
Взрыв разума
. Mind Blast's cast time is 1.5 seconds before Haste, which is the same as the global cool down before Haste.
This works for every class and talent build, even if you are not a Priest.
Сообщение от
Headspace
For WoW CLASSIC
If you want to have a PowerShift macro for cat form and don't want to end up in caster form when the Global Cooldown (GCD) is active then you could use the following macro.
Im definitely not a macro expert and never created one, but somehow this works. If it looks stupid but works, it ain't stupid ;-) I found the original script on a forum, but it didn't work as it should be. Let me solve your frustration if you have the same problem =D.
/script local gcd=GetSpellCooldown("Cat Form"); if gcd=0 then CancelPlayerBuff("Cat Form") end;
/stopmacro
/cast Cat Form(Shapeshift)
/cast !Cat Form
/startattack
Сообщение от
quthar
For WoW CLASSIC
/script local gcd=GetSpellCooldown("Cat Form"); if gcd=0 then CancelPlayerBuff("Cat Form") end;
Have you tested this while in combat? The live version of CancelPlayerBuff is protected and can't be used in combat. It seems unlikely that the restriction would be removed for classic.
Ответить
Вы не авторизованы.
Войдите
или
зарегистрируйтесь
, чтобы оставить сообщение.