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

Star Wars Saga Macro

Hullo. I'm trying to make a Macro for my Jedi in Star Wars Saga. The Macro I'm currently working on will simulate the Force Power Battle Strike. The steps are thus: My character rolls his skill check Use The Force If the result is 15-19, he get's to add a +1 Force Bonus to his eventual attack roll and 1d6 of damage to his eventual damage roll. If the result is 20-24, he get's to add a +1 Force Bonus to his eventual attack roll and 2d6 of damage to his eventual damage roll. If the result is 25 and above, he get's to add a +1 Force Bonus to his eventual attack roll and 3d6 of damage to his eventual damage roll. I want to use a Template to contain the activity, and I did some research into the roll templates. Here's what I came up with: &{template:default} {{name=Battle Strike}} {{Use The Force Check=[[1d20+@{Darius|UseTheForce}+?{Fool's Luck|0}]]}} {{#rollBetween() Use The Force Check 15 19}} {{Damage=[[1d6]]}} {{/rollBetween() Use The Force Check 15 19}} {{#rollBetween() Use The Force Check 20 24}} {{Damage=[[2d6]]}} {{/rollBetween() Use The Force Check 20 24}} {{#rollGreater() Use The Force Check 25}} {{Damage=[[3d6]]}} {{/rollGreater() Use The Force Check 25}} Battle Strike Use The Force Check 19 #rollBetween() Use The Force Check 15 19 Damage 12 /rollBetween() Use The Force Check 15 19 #rollBetween() Use The Force Check 20 24 /rollBetween() Use The Force Check 20 24 #rollGreater() Use The Force Check 25 /rollGreater() Use The Force Check 25 The numbers vary, but the Damage always rolls 3d6, no matter what number the UTF Check turns up, and the Helper Functions aren't hidden at all Any ideas on what I'm doing wrong?
1435184100
Diana P
Pro
Sheet Author
The helper functions are for writing the html code for custom roll templates; they don't work in the default template. To use custom roll templates requires a mentor subscription as they go in the area for custom character sheets in the campaign. As a result, I believe your macro sees the damage listed 3 times and is just giving you the last one since it doesn't know how to deal with the duplications. Hope that helps.
1435194231

Edited 1435195097
Alicia
Sheet Author
Unfortunately at this time I can't think of a good way to add a template to the current sheet to make this even possible. If another author who has more knowledge about how to make this happen for other use cases otherwise I don't see the point of adding a whole new rollTemplate just for BattleStrike, though I know most Force Powers have the DC variable results to work with (Additionally, I have added SagaDefault template which is formatted like to other sheet templates but allows you to do the same thing as default. Check out the wiki for details It's part of the latest update so make sure you're sheet is dated for June 22.)
1435406425

Edited 1435407975
Alicia
Sheet Author
Look at what I have in testing: That format will be created using a macro such as &{template:sagadefault} {{header=Move Object}} {{subheader=Use the Force v. Will if object resists, hurl or drop object v. target's Ref Def, both take damage}} {{type=power}} {{skillname=Use the Force}} {{skillcheck=%{Flauklo Emizod|UtF-FP}}} {{less15=Nothing happens!}} {{more35=Move up to colossal object, [[10d6]] damage}} {{15=Move up to medium object, [[2d6]] damage}} {{20=Move up to large object, [[4d6]] damage}} {{25=Move up to huge object, 6d6 damage}} {{30=Move up to gargantuan object, 8d6 damage}} {{Note=Moving or hovering target opposes Use the Force with a grapple check}} {{Force Point= to increase max size of object one category and +[[2d6]] dam (max 12d6)}} {{Destiny Point= to increase max size three categories and +[[6d6]] dam (max 16d6)}} {{Unleashed= if you hurl an object into another object multiply damage by 2}} It's dynamic enough to work with Starship Maneuvers as well.
1435408651
Wes
Pro
Sheet Author
**Looks over shoulder to see where the Large Object came from**
1435408799
Alicia
Sheet Author
Wes said: **Looks over shoulder to see where the Large Object came from** See what you encouraged! :P