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: [TrinityCore 3.3.5a] Custom Class Talent CD reduction  (Read 2251 times)

Arthodel

  • Registred Member
  • BLP Convertor
  • *****
  • Posts: 7
    • View Profile
[TrinityCore 3.3.5a] Custom Class Talent CD reduction
« on: March 03, 2017, 05:13:25 pm »
Hey Modcraft,

I'm currently adding talents to a new class I created, which has gone very smooth until I've tried to add a cooldown reduction talent.

Despite having setting exactly the same with other cooldown reduction talents, except of course for SpellFamilyFlags and SpellClassMask1 being changed to link it with the relevant spell, it does not reduce the cooldown of my spell, Mirage Blast. I have been stuck on this for days and would love some help. I have uploaded my spell.dbc, although I have suspicions that there is an SQL table interfering somehow.

Spell DBC: https://www.dropbox.com/s/u9u1moms6llot ... l.dbc?dl=0

Reference:
Spell cooldown I want to reduce: Mirage Blast [ID:101157]
Spell which SHOULD affect this: Mirage CD Test [ID:101190]

Thank you in advance for contributing!
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Grymskvll

  • Registred Member
  • Polygonshifter
  • *****
  • Posts: 65
    • View Profile
Re: [TrinityCore 3.3.5a] Custom Class Talent CD reduction
« Reply #1 on: May 25, 2017, 07:59:27 pm »
Make sure the SpellFamilyName aka SpellClassSet matches between Mirage Blast and Mirage CD Test in Spell.dbc, and your class in ChrClasses.dbc

Kobiesan

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 161
    • View Profile
Re: [TrinityCore 3.3.5a] Custom Class Talent CD reduction
« Reply #2 on: May 25, 2017, 11:22:00 pm »
You need to fiddle with effectspellclassmask which is handled somewhere in the server source files. I went looking and couldn't find them though.

Here's some threads about it:

http://www.ac-web.org/forums/showthread.php?190864-Need-some-general-help-with-EffectSpellClassMask

http://www.modcraft.io/index.php?topic=9259.0

Arthodel

  • Registred Member
  • BLP Convertor
  • *****
  • Posts: 7
    • View Profile
Re: [TrinityCore 3.3.5a] Custom Class Talent CD reduction
« Reply #3 on: August 11, 2017, 12:48:21 pm »
I was beginning to give up after this hadn't been answered for over a month!

I'm gonna do what you suggest Koblesan, because I do have a feeling it's in the server source files. One thing I didn't mention was when I was testing, AFAIK I don't think when I copy and pasted spells that reduced cooldowns from another class, they didnt work on my custom one.

I'll poke around a bit more and see what I can find, and report back.

Arthodel

  • Registred Member
  • BLP Convertor
  • *****
  • Posts: 7
    • View Profile
Re: [TrinityCore 3.3.5a] Custom Class Talent CD reduction
« Reply #4 on: August 11, 2017, 01:03:30 pm »
It works!

Gyrmskull was right, when creating my own custom class, I had copied pasted from Mage, and forgot to change the ClassSet flag he mentioned, and upon doing this to the same one I had defined in the server, it worked! Thanks a lot for all the help. There's no need to make any serverside changes.