Forum > Serverside Modding

[QUESTION] How to buff Spells

<< < (2/3) > >>

thehsvdude:

--- Quote from: "Mr. DK" ---Global cd has nothing todo with the spells. Its generally hardcoded in the core i think as a fixed velue.
--- End quote ---
would u know the value?

schlumpf:
1.5

Ascathos:
Pretty sure global cooldown is also hardcoded into the client, however, the particular function within trinity core is Spell::TriggerGlobalCooldown() within spell.cpp (Ln. 7248) that applies MIN_GCD to MAX_GCD (GCDLIMITS, Spell.cpp, Ln. 7231).

kojak488:

--- Quote from: "Mr. DK" ---Global cd has nothing todo with the spells. Its generally hardcoded in the core i think as a fixed velue.
--- End quote ---

Incorrect.  You can remove the global CD for specific spells in the spell.dbc when using Trinitycore.

Global cooldown is governed by columns 205 (m_startRecoveryCategory) and 206 (m_startRecoveryTime) in the spell.dbc.  For example, take the spell Frostbolt (spell ID 116).  Column 205 has a value of 133 and column 206 has a value of 1500.  The value of 133 is specifying the global CD category.  The value of 1500 specifies how long that cooldown should be, meaning you can also increase the global CD when using a specific spell.

So if you wanted to remove the global CD from Frostbolt (or any other spell), just make columns 205 and 206 to the value of 0.  Then you can go in game and spam that spell with no global cooldown (make it an instant cast for testing purposes too).

thehsvdude:

--- Quote from: "kojak488" ---
--- Quote from: "Mr. DK" ---Global cd has nothing todo with the spells. Its generally hardcoded in the core i think as a fixed velue.
--- End quote ---

Incorrect.  You can remove the global CD for specific spells in the spell.dbc when using Trinitycore.

Global cooldown is governed by columns 205 (m_startRecoveryCategory) and 206 (m_startRecoveryTime) in the spell.dbc.  For example, take the spell Frostbolt (spell ID 116).  Column 205 has a value of 133 and column 206 has a value of 1500.  The value of 133 is specifying the global CD category.  The value of 1500 specifies how long that cooldown should be, meaning you can also increase the global CD when using a specific spell.

So if you wanted to remove the global CD from Frostbolt (or any other spell), just make columns 205 and 206 to the value of 0.  Then you can go in game and spam that spell with no global cooldown (make it an instant cast for testing purposes too).
--- End quote ---
is they're a way to remove global cd from all spells and make it like live.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version