Forum > Tutorials
[TUTORIAL] DBC editing: Spells
<< < (3/3)
deep6ixed:
All spells that don't have a skilllineablility.dbc entry will show up in the misc spell tab. That's normal.
As for the damage, what does the tool tip for the spell say its supposed to do? Calculated spell damage can be kinda tricky.
Romzarah:
Rank 11 spell say it does 1579 arcane damage
Rank 12 the one I made say 2075 arcane damage
Romzarah:
Added a line to the skilllineablility.dbc and it fixed where the spell ends up in the spell book.. Thanks for that bit of info.. But have yet to find anything on why it is doing less damage than the rank 11 spell..
Romzarah:
Adding to the Tutorial for people that want to add new spell ranks of existing spells. Backup all dbs you plan to edit 1st.
Trinitycore 3.3.5
Tools I used. mydbceditor v 1.00 MySqlYog v7.02 mpqediten32 v 3.5.0.750
For spells like Arcane Shot.
Open the spell.dbc with mydbceditor and search for the highest rank spell you want to edit, in this case its 49045 rank 11 When you have found the spell, go to the edit menu and click the Copy Line To link. "Warning, you will need to be sure you use a ID number that is not in the database!" A popup will come up and you need to put in the filed a unique ID number and click the ok button. A new line will be added to the bottom of the dbc. In the case of the Arcane Shot you will need to edit column 38,39,40 for spell level info and 81 to set the damage you want it to do. Also need to edit 154 for the spell name and rank.
Next open the SkillLineAbility.dbc and again be sure you use unique ID numbers. Here you need to search for the rank 11 spell ID as you did above and copy the line with your new ID number. In this DBC you only need to edit column 3 by putting in your spell ID you used in the Spell.dbc and save it.
Next copy the finished Spell.dbc and SkillLineAbility.dbc and past them in your sever core dbc folder.
Open MySQLYog and find the spell_ranks dbc. The center column has the spell ids, find your rank 11 spell here and write down the number in the 1st column. Add a new line at the bottom and put the number from the 1st column in, and the new spell ID number you made in the Spell.dbc in the center column. The 3rd column put the new rank number, in this case 12.
Now it is time to make a patch. In your mpqediten32 folder you will need to have a Work folder in it a folder named DBFilesClient, add your 2 dbc files in this folder. Open mpqediten32 and make your patch.
Reboot the server and test your spell.
Navigation
[0] Message Index
[*] Previous page
|