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

Macros that allow to select a target and impose to-hit and damage based on the target token

First Question:  I noted that there are target select macros, but unsure if we have anything that if you roll a "to-hit" that cross-references defensive values used on said target,and can then first detemine if the target is hit.  (Lookup values for attacker's attack values and modifying by both the target's defense values and whatever the GM may assign as mods.)

Example:

Hero system uses OCV from the attacker and DCV from the target to modify the roll to-hit, as well as any GM-based mods...formula is as follows:

(AttackersOCV + 11 - 3d6 - TargetsDCV) > 0 is a hit

Alternatively, they calculate it as:

AttackersOCV + 11 - 3d6 = Minimum TargetsDCV that is hit....

Denoted this way on the macro:     [[@{OCV}+1+11+2-3d6]]- DCV  (In the game .. note it does not "subtract" DCV, but shows the value for optional positive vs. negative DCV values.

Either way, is there a method to include the target's DCV value and also provision a GM mod to determine the hit on a character.


Second question:  Once the character is hit, there is calculated BODY and STUN damage (I'm asking in a different post for calculations on these) that the target endures.  There are a set of potential oppositional elements that can help determine if a target receives damage or not.  Again, if there is a means of looking up the target's mods through Stats or abilities...

June 24 (9 years ago)

Edited June 24 (9 years ago)
These might help:
Silvyre:
Thank you sir...I'll look into this...not sure if the 'target' keyword would fuly apply...

July 01 (9 years ago)
Hey Jujitsu,

Here is a copy of my generic Strike Combat Maneuver macro for the HERO System:

/emas @{selected|token_name} attempts a STRIKE attack on @{target|token_name} with his ?{Weapon Used}!
**Strike Combat Maneuver:** 1/2 Phase; OCV +0; DCV +0; STR +0 Dmg/Strike +0 DC; END [[@{CEND}+1]].
/r 11+@{OCV}+?{Attack Modifier|0} -3d6 vs. @{target|token_name}'s DCV @{target|DCV}.
/r ?{Number of Dice|1}d?{Type of Die|6}+?{Damage Modifier|0} | STUN & (x) BODY Damage
**Random Location:**
/r 3d6
/fx glow-blood @{target|token_id}
/emas @{selected|token_name} is currently DCV [[{@{DCV}+0,0}kh1]]!


This is macro is written so that you can use any token as a NPC.  You have to slightly modify it if you want to make it for a Player Character.  This is a non-API macro.  

I leave the rolls visible an not inline because the STUN & BODY damage have to be calculated.  Unfortunately, without API there is no way to write a macro that calculates the BODY damage from the STUN dice.
Drohem:

If possible, could we walk through this online?

I have my game Epic Multiverse that I'm working on and it would be a good "scratchpad" area to test this out on.

Let me know and I can arrange a schedule

MapTool had a bunch of neat macros for it, such as attack rolls as well as even things like teleport pads and other special affects...I was thinking to see if I could transcode/translate them into Roll20's formats and provide that as a global macro for anyone to use.

Best regards...

Chuck D. aka "Jujitsuguy"
August 12 (9 years ago)
Gentlemen:

Been a while, but we settled BODY/STUN damage in terms of two rolls...one for BODY and another for STUN.

Not a bad alternative...we are using it reasonably...

I'm still looking to implement your suggestions...

Best regards...

Chuck D. aka "Jujitsuguy"