Hi all. In this guide i will tell you all how to add spells to a trainer. This is very useful for hunters-tame beast, and druid shapeshift forms.
1) Do .npc info on your vendor and write down or remember the entry id.
2) Go to navicat and go to your world database. Go into the table called trainer_spells.
3) Find your vendors entry id in there and add new line by pushing the small + sign on the bottom of the navicat screen.
4) Go to www.wowhead.com and search the spell you want. Get the spell ID
5) Under the new line you made in trainer_spells,
-under the column entry, put the vendors entry id.
-leave cast spell blank.
-under learn_spell put your spell id.
-under spellcost put the amount of gold if any you want your spell to cost
-under req_skill and req_spell put the required skill or spell if you want, otherwise leave blank.
-under req_level put the required level to learn your spell.
-under reqskillvalue put the level of skill you need to get the spell- usually 0 unless profession
-under deletespell put the spell it deletes from you(if any). (such as when you get dire bear form it deletes bear form)
-leave is_profblank unless its a profession. profession = 1
restart your server and your trainer will have the spells you added!
hope this helped alot of people!
reply if you need help with something!