Wise
30-07-14, 09:47 PM
https://github.com/Lillecarl/mangos-...026fdada167b65 (https://github.com/Lillecarl/mangos-tbc/commit/289f9797fc749cf65629a7284c026fdada167b65)
This system makes it easy to create "talent templates".
You just insert classid, specid, talentid and rank in the database.
Then you call Player::LearnTalentTemplate and specify the specid they should learn and they'll get that talent tree as you filled the data in the database.
Note that all stuff to the custom class could be added to the objectmgr for those that doesn't have the "fancy" custom class i have.
Yet again: Someone feel free to port this to TrinityCore!
Good luck! =)
This system makes it easy to create "talent templates".
You just insert classid, specid, talentid and rank in the database.
Then you call Player::LearnTalentTemplate and specify the specid they should learn and they'll get that talent tree as you filled the data in the database.
Note that all stuff to the custom class could be added to the objectmgr for those that doesn't have the "fancy" custom class i have.
Yet again: Someone feel free to port this to TrinityCore!
Good luck! =)