ToME: the Tales of Maj'Eyal
http://forums.te4.org/

Lua commands... set talent mastery and another question...
http://forums.te4.org/viewtopic.php?f=64&t=49506
Page 1 of 1

Author:  Delmuir [ Sun Apr 14, 2019 2:49 am ]
Post subject:  Lua commands... set talent mastery and another question...

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.

Author:  HousePet [ Sun Apr 14, 2019 8:42 am ]
Post subject:  Re: Lua commands... set talent mastery and another question.

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

The cap is set by the
Code:
points = 5,
line. So changing that should work.
However if you want something more dynamic. Check the code for Legacy of the Naloren.

Author:  Delmuir [ Sun Apr 14, 2019 4:36 pm ]
Post subject:  Re: Lua commands... set talent mastery and another question.

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.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/