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 .
×
May your rolls be merry + bright! 🎄
Create a free account

AD&D 2.0 I have a question what needs to be changed so that the selected damage score is subtracted from the selected bar?

I have such a macro attack and effect he wants the selected damage to be subtracted from the opponent's bar  &{template:2Eattack}{{title=@{selected|token_name} USES A @{selected|repeating_weapons_$0_weapsize} SIZED @{selected|repeating_weapons_$0_weaponname} TO ATTACK @{target|token_name}}}{{ac_hit=[[@{selected|ThAC0}-((D20?{ATTACK ROLL MODIFIER|+0})+(@{selected|repeating_weapons_$0_attackadj})+(@{selected|strengthhit}*@{selected|repeating_weapons_$0_strbonus})+(@{selected|dexmissile}*@{selected|repeating_weapons_$0_dexbonus}))]]}}{{dmg_s=[[((@{selected|repeating_weapons_$0_damsm}?{DAMAGE ROLL MODIFIER|+0}))+(@{selected|repeating_weapons_$0_damadj})+(@{selected|strengthdmg}*@{selected|repeating_weapons_$0_strbonus})]]}}{{dmg_l=[[((@{selected|repeating_weapons_$0_daml}?{DAMAGE ROLL MODIFIER|+0}))+(@{selected|repeating_weapons_$0_damadj})+(@{selected|strengthdmg}*@{selected|repeating_weapons_$0_strbonus})]]}}{{crit=RollCrit}} {{fumble=fumble}} !roll20AM --access:player,play|staff   !token-mod --set bar3_value|0 statusmarkers|dead /desc It seems that @{selected|token_name} is defeated. /fx splatter-blood @{selected|token_id} @{selected|token_id} /fx glow-blood @{selected|token_id} @{selected|token_id} /fx bubbling-blood @{selected|token_id} @{selected|token_id} it is possible?
So the one small issue I'm seeing here is how would the game or macro ever know what the target is? I'm almost certain that @target doesn't really work because it would be something you have to select and you are also using @selected which is conflicting since once you click on the target it also becomes the selected. I could be wrong but this is what I see that prob doesn't work.
TheDark E. said: !token-mod --set bar3_value|0 statusmarkers|dead /desc It seems that @{selected|token_name} is defeated. /fx splatter-blood @{selected|token_id} @{selected|token_id} /fx glow-blood @{selected|token_id} @{selected|token_id} /fx bubbling-blood @{selected|token_id} @{selected|token_id} Is this part of the macro in question? IF so, looks like the target is dead...? Is this a player's macro?
1515350691
Gold
Forum Champion
I'll be interested to see how you do the target and automatic damage. I play & DM a lot of AD&D 2E on here. We use some macros, some automation, but we've been subtracting damage from the bars by-hand manually for years on Roll20. DM does it for all the monsters/enemies. Each player is responsible for subtracting damage from their own token's bar. I admit it is adding up to a lot of clicks that could probably be automated. Then again I don't really want damage against Monsters to be automated because sometimes they have a resistance that the players don't know about (for example an enemy mage with Stoneskin on). So just because the attack "hits" doesn't always mean the rolled-damage applies. Following this thread to see what you come up with and how it is received in-game when you experiment with it.