View Full Version : [SOLVED] TrinityCore2 Spell_Bonus_Data and Spell.dbc

05-29-2014, 06:43 PM
Heya Members and EmuDev Team.
I am pretty new here but atleast I made my first mobs / bosses. Like everything is fine at them health is modified, damage and they got some spells. I'm using the NPC Generator of you ( http://gen.emudevs.com/index.php?p=tc_creature ) and the SAI Editor ( http://www.trinitycore.org/f/files/file/17-sai-editor/ ).

But for now I stuck at a problem:
For example I want to increase the spell damage of

72487 - [Deathchill Blast, rank 1 enUS]

I searched the spell at the spell_bonus_data without any result.
I tried to add the spell at the spell_bonus_data and tried to increase the direct_bonus, sadly without any result.

My next step was searching it at the Spell.dbc but it doesn't exist there.

My question is now:

Am I able to add these spells to the .dbc if so are you able to explain it to me because of these dozen of columns I'm really confused.
As I said above, I'm new at here :)

Regards Acidy.

05-29-2014, 07:27 PM
Well, there was a discussion about this here: http://emudevs.com/showthread.php/2647-How-to-nerf-spells?highlight=Increase+spell+damage about "nerfing" spells, but it was never resolved. Falls into the same category since you want to increase the spell damage of a spell. Only thing I could think of is via C++, you could increase the damage, I believe - not entirely sure about the dbc though.

05-29-2014, 08:02 PM
Do you know which script I need to change / edit ?

05-29-2014, 08:41 PM
I'm assuming you can go to SpellEffects.cpp "Spell::EffectScriptEffect (https://github.com/TrinityCore/TrinityCore/blob/master/src/server/game/Spells/SpellEffects.cpp#L3542)", add your spell via case and change the damage of that specific spell effect.

It already handles certain effects:

School Damage (Frost, Shadow)
Value: 9250 to 10750
Value: 11563 to 13437 - 25 Player
Value: 11563 to 13437 - 10 Player (Heroic)
Value: 14800 to 17200 - 25 Player (Heroic)
Radius: 10 yards

Trigger Spell: http://wowhead.com/spell=70905

05-30-2014, 09:54 AM
That means I have to find the Spell ID 70905 instead of 72487 and then I need to write a whole new "script part" at the SpellEffects.cpp ? Sad that I dont know how to create them because I cant find any tutorial of it and as I said above ^^ I am new in the whole thing here :D