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 .
×

Macro Optimization Question (SR5, but general knowledge applies)

Hi there. I'm currently playing in a Shadowrun 5th edition game, and I'm trying to basically make a macro for each of my mage's spells. When you cast a spell in SR5, you select a force rating to cast it at, and this changes how the spell works (how hard it can hit, how far it goes, how drained you are after casting. Is there a way for me to call a variable for force at the start of a macro, and have it carry it over automatically into spell calculations? Here's my example of what I have so far. /me casts Flamethrower at Force ?{Force|0}! /me gets [[(@{Preacher|magicresonance}d6>5+@{Preacher|Spellcasting} d6>5+?{Positive Modifiers|0}d6>5-?{Penalty|0})d6>5]] hits. Resist with Reaction+Intuition. DV= Force+Net Hits // AP=-Force. Target can soak with Body+Armor. Drain is equal to Force - 1. If there's a way to automatically carry over the force variable, it would make the macro look much cleaner and have more concise information. Thanks in advance!
Just use ?{Force|0} multiple times in the macro. As long as the name stays the same, it will only ask you a single time and use the value in every instance. Might just be ?{Force} the second time too, but I don't think it matters.
Oh, wow... that's great, let me check that out.
Quatar said: Just use ?{Force|0} multiple times in the macro. As long as the name stays the same, it will only ask you a single time and use the value in every instance. Might just be ?{Force} the second time too, but I don't think it matters. You are awesome. Thanks!