Lua commands... set talent mastery and another question...

Have a really dumb question? Ask it here to get help from the experts (or those with too much time on their hands)

Moderator: Moderator

Post Reply
Message
Author
Delmuir
Uruivellas
Posts: 992
Joined: Sat Aug 24, 2013 5:55 am

Lua commands... set talent mastery and another question...

#1 Post by Delmuir »

I'm trying to play with the talent categories and the command works just fine except on the necrotic minions category. For some reason I can't changes that one.

game.player:setTalentTypeMastery("spell/animus",2.0)

I'm not much for programming language but I should just be able to substitute out animus for necrotic minions with or without a space or a capitalization or something but no luck.

Also, is there a way to change the cap on talents from 5 to 6 or more?

Thanks.

HousePet
Perspiring Physicist
Posts: 6215
Joined: Sun Sep 09, 2012 7:43 am

Re: Lua commands... set talent mastery and another question.

#2 Post by HousePet »

Works fine for me.
Are you aware that the category is actually "spell/necrotic-minions"?

The cap is set by the

Code: Select all

points = 5,
line. So changing that should work.
However if you want something more dynamic. Check the code for Legacy of the Naloren.
My feedback meter decays into coding. Give me feedback and I make mods.

Delmuir
Uruivellas
Posts: 992
Joined: Sat Aug 24, 2013 5:55 am

Re: Lua commands... set talent mastery and another question.

#3 Post by Delmuir »

I was not aware that it had a dash... thank you!

As for the points, I don't think your answer is sufficiently dumb for me. Though, at this point, I think I've seen most of what I wanted to see so it doesn't really matter.

Thanks, as always.

Post Reply