[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
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?
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
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
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
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