Modcraft - The community dedicated to quality WoW modding!
Wrath of the Lich King Modding => Serverside Modding => Topic started by: Arthodel 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 (https://www.dropbox.com/s/u9u1moms6llot63/Spell.dbc?dl=0" onclick="window.open(this.href);return false;)
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!
-
Make sure the SpellFamilyName aka SpellClassSet matches between Mirage Blast and Mirage CD Test in Spell.dbc, and your class in ChrClasses.dbc
-
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
-
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.
-
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.