Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] Would it be possible for me to add items to the NPC without being one by one? Ex: add all heroic tri

[DiscordArchive] Would it be possible for me to add items to the NPC without being one by one? Ex: add all heroic tri

[DiscordArchive] Would it be possible for me to add items to the NPC without being one by one? Ex: add all heroic tri

rektbyfaith
Administrator
0
06-16-2022, 03:09 AM
#1
Archived author: Didio • Posted: 2022-06-16T03:09:10.700000+00:00
Original source

Would it be possible for me to add items to the NPC without being one by one? Ex: add all heroic trinkets on an NPC with sql or something?
rektbyfaith
06-16-2022, 03:09 AM #1

Archived author: Didio • Posted: 2022-06-16T03:09:10.700000+00:00
Original source

Would it be possible for me to add items to the NPC without being one by one? Ex: add all heroic trinkets on an NPC with sql or something?

rektbyfaith
Administrator
0
06-16-2022, 04:24 AM
#2
Archived author: Kek • Posted: 2022-06-16T04:24:43.768000+00:00
Original source

Found the root reason: The spell in SkillLineAbility.dbc was under the Arcane skill line, which was exclusively for mages.
So I created a new Skill Line in SkillLine.dbc and SkillRaceClassInfo.dbc and moved all the teleports under that Skill Line in SkillLineAbility.dbc. Then I changed the trainer type of all portal trainers to profession and removed the condition that hid the "train me" option, so now I can ask them to train me and they'll show all available spells (which will only be the teleport on non-mages, and the teleport and portal on mages)
rektbyfaith
06-16-2022, 04:24 AM #2

Archived author: Kek • Posted: 2022-06-16T04:24:43.768000+00:00
Original source

Found the root reason: The spell in SkillLineAbility.dbc was under the Arcane skill line, which was exclusively for mages.
So I created a new Skill Line in SkillLine.dbc and SkillRaceClassInfo.dbc and moved all the teleports under that Skill Line in SkillLineAbility.dbc. Then I changed the trainer type of all portal trainers to profession and removed the condition that hid the "train me" option, so now I can ask them to train me and they'll show all available spells (which will only be the teleport on non-mages, and the teleport and portal on mages)

rektbyfaith
Administrator
0
06-16-2022, 04:26 AM
#3
Archived author: Kek • Posted: 2022-06-16T04:26:01.430000+00:00
Original source

And of course, ported all the DBCs to the client in a mpq
rektbyfaith
06-16-2022, 04:26 AM #3

Archived author: Kek • Posted: 2022-06-16T04:26:01.430000+00:00
Original source

And of course, ported all the DBCs to the client in a mpq

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