TobyFox2002
Well-known member
I've Working on Truenamer from Tome of Magic on and off for the past few months and there is one issue I've been having that I cant get past. Its a small and critical problem with how hero labs handles Primary and Secondary Custom Abilities.
The problem is that the truenamer has three sets of special abilities:
Utterances of the Evolving Mind -- User.EvolveMind
Utterances of the Perfected Map -- User.PerfMap
Utterances of the Crafted Tool -- User.CraftTool
These function very simililarly to Invocations, but have a different progression for each and a different maximum number of each per Truenamer level. When I try to restrict the character it causes error the MOMENT the character has selected the proper number. Both graying out the selection and turning everything the player has already chosen RED even if they are at the correct number of each selected. (See image).
The way I have been counting each is by using an eval script Post-Levels/100 to:
perform forward[User.CraftTool]
And then a eval rule:
~Check truenamer level
var maxUtter as number
var bonUtter as number
var curUtter as number
~ Get number of Utterances on hero
curUtter = tagcount[User.CraftTool]
~ Add script to count the number of bonus utterance feats.
bonUtter = 0
if (#levelcount[Truenamer] >= 19) then
maxUtter = 5 + bonUtter
validif (curUtter <= maxUtter)
elseif (#levelcount[Truenamer] >= 15) then
maxUtter = 4 + bonUtter
validif (curUtter <= maxUtter)
elseif (#levelcount[Truenamer] >= 11) then
maxUtter = 3 + bonUtter
validif (curUtter <= maxUtter)
elseif (#levelcount[Truenamer] >= 7) then
maxUtter = 2 + bonUtter
validif (curUtter <= maxUtter)
elseif (#levelcount[Truenamer] >= 4) then
maxUtter = 1 + bonUtter
validif (curUtter <= maxUtter)
else
maxUtter = 0
endif
I'll eventually need to change some the #levelcount[Truenamer] to something else to allow for prestige classes and adjustment scripts that alter the effective level of the true-naming ability, but I can get that to work after I fix this annoying problem.
The problem is that the truenamer has three sets of special abilities:
Utterances of the Evolving Mind -- User.EvolveMind
Utterances of the Perfected Map -- User.PerfMap
Utterances of the Crafted Tool -- User.CraftTool
These function very simililarly to Invocations, but have a different progression for each and a different maximum number of each per Truenamer level. When I try to restrict the character it causes error the MOMENT the character has selected the proper number. Both graying out the selection and turning everything the player has already chosen RED even if they are at the correct number of each selected. (See image).
The way I have been counting each is by using an eval script Post-Levels/100 to:
perform forward[User.CraftTool]
And then a eval rule:
~Check truenamer level
var maxUtter as number
var bonUtter as number
var curUtter as number
~ Get number of Utterances on hero
curUtter = tagcount[User.CraftTool]
~ Add script to count the number of bonus utterance feats.
bonUtter = 0
if (#levelcount[Truenamer] >= 19) then
maxUtter = 5 + bonUtter
validif (curUtter <= maxUtter)
elseif (#levelcount[Truenamer] >= 15) then
maxUtter = 4 + bonUtter
validif (curUtter <= maxUtter)
elseif (#levelcount[Truenamer] >= 11) then
maxUtter = 3 + bonUtter
validif (curUtter <= maxUtter)
elseif (#levelcount[Truenamer] >= 7) then
maxUtter = 2 + bonUtter
validif (curUtter <= maxUtter)
elseif (#levelcount[Truenamer] >= 4) then
maxUtter = 1 + bonUtter
validif (curUtter <= maxUtter)
else
maxUtter = 0
endif
I'll eventually need to change some the #levelcount[Truenamer] to something else to allow for prestige classes and adjustment scripts that alter the effective level of the true-naming ability, but I can get that to work after I fix this annoying problem.