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

Non-API 1e Attack Macro?

Hello there! Don't know if this has been done already, if so, I can't seem to find it. I want to automate an attack macro that allows my players (as a token action) to click on their token, roll an attack, click on a target, and have the result let them know if it's a hit or a miss without revealing the target's AC. I don't have Mentor status, so I can't use API. This is what I'm using now: @{selected|token_name} attacks @{target|token_name}, rolling [[1d20+?{modifier|0}+@{selected|MeleeBonus|0}]] vs AC @{target|ArmorClass}! So this rolls the attack, and then the target's AC comes up in the chat window, just for quick reference for me, but then I'm still having to look it up on the attack matrix table (using the OSRIC rules for to-hit tables). I'm using OSRIC, so I don't want the answer, "just use 2e, and it will work." If the answer for 1e is "it can't be done," then so be it. I was just wondering if it's possible. Thanks (in advance) for your constructive input.
Not possible. And even then... after a few attacks, the player is going to know the AC anyway.
Try this one: /em @{selected|token_name} attacks @{target|token_name} hits AC: [[@{selected|bar3} - (1d20 + ?{To Hit Adl|0} + ?{Magic Adj|0})]] /w GM @{target|token_name}'s AC: @{target|bar2} This sends the Target AC to the GM, the player will find out the AC, but it is fast and easy. NB I use Bar 2 for AC and Bar 3 for THAC0, so you may have to change some of the macro to fit your setup.
Thanks al, I'll test it out. Does this work for negative ACs as well?
Ok, that seems to work, until we get into that area where a 20 hits several ACs (i.e., when a 1st level fighter attacks AC0 through AC-5), is there a workaround for this?