Modcraft - The community dedicated to quality WoW modding!

Wrath of the Lich King Modding => Serverside Modding => Topic started by: thehsvdude on November 28, 2013, 11:44:24 am

Title: [QUESTION] How to buff Spells
Post by: thehsvdude on November 28, 2013, 11:44:24 am
How to buff spells for trinity. im having trouble Only some spells are in the database where are the rest xD
Title: Re: [QUESTION] How to buff Spells
Post by: Ascathos on November 28, 2013, 03:20:06 pm
I know, this is going to be shocking but...

Spell.dbc.
Title: Re: [QUESTION] How to buff Spells
Post by: deep6ixed on November 28, 2013, 08:25:44 pm
What exactly are your trying to buff?
Title: Re: [QUESTION] How to buff Spells
Post by: thehsvdude on November 29, 2013, 03:04:53 am
Quote from: "deep6ixed"
What exactly are your trying to buff?
i would like to remove the global cooldown from most spells or make it less. and buff some spells weapon damage.
Title: Re: [QUESTION] How to buff Spells
Post by: Mr. DK on November 29, 2013, 08:14:51 am
Global cd has nothing todo with the spells. Its generally hardcoded in the core i think as a fixed velue.
Title: Re: [QUESTION] How to buff Spells
Post by: thehsvdude on November 29, 2013, 11:40:21 am
Quote from: "Mr. DK"
Global cd has nothing todo with the spells. Its generally hardcoded in the core i think as a fixed velue.
would u know the value?
Title: Re: [QUESTION] How to buff Spells
Post by: schlumpf on November 29, 2013, 12:21:59 pm
1.5
Title: Re: [QUESTION] How to buff Spells
Post by: Ascathos on November 29, 2013, 12:41:25 pm
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).
Title: Re: [QUESTION] How to buff Spells
Post by: kojak488 on November 29, 2013, 03:29:55 pm
Quote from: "Mr. DK"
Global cd has nothing todo with the spells. Its generally hardcoded in the core i think as a fixed velue.

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).
Title: Re: [QUESTION] How to buff Spells
Post by: thehsvdude on November 30, 2013, 05:14:16 am
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.

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).
is they're a way to remove global cd from all spells and make it like live.
Title: Re: [QUESTION] How to buff Spells
Post by: kojak488 on November 30, 2013, 06:23:44 pm
Quote from: "thehsvdude"
is they're a way to remove global cd from all spells and make it like live.

Make those fields in the spell.dbc all 0 for every spell.  To do it quickly I'd save the spell.dbc as a CSV file.  Then I'd search for:

Quote
,133,1500,

and replace that in all instances with:

Quote
,0,0,

Obviously you have to save the changes and turn it back from CSV into a dbc.  Shouldn't take but a minute to do it that way.