Modcraft - The community dedicated to quality WoW modding!

Wrath of the Lich King Modding => Serverside Modding => Topic started by: lordpsyan on November 15, 2017, 03:22:13 am

Title: 3.3.5a trinitycore disable talent tree...
Post by: lordpsyan on November 15, 2017, 03:22:13 am
I figured if anyone would know, it would be here. I am trying to setup a type of sub class.

normal classes, and I will use warrior in my example, have 3 different talent trees. arms, fury, and protection. I want all these to work, and they do, but I want to create a sub class, like veteran warrior, for lack of a better name, where they can only use the arms talent tree (talents are significantly boosted, which I can already do).

I have searched the core, and it seems I can only turn on or off talents, or add new ones, via talent dbc file.

The way I was going to do the sub classes, was similar to a ranking system, where they get a title like "Veteran" and a field in characters table added, subclass, which would be a boolean, but dbc's cannot check the database for true or false, and the core only adds the talent trees generically (all at once, not specifying individual trees by class).

Any idea how this can be done? Scrapping this idea is ok, but I really want to learn more about how the talents work.
Title: Re: 3.3.5a trinitycore disable talent tree...
Post by: noc on December 02, 2017, 10:23:01 am
Hello,

a subclass can not exist at the level of the talent tree without a heavy modification lua, dbc, server.
You should opt for creating a class with the same abilities as the base class for you warrior. Then you will be easy to modify the server to add or modify what suits you. In fact, you only have to create a talent tree with one, two or three branches in the dbc and the server, not to mention the sql. The warrior character will be able to pass in the subclass just by changing his class number and adapting himself which should be from the server.


Bonjour,

une sous classe ne peut exister au niveau de l'arbre des talents sans une lourde modification lua, dbc, serveur.
Vous devriez opter pour la création d'une classe ayant les mèmes capacités que la classe de base, pour vous le guerrier. Ensuite il vous sera facile de modifier le serveur pour ajouter ou modifier ce qui vous convient. De fait, vous n'auriez qu'à créer un arbre de talent avec une, deux ou trois branches dans les dbc et le serveur, sans oublier le sql. Le personnage guerrier pourra passer dans la sous classe juste en changeant son numéro de classe et en adaptant se qui doit l’être à partir du serveur.

Edit :

If you think about it, I think you could add a branch of talents whose first talents could not be active without learning a spell, the spell defining the subclass, moreover it would be easy to modify the server for that the level of talents goes from 5 to 9 which could bring a plus for this subclass.


En y réfléchissant un peu, je pense que vous pourriez rajouter une branche de talents dont les premiers talents ne pourraient être actif sans l’apprentissage d'un spell, le spell définissant la sous classe, de plus il serait facile de modifier le serveur pour que le niveau des talents passe de 5 a 9 ce qui pourrait apporter un plus pour cette sous classe.