@@ -1570,430 +1568,448 @@ Level BAB Fort Ref Will
Roll Templates
-
-
Roll Templates
-
+
+
Roll Templates
+
-
- All of the roll templates use the flags initflag, skillcatflag, skillflag, saveflag, abilityflag, spellflag, pcflag, npcflag, and basicflag to vary the roll template appearance. See below for more details.
-
- The SagaBornAttack roll template allows up to 10 attacks to be displayed in the same template. If the roll for attack# results in a critical success (can set a custom value such as: [[ d20cs>18 ]] ), then critconfirm# and critdmg# will display. If the roll for attack# results in a critical failure (can set a custom value such as: [[ d20cf<2 ]] ), then fumbleroll will display.
- To use this Roll Template to show multiple attacks, the fullattackflag must be set to [[ d1 ]] . You can use either {{fullattackflag= [[ d1 ]] }} or set it as a query {{fullattackflag= [[ ?{Full Attack? (hit space for full attack else hit return) |0}d1 ]] }} or {{fullattackflag= [[?{Full Attack?|No, 0d1|Yes, d1} ]] }} as in the example macro.
-
-
- The npcflag sets the name and dividing line to be red. For this flag, the arrow in the dividing line points to the left.
- Example of SagaBornAttack with {{npcflag=true}} set. This example has the fullattackflag set to d1 so it will always show the attacks. Also set to whisper to the gm for the NPC's attacks. This example compares against an AC value stored in bar2 to report success (1 hit) or failure (0 hit) of the attack.
-
-
- The SagaBornInitiative roll template consists of name check and checkroll on the same line. Notes can be added below. There is no dividing line in this template.
-
-
- The initflag used with SagaBornStdRoll or SagaBornAttack sets the name this same yellow and adds a thin solid yellow dividing line.
-
-
- For the SagaBornStdRoll, the first section is a repeating section where you can give a key and a value which will be displayed in columns. Key words which cannot be used (since they are used in other parts of the template) are: notes, subtags, subtags2, compcheck, failcheck, succeedcheck, check, checkroll, critroll, fumbleroll, initflag, skillcatflag, skillflag, saveflag, abilityflag, spellflag, pcflag, npcflag, basicflag, name.
-
- The compcheck line expects a comparison type roll [[ d20>15 ]] and will display the succeedcheck if the result is a 1 or the failcheck if the result is a 0.
-
- The next section takes a check and checkroll and will display the critroll if the checkroll was a critical success and the fumble roll if the checkroll was a critical failure.
-
- Any or all of the sections can be used; if you don't put in the key word, the section will not be displayed. Note that you cannot use the check keyword by itself; you must include the checkroll as well for that section to display.
-
- Spell:
-
-
-
-
Name
-
subtags
-
subtags2
-
-
key
value
-
key
value
-
key
value
-
compcheck
succeedcheck failcheck
-
check checkroll
-
critroll fumbleroll
-
notes
-
-
- Example macro:
&{template:SagaBornStdRoll} {{spellflag=true}} {{name= @{character_name} casts Doom on @{target|token_name} }} {{School:=Necromancy (Fear, Mind affecting)}} {{Level: =Cleric 1}} {{Comp'nts:=V, S, DF}} {{Casting Time:= 1 std action}} {{Range:= Medium ( [[ 100+10*@{casterlevel} ]] ft)}} {{Target:= 1 living creature}} {{Duration:= [[ @{casterlevel} ]] min.}} {{Saving Throw:= Will negates (DC= [[ @{spelldc1} ]] ) }} {{Spell Resist.:= Yes }} {{ Caster level check: = [[ 1d20+@{casterlevel2}+@{spellpen} ]] vs spell resistance.}} {{compcheck= Conc: [[ {1d20 + [[ @{concentration} ]] }>?{Concentration DC=15+Spell Level or 10+Damage Received|16} ]] }} {{succeedcheck=Success! She casts her spell!}} {{failcheck=She fails :( }} {{notes=Target is filled with a feeling of horrible dread that causes it to become shaken (-2 on attack rolls, saves, skill checks, ability checks).}}
-
- The spellflag sets the dividing line to be a blue 4-pointed star pattern and the name to be blue.
-
-
- The skillcatflag sets the dividing line to be an upward pointed arrow and both it and the name a teal color.
-
-
-
- Basic:
-
-
-
-
Name
-
subtags
-
subtags2
-
key
value
-
key
value
-
key
value
-
compcheck
succeedcheck failcheck
-
check checkroll
-
critroll fumbleroll
-
notes
-
-
- Example macro:
&{template:SagaBornStdRoll} {{basicflag=true}} {{name=Test Roll}} {{subtags=swinging violently}} {{subtags2=at the kitchen sink.}} {{attack= [[ 1d20 ]] }} {{damage= [[ 1d8 ]] }} {{note= This is some note content}} {{Saving throw= [[ @{will} ]] Will save}} {{Attack1: [[ d20cs>10+5 ]] *crit on 10+=Damage1: [[ d6+2 ]] }} {{Confirm: [[ d20+5 ]] =+ [[ d6+2 ]] ad'l dmg }} {{Attack2: [[ d20+5 ]] =Damage2: [[ d6+2 ]] }} {{Attack3: [[ d20+5 ]] =Damage3: [[ d6+2 ]] }} {{compcheck= Conc: [[ {1d20 + [[ @{concentration} ]] }>?{Concentration DC=15+Spell Level or 10+Damage Received|16} ]] }} {{succeedcheck=Success! The spell is cast!}} {{failcheck=Failure. :( }} {{notes=Additional notes under the notes tag will be at the bottom.}}
-
- This basic grey and white appearance can be used with the various templates by setting {{basicflag=true}} . There is no dividing line with this appearance flag.
-
-
+
+ All of the roll templates use the flags initflag, skillcatflag, skillflag, saveflag, abilityflag, spellflag, pcflag, npcflag, and basicflag to vary the roll template appearance. See below for more details.
+
+ The SagaBornAttack roll template allows up to 10 attacks to be displayed in the same template. If the roll for attack# results in a critical success (can set a custom value such as: [[ d20cs>18 ]] ), then critconfirm# and critdmg# will display. If the roll for attack# results in a critical failure (can set a custom value such as: [[ d20cf<2 ]] ), then fumbleroll will display.
+ To use this Roll Template to show multiple attacks, the fullattackflag must be set to [[ d1 ]] . You can use either {{fullattackflag= [[ d1 ]] }} or set it as a query {{fullattackflag= [[ ?{Full Attack? (hit space for full attack else hit return) |0}d1 ]] }} or {{fullattackflag= [[?{Full Attack?|No, 0d1|Yes, d1} ]] }} as in the example macro.
+
+
+ The npcflag sets the name and dividing line to be red. For this flag, the arrow in the dividing line points to the left.
+ Example of SagaBornAttack with {{npcflag=true}} set. This example has the fullattackflag set to d1 so it will always show the attacks. Also set to whisper to the gm for the NPC's attacks. This example compares against an AC value stored in bar2 to report success (1 hit) or failure (0 hit) of the attack.
+
+
+ The SagaBornInitiative roll template consists of name check and checkroll on the same line. Notes can be added below. There is no dividing line in this template.
+
+
+ The initflag used with SagaBornStdRoll or SagaBornAttack sets the name this same yellow and adds a thin solid yellow dividing line.
+
+
+ For the SagaBornStdRoll, the first section is a repeating section where you can give a key and a value which will be displayed in columns. Key words which cannot be used (since they are used in other parts of the template) are: notes, subtags, subtags2, compcheck, failcheck, succeedcheck, check, checkroll, critroll, fumbleroll, initflag, skillcatflag, skillflag, saveflag, abilityflag, spellflag, pcflag, npcflag, basicflag, name.
+
+ The compcheck line expects a comparison type roll [[ d20>15 ]] and will display the succeedcheck if the result is a 1 or the failcheck if the result is a 0.
+
+ The next section takes a check and checkroll and will display the critroll if the checkroll was a critical success and the fumble roll if the checkroll was a critical failure.
+
+ Any or all of the sections can be used; if you don't put in the key word, the section will not be displayed. Note that you cannot use the check keyword by itself; you must include the checkroll as well for that section to display.
+
+ Spell:
+
+
+
+
Name
+
subtags
+
subtags2
+
+
key
value
+
key
value
+
key
value
+
compcheck
succeedcheck failcheck
+
check checkroll
+
critroll fumbleroll
+
notes
+
+
+ Example macro:
&{template:SagaBornStdRoll} {{spellflag=true}} {{name= @{character_name} casts Doom on @{target|token_name} }} {{School:=Necromancy (Fear, Mind affecting)}} {{Level: =Cleric 1}} {{Comp'nts:=V, S, DF}} {{Casting Time:= 1 std action}} {{Range:= Medium ( [[ 100+10*@{casterlevel} ]] ft)}} {{Target:= 1 living creature}} {{Duration:= [[ @{casterlevel} ]] min.}} {{Saving Throw:= Will negates (DC= [[ @{spelldc1} ]] ) }} {{Spell Resist.:= Yes }} {{ Caster level check: = [[ 1d20+@{casterlevel2}+@{spellpen} ]] vs spell resistance.}} {{compcheck= Conc: [[ {1d20 + [[ @{concentration} ]] }>?{Concentration DC=15+Spell Level or 10+Damage Received|16} ]] }} {{succeedcheck=Success! She casts her spell!}} {{failcheck=She fails :( }} {{notes=Target is filled with a feeling of horrible dread that causes it to become shaken (-2 on attack rolls, saves, skill checks, ability checks).}}
+
+ The spellflag sets the dividing line to be a blue 4-pointed star pattern and the name to be blue.
+
+
+ The skillcatflag sets the dividing line to be an upward pointed arrow and both it and the name a teal color.
+
+
+
+ Basic:
+
+
+
+
Name
+
subtags
+
subtags2
+
key
value
+
key
value
+
key
value
+
compcheck
succeedcheck failcheck
+
check checkroll
+
critroll fumbleroll
+
notes
+
+
+ Example macro:
&{template:SagaBornStdRoll} {{basicflag=true}} {{name=Test Roll}} {{subtags=swinging violently}} {{subtags2=at the kitchen sink.}} {{attack= [[ 1d20 ]] }} {{damage= [[ 1d8 ]] }} {{note= This is some note content}} {{Saving throw= [[ @{will} ]] Will save}} {{Attack1: [[ d20cs>10+5 ]] *crit on 10+=Damage1: [[ d6+2 ]] }} {{Confirm: [[ d20+5 ]] =+ [[ d6+2 ]] ad'l dmg }} {{Attack2: [[ d20+5 ]] =Damage2: [[ d6+2 ]] }} {{Attack3: [[ d20+5 ]] =Damage3: [[ d6+2 ]] }} {{compcheck= Conc: [[ {1d20 + [[ @{concentration} ]] }>?{Concentration DC=15+Spell Level or 10+Damage Received|16} ]] }} {{succeedcheck=Success! The spell is cast!}} {{failcheck=Failure. :( }} {{notes=Additional notes under the notes tag will be at the bottom.}}
+
+ This basic grey and white appearance can be used with the various templates by setting {{basicflag=true}} . There is no dividing line with this appearance flag.
+