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

Attack Macro Help- This macro stopped working. nothing changed??

I have used this macro for the last two episodes without any issues and tonight I was testing some attacks due to players leveling up and targeting of token isn't working. Here is the macro I have been using: /em Kira Steadies her Crossbow and Lets One Fly! /roll 1d20 +@{Dex Mod} vs @{target|Name}'s @{target|AC} AC [[d8]] Damage! What would cause this not to work? When I use it, I get the Choose Target: Target , "Click on a token on the screen to choose a target" but when I try to select the token I get nothing. Bobby
1421811954
Gen Kitty
Forum Champion
Try this instead @target|Foe|token_name} and @{target|Foe|AC} -- This tells the system you want the same target for both, and should also fix your issue at the same time.
1421812385

Edited 1421812548
Gen, Thanks I will test this. Is there any reason that it stopped working. I have al of my characters attacks and other actions set up this way? just curious if there is a way around having to change all of them. I think there is something wrong on gaming side as this does the same. The cursor turns into a + but does not select.
Shouldn't need to add the Foe in there because if there is nothing delegating different targets (e.g.: Foe1, Foe2), it defaults to only asking once and assumes you only have one target. If it does work by doing that, something is very... off. However, @{Dex Mod} is a bit odd. Typically fields are labeled with an underscore, if there would be a space. Blank spaces generally cause visual web languages to freak out. Whether it does here or not, is beyond me. While it shouldn't matter, switch @{target|Name} to @{target|token_name}. I'd also verify the name of the Dex Mod field, contains the space. Are you using a community character sheet? If so, which one? Otherwise, I'm clueless as to why it wouldn't work myself. I checked it on my own 5e, changing the attribute names to those names appropriate to what I have there (i.e.: dexterity_mod} and Name to token_name, and it worked fine. Granted, the AC marker printed out the entire dog gone calculation for it because I forgot to [[ ]] it to perform the calculation and spit out the number only, but still.
Sean, I do not use a premade character sheet. i created my own however I use the abilities fields to set my data to draw from. My Dex mod is set that way in all of my sheets. It has been working great for me and tonight it stopped. All I did was add a couple of new attacks for a couple of players. i went to test there attack and it did not work so i decided to test all of them and as I stated, none of them worked. Is there a way to diagnose this?
Update....The Gods have spoken....It started working for no apparent reason... Thanks for the help guys...Anyone no how to make the Whisper macro work?
Since you said they leveled up, is it possible that "Dex Mod" had a +3 instead of just a 3 in it? For some reason ++3 (or another number) results in the entire roll not working.
If you're on Dev, there was an issue around this time for a bit where 3D Dice weren't working...my guess is you are and that's what it was. As you said, it was fixed shortly after it started. Sorry for the trouble.
Sometimes the D.S. goes a tad loopy, it is like the old Ephraim Zimblist line "If you are on the edge you see things that the others don't see, but you also sometimes see things that are not there..."
I was on Dev Server. Al e - Funny.