I have been contemplating using the
Speed Factor Initiative option from the D&D 5E DMG. I could use some help
in getting it to display the Action that was chosen in a dropdown
menu and still use the number value in the Initiative calculation. I would rather have a non-API solution.
I am using drop down menus to select
the PC/NPC action for the next round and an additional (optional) Speed factor. The die
roll and calculations are working properly. What is does is roll 1d20, adds the initiative bonus, a size modifer, and then user selected action and speed modifiers to the roll and adds it to the Tracker. What I would like to do
is display the selected action somewhere in the chat block. Ideally
within the flavor text. Something like “Grimlock considers his
next action: Attack - Ranged Loaded Weapon (-2)”
The macro code for selecting the action
is: ?{Which Action are you declaring?|
Attack-Melee Heavy Weapon(-2), -2| Attack-Melee Light or
Finesse Weapon(+2), 2| Attack-Melee
2-Handed Weapon(-2),-2|Attack-Ranged Loaded Weapon(-2),
-2|Attack-Ranged Loading Weapon(-5), -5|Swap Equipment(-2),
-2|Retrieve item at Hand(-2), -2|Retrieve Stowed item(-5),
-5}+#Speed_Factors I am calling the Speed_Factors macro
within the Action macro. I am only interested in this number value
for calculations, it doesn't need to display the selection.
I currently have the Initiative code as
token action on the Abilities tab of the character journal. It looks
like this: &{template:5eDefault}{{ability=1}}
{{title=Initiative}}
{{subheader=@{selected|token_name}}} {{emote=@{selected|token_name}
considers his next action. }} {{rollname=Action}} {{roll=Initiative
[[1d20 + @{selected|Initiative}+@{selected|size}+#Action_Factors
&{tracker}]]}}