[DiscordArchive] How do you add skills to classes on character c...
[DiscordArchive] How do you add skills to classes on character c...
Archived author: Needle • Posted: 2025-06-10T14:29:23.065000+00:00
Original source
Archived author: Needle • Posted: 2025-06-10T14:29:24.135000+00:00
Original source
Thread automatically created by Metalbull in <#415944535718494208>
Archived author: Metalbull • Posted: 2025-06-10T14:29:35.906000+00:00
Original source
Hey guys, I'm running a server (AzerotCore) and i'm having trouble with one of the modules (Worgoblin). Everything seems to work just fine, apart from one pretty important thing, which is that the starting skills seem to be a bit messed up for Worgen warris in particular, since you don't start with Two-handed Axes and for some reason you aren't allowed to train axes and swords at the weapon master in Ironforge/SW either (Worgen Death Knights for example start with every weapon skill like they're supposed to). If i try to give my character the skill via GM commands, it doesn't show up in the character sheet and the skill vanishes the moment i log off and back on again. I tried messing with the SkillLineAbility and SkillRaceClassInfo.dbc files and created a patch into the Data folder but i must have done something wrong since nothing happened like at all... Any tips?
Archived author: Metalbull • Posted: 2025-06-10T15:58:54.858000+00:00
Original source
Also i do realize there was a thread about a similar topic from last month or so but i couldn't really understand what the guy did to make it work for him. maybe i'm too <:0009_Pepega:1301382428081782845>
Archived author: Cyclone Jack • Posted: 2025-06-12T18:13:38.201000+00:00
Original source
You'll need to look in SkillLine and SkillLineAbility, to determine if they can learn the ability, as well as PlayerCreateInfo to assign it during character creation.
Archived author: Cyclone Jack • Posted: 2025-06-12T18:22:29.109000+00:00
Original source
You'll use SkillLine.dbc to get the ID of the skill in question (2H Axe is 172). Then in SkillLineAbility.dbc, you'll need to find SkillLine 172 and make sure the race/class you want is enabled (0 = all, so if race = 0 then all races will be able to use it). From what I can tell on my end, this should all be set up, but you may want to double-check it on your end.
PlayerCreateInfo is on the database side, so you'll want to make sure 2H Axe also has the proper race/class combos.
The race and class uses a Mask field, which can take a moment to get used to:
https://www.azerothcore.org/wiki/chrraces
https://www.azerothcore.org/wiki/chrclasses
To determine the proper Mask, you'll want to add up the Value field for each of the appropriate options. So if you want something to be just Human, Orc, and Dwarf, then you'd add 1+2+4 = 7, and that would be the raceMask.
[Embed: ChrRaces.dbc]
Wiki and Documentation of the AzerothCore project
https://www.azerothcore.org/wiki/chrraces
[Embed: ChrClasses.dbc]
Wiki and Documentation of the AzerothCore project
https://www.azerothcore.org/wiki/chrclasses