[DiscordArchive] Is there a way to add a spell to all same class trainers at once?
[DiscordArchive] Is there a way to add a spell to all same class trainers at once?
Archived author: Adrien • Posted: 2025-02-09T14:58:09.919000+00:00
Original source
Is there a way to add a spell to all same class trainers at once?
Archived author: Revision • Posted: 2025-02-09T15:20:20.563000+00:00
Original source
Class trainers use references so yes, adding a spell to the reference will add it to all who use that reference.
Archived author: Adrien • Posted: 2025-02-09T15:36:51.939000+00:00
Original source
ok yeah I'm seeing a werid negative "spellID" for each trainer in npc_trainer.sql, is this what your refering to?
Archived author: Adrien • Posted: 2025-02-09T15:36:58.108000+00:00
Original source
Archived author: Revision • Posted: 2025-02-09T15:38:02.284000+00:00
Original source
Yes
Archived author: Revision • Posted: 2025-02-09T15:38:15.852000+00:00
Original source
Negative is a reference, remove the - and that is the ID in npc_trainer
Archived author: Adrien • Posted: 2025-02-09T15:40:07.550000+00:00
Original source
ok, do you know where those references are in sql?
Archived author: Adrien • Posted: 2025-02-09T15:40:58.933000+00:00
Original source
or is it a value that needs to be edited in the spell variables?
Archived author: Adrien • Posted: 2025-02-09T15:46:07.352000+00:00
Original source
ah maybe skilline.sql, there 's a categoryID for the spell and its CostID
Archived author: Adrien • Posted: 2025-02-09T15:46:17.125000+00:00
Original source
sounds like information for a triner