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

Powercards and Initiative problem (Pathfinder sheets)

1481214479

Edited 1481214543
I am having some issues trying to set up a macro to do my charcater's initiative, as a token macro so the player's don't have to keep opening their sheets. For some reason, calling their init or even rolling for it outside of using the on sheet macros seems to roll twice or returns a wrong number. I've tried a few times, with just init, or going in and doing DEX-mod + init-trait + init-misc and it still puts on the tracker the wrong value.
1481217098

Edited 1481218315
edit: Just realized Pathfinder is a bit different.&nbsp; This is my macro for DND 5: !power {{ --tokenid|@{selected|token_id}&nbsp; --emote|@{selected|character_name} readies --format|default --name|Initiative --!Initiative|~C@{selected|character_name}: [[ [nh|trkr] 1d20 + @{selected|dexterity_mod} ]]~C }} If you look at&nbsp; <a href="https://wiki.roll20.net/Pathfinder_Character_Sheet" rel="nofollow">https://wiki.roll20.net/Pathfinder_Character_Sheet</a>... You'll see a section for initiative macros Here's one you could incorporate into powercards: &nbsp;[[ (1d20 + [[ @{init} ]][init] + [[ {(0.01 * @{init}),0}kh1 ]][tie-breaker]) &{tracker} ]] And&nbsp; %{selected|Roll-for-initiative} And you could also use&nbsp; <a href="https://wiki.roll20.net/Character_Sheets#Sheet_Rol" rel="nofollow">https://wiki.roll20.net/Character_Sheets#Sheet_Rol</a>... for sheet button rolls.&nbsp; Another option is something like this but I have no idea if it works since im not running Pathfinder: !power {{ --tokenid|@{selected|token_id}&nbsp; --emote|@{selected|character_name} readies --format|default --name|Initiative --!Initiative|~C@{selected|character_name}: [[ [nh|trkr] 1d20 + @{selected|dexmod} + @{selected|init} + { {@{selected|dexmod} + @{selected|init}} *.01} ]]~C }} Hope it helps
Grognard said: Here's one you could incorporate into powercards: &nbsp;[[ (1d20 + [[ @{init} ]][init] + [[ {(0.01 * @{init}),0}kh1 ]][tie-breaker]) &{tracker} ]] That still seems to give me the wrong result in turn order. It rolled a 12.02 and put 19.02 in the tracker. I can use the % one, it just can't be put nicely into a powercard or so it seems.
NapazTrix said: Grognard said: Here's one you could incorporate into powercards: &nbsp;[[ (1d20 + [[ @{init} ]][init] + [[ {(0.01 * @{init}),0}kh1 ]][tie-breaker]) &{tracker} ]] That still seems to give me the wrong result in turn order. It rolled a 12.02 and put 19.02 in the tracker. I can use the % one, it just can't be put nicely into a powercard or so it seems. Maybe use floor?&nbsp; <a href="https://wiki.roll20.net/Dice_Reference#Rounding_Ro" rel="nofollow">https://wiki.roll20.net/Dice_Reference#Rounding_Ro</a>... &nbsp;[[ [[floor(1d20 + [[ @{init} ]][init] + [[ {(0.01 * @{init}),0}kh1 ]][tie-breaker])]] &{tracker} ]] Sorry, i've never ran into this with the games I play.
Inline Roll Options: Add this before the die roll you want to modify and make sure there is a space between the [[ brackets and the roll option. Such as follows: [[ [NH] 1d4 + @{DEX Mod] [Dex Mod] ]] You can use multiple roll options by separating them with a vertical pipe character such as: [[ [nh|trkr] 1d20]] [TRKR] - Adds an entity to the Turn Order Tracker. If the powercard macro does not have --tokenid or --charid, it will use the Display Name of the player that triggered the macro. If you use --charid, it will look for a token that is representing the character and use that id, but fall back to the character name if there are no tokens representing the character. You can't use the built in command to add characters to initiative because of the way Powercards re-rolls all the dice inside the script using sendChat. Same reason you can't use 3D dice with Powercards.