Forums WoW Modding Discussion Serverside [Archive] Making trainers accessible by all classes?

[Archive] Making trainers accessible by all classes?

[Archive] Making trainers accessible by all classes?

rektbyfaith
Administrator
0
03-09-2022, 11:50 AM
#1
Archived author: Hahaha • Posted: 2022-03-09T11:50:57+00:00
Original source

Greetings friends, was wondering if there was a surefire way of making trainers offer spells unto all classes! For example, a hunter can talk to a druid trainer and learn from them what they would, like a normal druid. I've scoured DBCs and databases but found nothing, and am worried it may even be a hardcoded thing. Help appreciated!
rektbyfaith
03-09-2022, 11:50 AM #1

Archived author: Hahaha • Posted: 2022-03-09T11:50:57+00:00
Original source

Greetings friends, was wondering if there was a surefire way of making trainers offer spells unto all classes! For example, a hunter can talk to a druid trainer and learn from them what they would, like a normal druid. I've scoured DBCs and databases but found nothing, and am worried it may even be a hardcoded thing. Help appreciated!

rektbyfaith
Administrator
0
03-09-2022, 06:39 PM
#2
Archived author: Kaev • Posted: 2022-03-09T18:39:53+00:00
Original source

Maybe a trainer with type = 0 and requirement = 0 will allow all classes to train. I guess you can assign the class spells via trainer_spell. I guessed you're using TrinityCore.
rektbyfaith
03-09-2022, 06:39 PM #2

Archived author: Kaev • Posted: 2022-03-09T18:39:53+00:00
Original source

Maybe a trainer with type = 0 and requirement = 0 will allow all classes to train. I guess you can assign the class spells via trainer_spell. I guessed you're using TrinityCore.

rektbyfaith
Administrator
0
03-10-2022, 09:27 PM
#3
Archived author: Amaroth • Posted: 2022-03-10T21:27:05+00:00
Original source

For the spells, not sure, has been too long to remember. Kaev's lead should be the right one though.

I am posting to toss in one more thing regarding skills - note that there's https://wowdev.wiki/DB/SkillRaceClassInfo which can forbid certain class and race combinations from learning skills. For that reason for example, you may have an issue with alliance races learning horde languages, and vice versa (or there are some other, class-specific skills, as well, such as weapon skills). So, if you choose to do this with skills as well, be aware of this thing. But that's more of a side note.
rektbyfaith
03-10-2022, 09:27 PM #3

Archived author: Amaroth • Posted: 2022-03-10T21:27:05+00:00
Original source

For the spells, not sure, has been too long to remember. Kaev's lead should be the right one though.

I am posting to toss in one more thing regarding skills - note that there's https://wowdev.wiki/DB/SkillRaceClassInfo which can forbid certain class and race combinations from learning skills. For that reason for example, you may have an issue with alliance races learning horde languages, and vice versa (or there are some other, class-specific skills, as well, such as weapon skills). So, if you choose to do this with skills as well, be aware of this thing. But that's more of a side note.

rektbyfaith
Administrator
0
07-22-2022, 09:58 AM
#4
Archived author: MSDhoni • Posted: 2022-07-22T09:58:48+00:00
Original source

http://doramasmp4.shop/
rektbyfaith
07-22-2022, 09:58 AM #4

Archived author: MSDhoni • Posted: 2022-07-22T09:58:48+00:00
Original source

http://doramasmp4.shop/

rektbyfaith
Administrator
0
08-22-2022, 01:06 AM
#5
Archived author: may28js • Posted: 2022-08-22T01:06:16+00:00
Original source

Quote: On 2022/3/10 at AM2点39分, Kaev1695989297 said:

也许 type = 0 和 requirements = 0的培训师将允许所有班级进行培训。我想您可以通过trainer_spell分配课程法术。我猜你正在使用 TrinityCore。
Based on your hint, I modified requirements = 0, the result is no change, the trainer can't teach other class spells, it still recognizes your class and refuses to teach you anything.
rektbyfaith
08-22-2022, 01:06 AM #5

Archived author: may28js • Posted: 2022-08-22T01:06:16+00:00
Original source

Quote: On 2022/3/10 at AM2点39分, Kaev1695989297 said:

也许 type = 0 和 requirements = 0的培训师将允许所有班级进行培训。我想您可以通过trainer_spell分配课程法术。我猜你正在使用 TrinityCore。
Based on your hint, I modified requirements = 0, the result is no change, the trainer can't teach other class spells, it still recognizes your class and refuses to teach you anything.

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