dungeonguru
Well-known member
Could use some help figuring this one out.
In some of the new materials, warlocks with Devil's Sight get the ability to see in magical darkness and the statblock reads:
Senses darkvision 120 ft. (penetrates magical darkness)
I've been able to figure out darkvision regenerates its name string at Render 10000, so I put the following in Render 15000 and it works everywhere but on the Race tab under Racial Abilities (although hitting the ? button shows correct as does the printing).
Is there a way to change what displays under the race tab? Specifically, I'm thinking of changing the livename to "Darkvision (penetrates magical darkness)" somewhere earlier than Render 10000, then set it back to "Darkvision" before the script in raDarkVis runs at Render 10000 but that seems really clunky. Any thoughts or am I missing something?
In some of the new materials, warlocks with Devil's Sight get the ability to see in magical darkness and the statblock reads:
Senses darkvision 120 ft. (penetrates magical darkness)
I've been able to figure out darkvision regenerates its name string at Render 10000, so I put the following in Render 15000 and it works everywhere but on the Race tab under Racial Abilities (although hitting the ? button shows correct as does the printing).
Code:
hero.child[raDarkVis].field[livename].text = replace(hero.child[raDarkVis].field[livename].text, ")", ", penetrates magical darkness)", 1)
hero.child[raDarkVis].field[sbName].text &= " (penetrates magical darkness)"
hero.child[raDarkVis].field[shortname].text &= " (penetrates magical darkness)"
Is there a way to change what displays under the race tab? Specifically, I'm thinking of changing the livename to "Darkvision (penetrates magical darkness)" somewhere earlier than Render 10000, then set it back to "Darkvision" before the script in raDarkVis runs at Render 10000 but that seems really clunky. Any thoughts or am I missing something?