ShadowChemosh
Well-known member
So playing around it seems that the if their is a "Summary Text" entered for an ability this is what gets printed on the character sheet instead of the ability description. Which is really nice as I can shorten info to be more readable.
A script I am working on gives a race a breath weapon. I copied one of the existing breath weapon scripts and it appears to all be working correctly, but it has a line that creates a nice bit of text that goes into field[abSumm].text.
I thought this would then get printed on the character sheet to show the correct DC and damage dice as the character levels. This does not appear to be the case. I even tested using the Sorcerer Bloodline(Celestial) which adds Heavenly Fire. The script again looks like it should print a nicely formatted summary of the ability including level bonuses, but it doesn't. All I get is the standard ability description.
Here is the script I am using for the breath weapon:
Does field[abSumm].txt not do what I think it does? If it doesn't is their any way to get a nice level formatted bit of text to print on the character sheet?
Debug shows me the following is in the abSumm field. 1/day, Breath Weapon deals 2d8 (energy) damage, Ref DC 14, in a 30ft line. which is exactly what I would like to print to the character sheet.
Thanks
A script I am working on gives a race a breath weapon. I copied one of the existing breath weapon scripts and it appears to all be working correctly, but it has a line that creates a nice bit of text that goes into field[abSumm].text.
I thought this would then get printed on the character sheet to show the correct DC and damage dice as the character levels. This does not appear to be the case. I even tested using the Sorcerer Bloodline(Celestial) which adds Heavenly Fire. The script again looks like it should print a nicely formatted summary of the ability including level bonuses, but it doesn't. All I get is the standard ability description.
Here is the script I am using for the breath weapon:
Code:
~Final Phase 20,000/1
var energy as string
var Line as number
energy = "(energy)"
if (root.tagcount[BloodEner.?] <> 0) then
energy = root.tagnames[BloodEner.?]
endif
~our value is our total class levels
field[abValue].value = round(herofield[tLevel].value/3,0,1)
Line = 5 * herofield[tLevel].value
field[abSumm].text = field[trkMax].value & "/day, Breath Weapon deals " & field[abValue].value & "d8 " & energy & " damage, Ref DC "& field[abDC].value & ", in a " & Line & "ft line."
debug field[abSumm].text
field[livename].text = "Breath Weapon (" & field[trkMax].value & "/day)"
Does field[abSumm].txt not do what I think it does? If it doesn't is their any way to get a nice level formatted bit of text to print on the character sheet?
Debug shows me the following is in the abSumm field. 1/day, Breath Weapon deals 2d8 (energy) damage, Ref DC 14, in a 30ft line. which is exactly what I would like to print to the character sheet.
Thanks