Brenoxx said: Craven . said: Andres D. said: Sky said: Kyle G. said: Kevin, here is the macro that I use for npc saving throws. It DOES take into account whether the mook has the saving throw set and defaults to the base stat if not set. @{wtype} &{template:default}{{name=Saving Throws}}{{Str Save =[[1d20+[[@{npcd_str_mod}*{1@{npc_str_save}0,0}=10+0@{npcd_str_save}]]]]|[[1d20+[[@{npcd_str_mod}*{1@{npcd_str_save}0,0}=10+0@{npcd_str_save}]]]] }} {{Dex Save =[[1d20+[[@{npcd_dex_mod}*{1@{npc_dex_save}0,0}=10+0@{npcd_dex_save}]]]]|[[1d20+[[@{npcd_dex_mod}*{1@{npcd_dex_save}0,0}=10+0@{npcd_dex_save}]]]] }} {{Con Save =[[1d20+[[@{npcd_con_mod}*{1@{npc_con_save}0,0}=10+0@{npcd_con_save}]]]]|[[1d20+[[@{npcd_con_mod}*{1@{npcd_con_save}0,0}=10+0@{npcd_con_save}]]]] }} {{Int Save =[[1d20+[[@{npcd_int_mod}*{1@{npc_int_save}0,0}=10+0@{npcd_int_save}]]]]|[[1d20+[[@{npcd_int_mod}*{1@{npcd_int_save}0,0}=10+0@{npcd_int_save}]]]] }} {{Wis Save =[[1d20+[[@{npcd_wis_mod}*{1@{npc_wis_save}0,0}=10+0@{npcd_wis_save}]]]]|[[1d20+[[@{npcd_wis_mod}*{1@{npcd_wis_save}0,0}=10+0@{npcd_wis_save}]]]] }} {{Cha Save
=[[1d20+[[@{npcd_cha_mod}*{1@{npc_cha_save}0,0}=10+0@{npcd_cha_save}]]]]|[[1d20+[[@{npcd_cha_mod}*{1@{npcd_cha_save}0,0}=10+0@{npcd_cha_save}]]]]
}} We shouldn't have to make those kinds of macros in the first place. %{selected|npc_str_save} should simply just work out of the box. Kyle G., thank you for the macro. It works great. Developers, I came here today to post exactly what Kevin already posted. Luckily, I read the last couple of pages since I last posted in this thread and found Kevin's question and Kyle's response. I would like to echo Sky's comment, that it would be nice if %{selected|npc_str_save} or some other reference to the sheet could roll saves taking into account both the ability modifier and if the creature has proficiency in the save. Thank you. Andy Working for me. As you can is the Orc War Chief has a +6 Str Save and I rolled a 20. How can I use it in a token/macro bar? If I just paste it as a macro and select a token it says "TypeError: Cannot read property 'substring' of undefined". If I paste it as an ability it works okay, but I'd rather have a generic macro than copy it for each npc sheet. I tried to use "selected|" after each @{ but it won't work. As you can see, I'm not very smart about macro editing! %{selected|npc_str_save} is the only thing you need in the macro and this only works for NPC not the PC sheet. You could make macros called NPCStr NPCDex NPC... then make a nested macro to call the right macro. The save Macro i use works for both NPC and PC so I only have 1 and I set it to show as token and all players so everyone uses it. You can create a second one and add /w GM for your use so player don't see the roll but in my game I let them see most rolls but not all. Remove the spaces in all the & # 125 ; I had to add them so the chat didn't remove them
&{template:simple} {{always=1& # 125 ;& # 125 ;
?{Ability| Strength Save, {{rname=Strength Save& # 125 ;& # 125 ;
{{mod=[[ [[@{selected|strength_save_bonus}]] [Stength Modifier + Proficency
Bonus]@{selected|globalsavingthrowbonus} ]]& # 125 ;& # 125 ; {{r1=[[
1d20@{selected|halflingluck} + [[@{selected|strength_save_bonus}]] [Strength
Modifier + Proficiency Bonus]@{selected|globalsavingthrowbonus} ]]& # 125
;& # 125 ; {{r2=[[ 1d20@{selected|halflingluck} +
[[@{selected|strength_save_bonus}]] [Strength Modifier + Proficiency Bonus]@{selected|globalsavingthrowbonus}
]]& # 125 ;& # 125 ; | Dexterity Save, {{rname=Dexterity Save& #
125 ;& # 125 ; {{mod=[[ [[@{selected|dexterity_save_bonus}]] [Dexterity
Modifier + Proficency Bonus]@{selected|globalsavingthrowbonus} ]]& # 125
;& # 125 ;{{r1=[[ 1d20@{selected|halflingluck} +
[[@{selected|dexterity_save_bonus}]] [Dexterity Modifier + Proficiency
Bonus]@{selected|globalsavingthrowbonus} ]]& # 125 ;& # 125 ; {{r2=[[
1d20@{selected|halflingluck} + [[@{selected|dexterity_save_bonus}]] [Dexterity
Modifier + Proficiency Bonus]@{selected|globalsavingthrowbonus} ]]& # 125
;& # 125 ; | Constitution Save, {{rname=Constitution Save& #
125 ;& # 125 ; {{mod=[[ [[@{selected|constitution_save_bonus}]]
[Constitution Modifier + Proficency Bonus]@{selected|globalsavingthrowbonus} ]]&
# 125 ;& # 125 ; {{r1=[[ 1d20@{selected|halflingluck} +
[[@{selected|constitution_save_bonus}]] [Constitution Modifier + Proficiency
Bonus]@{selected|globalsavingthrowbonus} ]]& # 125 ;& # 125 ; {{r2=[[
1d20@{selected|halflingluck} + [[@{selected|constitution_save_bonus}]] [Constitution
Modifier + Proficiency Bonus]@{selected|globalsavingthrowbonus} ]]& # 125
;& # 125 ; | Intelligence Save, {{rname=Intelligence Save& # 125 ;&
# 125 ; {{mod=[[ [[@{selected|intelligence_save_bonus}]] [Intelligence Modifier
+ Proficency Bonus]@{selected|globalsavingthrowbonus} ]]& # 125 ;& #
125 ; {{r1=[[ 1d20@{selected|halflingluck} +
[[@{selected|intelligence_save_bonus}]] [Intelligence Modifier + Proficiency
Bonus]@{selected|globalsavingthrowbonus} ]]& # 125 ;& # 125 ; {{r2=[[
1d20@{selected|halflingluck} + [[@{selected|intelligence_save_bonus}]]
[Intelligence Modifier + Proficiency Bonus]@{selected|globalsavingthrowbonus}
]]& # 125 ;& # 125 ; | Wisdom Save, {{rname=Wisdom Save& # 125
;& # 125 ; {{mod=[[ [[@{selected|wisdom_save_bonus}]] [Wisdom Modifier +
Proficency Bonus]@{selected|globalsavingthrowbonus} ]]& # 125 ;& # 125
; {{r1=[[ 1d20@{selected|halflingluck} + [[@{selected|wisdom_save_bonus}]]
[Wisdom Modifier + Proficiency Bonus]@{selected|globalsavingthrowbonus} ]]&
# 125 ;& # 125 ; {{r2=[[ 1d20@{selected|halflingluck} + [[@{selected|wisdom_save_bonus}]]
[Wisdom Modifier + Proficiency Bonus]@{selected|globalsavingthrowbonus} ]]&
# 125 ;& # 125 ; | Charisma Save, {{rname=Charisma Save& # 125 ;& #
125 ; {{mod=[[ [[@{selected|charisma_save_bonus}]] [Charisma Modifier +
Proficency Bonus]@{selected|globalsavingthrowbonus} ]]& # 125 ;& # 125
; {{r1=[[ 1d20@{selected|halflingluck} + [[@{selected|charisma_save_bonus}]]
[Charisma Modifier + Proficiency Bonus]@{selected|globalsavingthrowbonus} ]]&
# 125 ;& # 125 ; {{r2=[[ 1d20@{selected|halflingluck} + [[@{selected|charisma_save_bonus}]]
[Charisma Modifier + Proficiency Bonus]@{selected|globalsavingthrowbonus} ]]&
# 125 ;& # 125 ;} @{selected|charname_output}