[Archive] Making trainers accessible by all classes?
[Archive] Making trainers accessible by all classes?
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!
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.
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.
Archived author: MSDhoni • Posted: 2022-07-22T09:58:48+00:00
Original source
http://doramasmp4.shop/
Quote: On 2022/3/10 at AM2点39分, Kaev1695989297 said: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.
也许 type = 0 和 requirements = 0的培训师将允许所有班级进行培训。我想您可以通过trainer_spell分配课程法术。我猜你正在使用 TrinityCore。
Archived author: may28js • Posted: 2022-08-22T01:06:16+00:00
Original source
Quote: On 2022/3/10 at AM2点39分, Kaev1695989297 said: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.
也许 type = 0 和 requirements = 0的培训师将允许所有班级进行培训。我想您可以通过trainer_spell分配课程法术。我猜你正在使用 TrinityCore。