Ayahuasca

How to put custom spells in a new spellbook tab ? WotLK 3.3.5

Hi there !

I made some custom spells, now I stuggle trying to avoid them being sorted in the "General" tab of the Spellbook.

I would like it to be sorted in a new one, that would be called "Avatars" (or "Avatar" or something related), with its new icon. The same way spells are sorted in spec tabs for classes, like the frost spells of mages are sorted in the "Frost" tab of their spellbook. Except this new tab must be in all classes' spellbook (no race/class restriction) !

I've played with the SkillLine, SkillLineAbility and SkillRaceClassInfo DBCs without success.

 

Can someone help me with this ? Has anyone already put custom spells in a new tab of the spellbook, for every race/class ?

I'm working over WotLK 3.3.5 client/server (powered by TC).

See attached image. And do not be impressed by my Paint.exe skills.

pleasehelpmewithspellbooktabs.jpg

Share this post


Link to post
Share on other sites

OK, after I found a moment to work on this, I just openned my files. 

What was wrong was set in the SkillRaceClass.dbc file. It's about the flag. 

I used flag 128 (don't ask why I tried being a magician) but this was not the right one. Changing it to 1040 made this work ! 

I'll post screenshots of what it looks like when I'll get back from work tonight. 

Share this post


Link to post
Share on other sites
On 10/29/2021 at 3:22 PM, Ayahuasca said:

OK, after I found a moment to work on this, I just openned my files. 

What was wrong was set in the SkillRaceClass.dbc file. It's about the flag. 

I used flag 128 (don't ask why I tried being a magician) but this was not the right one. Changing it to 1040 made this work ! 

I'll post screenshots of what it looks like when I'll get back from work tonight. 

Yes, It's quite long bitween each of my action here. I'm migrating from TrinityCore to AzerothCore and I do not spend enough time on my project these days.

So here is a look at what was expected, displayed on a fresh toon over the fresh AC (icon may change but the result is still there, I've implemented only one spell in the skill line for now)

WoWScrnShot_110221_045618.jpg

Share this post


Link to post
Share on other sites
On 11/13/2021 at 5:02 PM, Nupper said:

I made it work when i remmber what how i will give an update

d9k7nlr-e49ffc38-fff0-446e-a1ee-82513ab708de.jpg.3f3b4125f9ea63bf390f9630f164cc9b.jpg

 

Would love to know too!

Share this post


Link to post
Share on other sites

Tabs in your spellbook will show based on spell's skilllineability entries. Making a new entry in SkillLine.dbc allows you to create custom spell tabs. You then have to place your new spells in SkillLineAbility.dbc. The SkillLine column in SkillLineAbility.dbc is the associated SkillLine.dbc entry it should be associated with. If you want previous ranks to be overridden with higher ranks, like with warrior and rogue spells, then you need to place the higher ranked spell id in the TrivialSkillLineRankHigh column. E.G. My entry for Heroic Strike rank 1 would have the spellid of Heroic Strike rank 2 in the TrivialSkillLineRankHigh column.  Entries with a TrivialSkillLineRankLow value of 2 and an AcquireMethod value of 1 will be learned by the player on character create. There are additional conditions you can use like Race and Class masking.

  • Thanks 1

Share this post


Link to post
Share on other sites