This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: [QUESTION] How to buff Spells  (Read 2398 times)

thehsvdude

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 136
    • View Profile
[QUESTION] How to buff Spells
« 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
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Ascathos

  • Moderators
  • Creator of Worlds
  • *****
  • Posts: 1129
    • View Profile
Re: [QUESTION] How to buff Spells
« Reply #1 on: November 28, 2013, 03:20:06 pm »
I know, this is going to be shocking but...

Spell.dbc.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

deep6ixed

  • Contributors
  • Wiki Incarnate
  • *****
  • Posts: 189
    • View Profile
Re: [QUESTION] How to buff Spells
« Reply #2 on: November 28, 2013, 08:25:44 pm »
What exactly are your trying to buff?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

thehsvdude

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 136
    • View Profile
Re: [QUESTION] How to buff Spells
« Reply #3 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.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Mr. DK

  • Moderators
  • Model Change Addict
  • *****
  • Posts: 224
    • View Profile
Re: [QUESTION] How to buff Spells
« Reply #4 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.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
I am Thor! Supreme commander of the Asgard Fleet!

thehsvdude

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 136
    • View Profile
Re: [QUESTION] How to buff Spells
« Reply #5 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?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: [QUESTION] How to buff Spells
« Reply #6 on: November 29, 2013, 12:21:59 pm »
1.5
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Ascathos

  • Moderators
  • Creator of Worlds
  • *****
  • Posts: 1129
    • View Profile
Re: [QUESTION] How to buff Spells
« Reply #7 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).
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

kojak488

  • Registred Member
  • Creator of Worlds
  • *****
  • Posts: 351
    • View Profile
Re: [QUESTION] How to buff Spells
« Reply #8 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).
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

thehsvdude

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 136
    • View Profile
Re: [QUESTION] How to buff Spells
« Reply #9 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.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

kojak488

  • Registred Member
  • Creator of Worlds
  • *****
  • Posts: 351
    • View Profile
Re: [QUESTION] How to buff Spells
« Reply #10 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.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »