Originally Posted by
brotalnia
Hey, I really like your editor, and I've got a feature question regarding vanilla. There are two active vanilla emulation projects right now (cmangos and vmangos), and both of them keep the spell data in the database, and they do not use the dbc file. Would it be possible to add support for loading and saving spells from the `spell_template` table so that people can use this editor with both emulators out of the box?
This is the format of the tables:
cmangos -
cmangos spells - Pastebin.com
vmangos -
vmangos spell template - Pastebin.com
You can convert from the spell editor schema to the mangos/vmangos schema with queries.
Something like:
Code:
insert into world.spell_template (id, School, Category, ...) select ID, SchoolMask, Category, ... from spelleditor.spell;
Replace ... with all the other columns mapped.
The issue is the mangos/vmangos struct doesn't match the DBC structure exactly, so we actually need to do the conversion.
I can maybe build in support for this automatically at a later date.
edit: Created Issue #91 to track this feature.