Advertisement Create a free account

Question on Sheet coding

1565737342
Lucy
Plus
Short and simple I hope, coded up a spell "Jolting Surge" for a private Starfinder campaign (mostly homebrew) I'm running, and I'm not sure that the code is accurate, is there a simpler format for casting spells than all this?  I don't think I even need the melee attack I think I need the one for ranged? And I don't know what all the extra rolls are for, when I hover over the results for the 'melee' attack I get something like: 1d20(0+0+0+0+0 (floor+) etc etc. The code I have is below: &{template:pf_spell} {{name=@{name}}} {{level=@{spellclass-0-name} 1}} {{school=@{school}}} {{casting_time=@{cast-time}}} {{range=@{range}}} {{target=@{targets}}} {{duration=@{duration}}} {{saving_throw=@{save}}} {{sr=@{sr}}} {{mel_attack=[[1d20+@{attk-melee}]]}} {{damage=4d6([[4d6]])}} {{spell_description=@{description}}} Thanks in advance~
1565771256
Vince
Pro
Sheet Author
Hi Lucy, which sheet are you using?&nbsp; I'm guessing the Pathfinder Community sheet, but you mentioned Starfinder... If you are using the PF Community sheet, there's a guide on the wiki that may help. Roll templates:&nbsp;&nbsp; <a href="https://wiki.roll20.net/Pathfinder_Character_Sheet#Roll_Templates" rel="nofollow">https://wiki.roll20.net/Pathfinder_Character_Sheet#Roll_Templates</a> &nbsp; and more specifically, pf_spell:&nbsp; <a href="https://wiki.roll20.net/Pathfinder_Character_Sheet#pf_spell_Properties" rel="nofollow">https://wiki.roll20.net/Pathfinder_Character_Sheet#pf_spell_Properties</a> &nbsp; You should be able to remove any {{key=value}} sections you don't need and add other's as desired. Hope this helps.
1565826706
Lucy
Plus
Hiya, Vince, thanks for the reply! I am actually using the Starfinder (Simple) sheet for the game I'm running. is there a roll template for Starfinder as well? (Although the pathfinder templates will certainly be helpful for the pathfinder one I run lol)
1565839464

Edited 1565839545
Vince
Pro
Sheet Author
For the SF roll template, your might try looking here&nbsp; <a href="https://wiki.roll20.net/Starfinder_Official_Appendices#Appendix_C:_Roll_Templates" rel="nofollow">https://wiki.roll20.net/Starfinder_Official_Appendices#Appendix_C:_Roll_Templates</a> Looking at your posted macro, it's actually setup to use the Pathfinder roll template. ;-)&nbsp; You can only use the roll template designed for the sheet you are using, in this case Starfinder and the Default template that's available to everyone regardless of the sheet. e.g. &amp;{template:default} {{name=Default Template}} Here's an example of Starfinder's spell-based roll template sf_spell Used for abilities and spells. &amp;{template:sf_spell} {{name=}} {{characterid=}} {{title=}} {{activation=}} {{duration=}} {{targets=}} {{range=}} {{saveflag=}} {{savedc=}} {{savetype=}} {{effect=}} {{saveeffect=}} {{attackflag=}} {{fullattack=[[must be an inline roll]]}} {{r1=}} {{damageflag=}} {{damage1type=}} {{damage1=}} {{crit1damage=}} {{crit1effect=}} {{r2=}} {{damage2type=}} {{damage2=}} {{crit2damage=}} {{crit2effect=}} {{r3=}} {{damage3type=}} {{damage3=}} {{crit3damage=}} {{crit3effect=}} {{r4=}} {{damage4type=}} {{damage4=}} {{crit4damage=}} {{crit4effect=}} {{r5=}} {{damage5type=}} {{damage5=}} {{crit5damage=}} {{crit5effect=}} {{notes=}} {{leftbanner=}} {{rightbanner=}}
1565914268
Lucy
Plus
Ahah! I'll have a look see at that, and see if I can get it to work :D thank you! :)