[DiscordArchive] Could add it to the reference, no?
[DiscordArchive] Could add it to the reference, no?
Archived author: Bench • Posted: 2023-12-01T01:27:44.371000+00:00
Original source
Could add it to the reference, no?
Archived author: Cyanide • Posted: 2023-12-01T01:32:02.146000+00:00
Original source
I don't know where the references are stored/referenced from + there's no documentation on what reference points to what class.
I'm open to learning though.
Archived author: Bench • Posted: 2023-12-01T01:33:17.594000+00:00
Original source
They're stored in `npc_trainer`
Archived author: Bench • Posted: 2023-12-01T01:33:55.734000+00:00
Original source
Say SpellID column points to `-200001`, you'd then look for the list under ID of `200001`
Archived author: Bench • Posted: 2023-12-01T01:34:03.662000+00:00
Original source
Not incredibly intuitive, but that's how it works
Archived author: Cyanide • Posted: 2023-12-01T01:34:28.428000+00:00
Original source
I would never have figured that out in a bajillion years.
Archived author: Bench • Posted: 2023-12-01T01:34:57.695000+00:00
Original source
It's mentioned here: https://www.azerothcore.org/wiki/npc_trainer, but it's not great wording
Archived author: Cyanide • Posted: 2023-12-01T01:35:24.219000+00:00
Original source
I was trying to add spells to the NPCs, but I should've been adding it to the ref the whole time.
Is there any way to figure out what ref is for what class?
The only ones I could reverse engineer were the lvl 1 starter zone trainers because they each have 6 spells.
Archived author: Bench • Posted: 2023-12-01T01:35:48.908000+00:00
Original source
Only real option afaik is just to look at the spells in each list
Archived author: Cyanide • Posted: 2023-12-01T01:37:25.827000+00:00
Original source
There's about 2000 referenced lists.
At 1 check per second (impossible for a human) that's 40 minutes.