
My friend has his own homebrew game system and he doesn't use "Initiative" to determine turn order in combat. How do we add a field from our custom character sheet into the turn tracker? New api, macro, hack into the Turn Tracker somehow?
Help!
My friend has his own homebrew game system and he doesn't use "Initiative" to determine turn order in combat. How do we add a field from our custom character sheet into the turn tracker? New api, macro, hack into the Turn Tracker somehow?
Help!
I've got a 13th Age Glorantha monster that doesn't roll for Initiative, so I did it like this:
/w gm &{template:default} {{name= @{selected|token_name} }} {{Initiative= [[ @{npc_Initiative} &{tracker} ]] }}
But my friend's game system actually has a "Quickness" stat that works like initiative. How do we tell Roll20 to send that roll to the turn tracker?
Stat or roll? If it is a stat, then Andrew showed you how it could be done. Just insert the attribute you are using in place of the npc-Initiative. If it is a roll, then the dice roll (+ any modifiers if needed) in in that same place using the inline roll syntax: [[dice roll formula here]]
It would be helpful if you would post the exact macro you are using. Then we don't have to guess whether you are using a roll, or a stat, or a roll + stat.
We could probably get you set up if you gave us that much.
/w gm &{template:default} {{name= @{selected|token_name} }} {{Initiative= [[ @{&{template:ability} {{type=[[0d0+@{character_type}]]}} {{name= @{character_name}}} {{check=[[d20]]}} {{ability=Celerity}} {{Failure=[[ceil(((@{ww-celerity} + @{ge-celerity} + @{aug-celerity})/(@{inept-tog}+1))/2)-abs(@{total_penalty})]]}} {{Strained=[[?{Circumstantial Modifier|0}+ceil((@{ww-celerity} + @{ge-celerity} + @{aug-celerity})/(@{inept-tog}+1))-abs(@{total_penalty})]]}} {{Gear=[[?{Circumstantial Modifier|0}+ceil((@{ww-celerity} + @{ge-celerity} + @{ge-celerity} + @{aug-celerity})/(@{inept-tog}+1))-abs(@{total_penalty})]]}} {{Aid=[[?{Circumstantial Modifier|0}+ceil((@{ww-celerity} + @{ge-celerity} + @{aug-celerity})/(@{inept-tog}+1))-abs(@{total_penalty})]]}} {{Analyst=[[?{Circumstantial Modifier|0}+ceil((@{ww-celerity} + @{ge-celerity} + @{aug-celerity} + @{edge-analyst})/(@{inept-tog}+1))-abs(@{total_penalty})]]}} {{Subtlety=[[?{Circumstantial Modifier|0}+ceil((@{ww-celerity} + @{ge-celerity} + @{aug-celerity} + @{edge-subtlety})/(@{inept-tog}+1))-abs(@{total_penalty})]]}} {{Development=[[?{Circumstantial Modifier|0}+ceil((@{ww-celerity} + @{ge-celerity} + @{aug-celerity} + @{edge-development})/(@{inept-tog}+1))-abs(@{total_penalty})]]}} {{Genius=[[?{Circumstantial Modifier|0}+ceil((@{ww-celerity} + @{ge-celerity} + @{aug-celerity} + @{edge-genius})/(@{inept-tog}+1))-abs(@{total_penalty})]]}} {{Strategy=[[?{Circumstantial Modifier|0}+ceil((@{ww-celerity} + @{ge-celerity} + @{aug-celerity} + @{edge-strategy})/(@{inept-tog}+1))-abs(@{total_penalty})]]}} {{Fervor=[[?{Circumstantial Modifier|0}+ceil((@{ww-celerity} + @{ge-celerity} + @{aug-celerity} + @{edge-fervor})/(@{inept-tog}+1))-abs(@{total_penalty})]]}} {{Degree=[[?{Circumstantial Modifier|0}+ceil((@{ww-celerity} + @{ge-celerity} + @{aug-celerity} + @{degree})/(@{inept-tog}+1))-abs(@{total_penalty})]]}}} &{tracker} ]] }}
Ok, the first thing I see is that you are trying to call a roll template inside another roll template. You can't use the default template and be trying to call the ability roll template inside of it. You need to pick a template and use only one for each macro you create. It also looks like the only thing that is actually going to the initiative tracker is contained in the Degree section of that roll. Every set of {{ }} in the default template is a new line that is self contained and has nothing to do with anything in previous lines. And even within the Degree section, there seem to be some floating curly and square brackets that aren't closing off an earlier set from within that line. Every sort of bracket {,[, ( has to be set up with the same number of opening and closing singles or sets. If you just run the Degree section (I think I edited it to have the same number of opening and closing brackets), does it work?
&{template:default} {{name= @{selected|token_name}}} {{Degree=[[?{Circumstantial Modifier|0}+ceil((@{ww-celerity}+@{ge-celerity}+@{aug-celerity} + @{degree})/(@{inept-tog}+1))-abs(@{total_penalty}) &{tracker} ]] }}
If the initiative line is supposed to be what is going to the tracker, then is character_type a number? If so, then that could be:
&{template:default} {{name= @{selected|token_name}}} {{Initiative= [[@{character_type}&{tracker}]]}}
If character_type isn't a number, then it shouldn't be being sent to the tracker.
If all of what is in your post is supposed to be part of the initiative roll, then it all has to be one calculation on one line with the &{tracker} call at the end.
So there are 2 d20s being rolled? 1 for celerity and one for your character type? If that is right, could the person running the game create rollable tables for each character type so that you could roll on those directly instead of having to roll a d20 and then consult a table? If it just gives a numerical result based on your character type, then it should be possible to create rollable tables for each character type, and then create an initiative macro for each character type (or maybe a query to select the correct rollable table). Otherwise, this may require a macro that rolls on the table, and then a totally separate roll that rolls everything else and asks for the character type table input.