[Skip to Main Content]
Ce site requiert JavaScript pour fonctionner.
Veuillez activer JavaScript dans votre navigateur.
Live
RPT
12.0.5
RPT
12.0.7
Bêta
Obtaining the duration of the Global Cooldown (GCD)
Répondre
Retourner à l'index
Publication par
701981
This post was from a user who has deleted their account.
Publication par
Nulgar
Temps de recharge global
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.
Publication par
701981
This post was from a user who has deleted their account.
Publication par
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.
Temps de recharge global
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.
Publication par
Myrroddin
If you want to know what the GCD is, you can use the seventh return of GetSpellInfo on
Attaque mentale
. 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.
Publication par
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
Publication par
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.
Répondre
Vous n'êtes pas connecté. Veuillez vous
connecter
pour répondre à ce sujet, ou
vous inscrire
si vous n'avez pas déjà un compte.