Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] If I want to make all subprofessions to be available at the same time, such as having together Axes

[DiscordArchive] If I want to make all subprofessions to be available at the same time, such as having together Axes

[DiscordArchive] If I want to make all subprofessions to be available at the same time, such as having together Axes

rektbyfaith
Administrator
0
11-01-2025, 01:29 PM
#1
Archived author: GRUHGRRRRRRRRUH • Posted: 2025-11-01T13:29:54.909000+00:00
Original source

If I want to make all subprofessions to be available at the same time, such as having together Axesmith, Macesmith and Swordsmith, what should I modify? I understand that the appearance and removal of npc gossip options in regards of limiting this, is stored in the **npc_professions.cpp**. But which piece/s of code must I modify in what way to enable all subprofessions to always be available?
rektbyfaith
11-01-2025, 01:29 PM #1

Archived author: GRUHGRRRRRRRRUH • Posted: 2025-11-01T13:29:54.909000+00:00
Original source

If I want to make all subprofessions to be available at the same time, such as having together Axesmith, Macesmith and Swordsmith, what should I modify? I understand that the appearance and removal of npc gossip options in regards of limiting this, is stored in the **npc_professions.cpp**. But which piece/s of code must I modify in what way to enable all subprofessions to always be available?

rektbyfaith
Administrator
0
11-01-2025, 01:30 PM
#2
Archived author: GRUHGRRRRRRRRUH • Posted: 2025-11-01T13:30:35.337000+00:00
Original source

if there's a worldserver.conf option for this, that I haven't considered, let me know
rektbyfaith
11-01-2025, 01:30 PM #2

Archived author: GRUHGRRRRRRRRUH • Posted: 2025-11-01T13:30:35.337000+00:00
Original source

if there's a worldserver.conf option for this, that I haven't considered, let me know

rektbyfaith
Administrator
0
11-01-2025, 01:35 PM
#3
Archived author: Revision • Posted: 2025-11-01T13:35:42.888000+00:00
Original source

The spells that are used to learn them also remove one while adding another
rektbyfaith
11-01-2025, 01:35 PM #3

Archived author: Revision • Posted: 2025-11-01T13:35:42.888000+00:00
Original source

The spells that are used to learn them also remove one while adding another

rektbyfaith
Administrator
0
11-01-2025, 01:42 PM
#4
Archived author: GRUHGRRRRRRRRUH • Posted: 2025-11-01T13:42:08.075000+00:00
Original source

I also noticed the exact spot in the Spell.dbc which is responsible for the exclusions. So I guess if I I modify the dbc file and the npc_profession.cpp file, should be enough to allow it. I thikn I found what exactly to do. Will do tests and come back
rektbyfaith
11-01-2025, 01:42 PM #4

Archived author: GRUHGRRRRRRRRUH • Posted: 2025-11-01T13:42:08.075000+00:00
Original source

I also noticed the exact spot in the Spell.dbc which is responsible for the exclusions. So I guess if I I modify the dbc file and the npc_profession.cpp file, should be enough to allow it. I thikn I found what exactly to do. Will do tests and come back

rektbyfaith
Administrator
0
11-01-2025, 02:14 PM
#5
Archived author: GRUHGRRRRRRRRUH • Posted: 2025-11-01T14:14:17.468000+00:00
Original source

Ok, so particularly for Hammersmith, Axesmith, Swordsmith, it worked by only modifying the "if (!HasWeaponSub(player))" to if (!player->HasSpell(S_HAMMER)) or for SWORD or for AXE. But for the Amrorsmith and Weaponsmith I'll have to touch the spell.dbc too. Anyway, sorry for spam
rektbyfaith
11-01-2025, 02:14 PM #5

Archived author: GRUHGRRRRRRRRUH • Posted: 2025-11-01T14:14:17.468000+00:00
Original source

Ok, so particularly for Hammersmith, Axesmith, Swordsmith, it worked by only modifying the "if (!HasWeaponSub(player))" to if (!player->HasSpell(S_HAMMER)) or for SWORD or for AXE. But for the Amrorsmith and Weaponsmith I'll have to touch the spell.dbc too. Anyway, sorry for spam

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)