Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

[PF] Template: pf_spell leaving empty space

1446209465
Jeff M.
Plus
Marketplace Creator
I was making some macros manually (the character sheet isn't working in my browser) last night for spells, but whenever I tried to use the pf_spell template, it would leave an extra space under the title. I'm guessing there is a certain variable that it always tries to enter but I didn't fill in because it wasn't information I need for regular casting, but I'm not sure which one. I would prefer to use pf_spell becasue the discription is nicer, but I want to figure out why this hole is here. Suggestions?
1446215971
Ziechael
Forum Champion
Sheet Author
API Scripter
As this is more of a community sheet issue I'll move it to the appropriate forum for you.
1446218401
Lithl
Pro
Sheet Author
API Scripter
Looks like that row is supposed to contain the spell's school and level. Other fields, such as casing time, wrap the table row in a check for the existence of the field, but school/level don't.
1446278936

Edited 1446279057
vÍnce
Pro
Sheet Author
Hi Jeff.  I believe I fixed this a while back on the  PF sheet beta campaign.  Would you mind trying your macro out over there and see if you have the same issue?  The current beta is waiting to go live with the next round of pull requests, so if it works there, it will be fixed for the community sheet very soon...  Otherwise, let me know and I will dig in and fix it asap. Cheers
1446302766

Edited 1446302829
Jeff M.
Plus
Marketplace Creator
@Brian That's what was thinking too because the school and level are the other ones in the same row on the table @Vince That page doesn't want to load for me. It says "Unauthorized -- Your Session to Access This Game Has Expired." If you want to try it yourself though, the macro was really basic. /me casts Ice Storm; frigid winds begin to blow and great, magical hailstones pound down. &{template:pf_spell} {{name=Ice Storm}} {{Bludgeoning damage=[[3d4]]}} {{Cold damage=[[2d6+4]]}} {{Caster level check=[[1d20+9]]}} {{description=Creatures inside this area take a -4 penalty on Perception skill checks and the entire area is treated as difficult terrain.}}
1446305824

Edited 1446306396
vÍnce
Pro
Sheet Author
Strange about the beta link...? does this work? &nbsp; <a href="https://app.roll20.net/join/801350/kEQ72w" rel="nofollow">https://app.roll20.net/join/801350/kEQ72w</a> Looks good to me. &nbsp;The updated sheet is set to go live whenever they cycle the PR's. &nbsp;Cheers Thanks Jeff
1446306274
vÍnce
Pro
Sheet Author
BTW, your point about pf_generic not looking right with your description stuck in the far column is a valid point. &nbsp;Although the pf_generic was written to act very similar to the default roll20 template as a catch-all, I think I might add a property for "description" so that it acts the same as the other PF sheet's roll templates. &nbsp;Thanks
1446795014
vÍnce
Pro
Sheet Author
Hi Jeff. &nbsp;I've updated the pf_generic roll template on the&nbsp; PF beta sheet to include two new keys. &nbsp; righttext_X&nbsp; (right aligned text) and lefttext_X&nbsp; (left aligned text) where X is a number 1 thru 10 as needed. &nbsp;This will allow you to insert up to 20 rows(10 right, 10 left) that span both columns. &nbsp; example: &{template:pf_generic}&nbsp;{{righttext_1=**Check** = [[1d20]]}} {{lefttext_1=This is a check vs **DC15**}} &nbsp; I know this doesn't solve your trading post inventory list, but it should help with making other macros more manageable. &nbsp;Let me know how it works.
1446943611
Jeff M.
Plus
Marketplace Creator
That is very cool and helpful. It has only been implimented in the beta so far though, eh?
1446964736

Edited 1446964758
vÍnce
Pro
Sheet Author
Yes. &nbsp;Wanted to let everyone test it first. &nbsp;If it works out, I'll add it to the next update. &nbsp;Try it out. &nbsp;If we can make it better...&nbsp;