Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

Token Action Maker Help

So, I have installed and I am using Token Action maker for both my NPC's and for my players to utilize but I have noticed that the api seems to roll WAY to many dice for each ability/action.  For example, my mage player uses her button to cast Burning Hands at lvl 1 it should do a 3d6 roll.  Per the chat, when i mouse over the spell as displayed the numbers appear correct but the system animates 6D6 worth of dice.  The api code created in the button is thus: %{-MRKzlcmKgZvMczsBj1f|repeating_attack_-MRSQLmUL-GXaZWX9kV8_attack} I don't see know where to begin to determine the number of dice to animate is indicated to even correct this. Now I know I said that when I mouse over the chat indicator of what has happened it is correct but the fact that it doesn't match the animation bugs me to no end. lol If anyone can point me to where I can learn the coding to make these changes that would be great.  If this is an unintended happening with the API and the correction has to be made within the API script itself then that would be good to hear as well.
1615584914
Kraynic
Pro
Sheet Author
If you roll it from the sheet, does it do the same thing?&nbsp; If it is possible for something to crit, the macro will roll all the dice (normal and crit damage), but the roll template logic will only display the crit damage in chat if a crit actually happened.&nbsp; This is normal for how 3D dice (display all dice rolled) and roll templates (hide some of the chat text if it isn't needed) work. <a href="https://wiki.roll20.net/3D_Dice#3D_Dice_and_Roll_Templates" rel="nofollow">https://wiki.roll20.net/3D_Dice#3D_Dice_and_Roll_Templates</a>
1615591009
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Yes, as Kraynic says, this is the normal behavior and one of the main functions of Roll templates. All dice have to be rolled, needed or not; there are no conditional dice. Roll templates know how to display only the relevant rolls, but 3d Dice are "dumb"—they can only display what was actually thrown.