[Skip to Main Content]
此站點大量使用JavaScript。
請在您的瀏覽器中%s。
正式服
PTR
12.0.5
PTR
12.0.7
Beta
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.
發表回覆
您没有登錄。請
登錄
發表回覆或
註冊
如果您還没有帳號。