Custom spells can work like this, you make the spell class, what type of spell and the accuracy of the spell. If the spell is overpowered you get a screen saying "You're spell is overpowered. Please make a more balanced spell." you press okay and then the popup closes(In other words, nothing happens). Oh but wait, how do you put the spell on your pet? Well once your pet levels up, if you have 1 or more custom spells you can see the pet talent you can normally get or one of your custom spells. please note that a pet cannot learn the same custom spell twice and once your pet has learned a talent or a custom spell you cannot change it back and custom spells will work like normal pet talent spells.
Tyler Deathsong level 12 I will let KI deside the level for this idea. And yes after you make the spell you have to craft it with random materials.