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

[Vampire The Masquerade] Thaumaturgy Macro v2

1514161860

Edited 1514444336
Hi, how about folks? Beforehand I would like to warn you that I am not fluent in English and I am using certain resources to be able to communicate here, so I will try to expose my doubts very simply so that there are no errors. Some time ago, I created a MACRO of Thaumaturgy with the help of the forum and would like to ask again for this help. This is the original MACRO: &{template:default} {{name= **Thaumaturgy** *Elemental Mastery* ?{Level|Elemental Strength,Elemental Strength}} **@{name}** *got [[@{Willpower}d10>4]] total successes in your test.*|Wooden Tongues,Wooden Tongues }} **@{name}** *got [[@{Willpower}d10>5]] total successes in your test.*|Animate the Unmoving, Animate the Unmoving}} **@{name}** *got [[@{Willpower}d10>6]] total successes in your test.*} She is exceptional, but I wish she had a choice of which thaumaturgical path the character would use. So I made this macro: ?{Path| of Blood, ?{Levels| A Taste For Blood, **@{name}** *got [[@{Willpower}d10>4]] total successes in your test.* | Blood Rage, **@{name}** *got [[@{Willpower}d10>5]] total successes in your test.* | Blood of Potency, **@{name}** *got [[@{Willpower}d10>6]] total successes in your test.* | Theft of Vitae, **@{name}** *got [[@{Willpower}d10>7]] total successes in your test.* | Cauldron of Blood, **@{name}** *got [[@{Willpower}d10>8]] total successes in your test.* } | Elemental Mastery, ?{Levels| Elemental Strength, **@{name}** *got [[@{Willpower}d10>4]] total successes in your test.* | Wooden Tongues, **@{name}** *got [[@{Willpower}d10>5]] total successes in your test.* | Animate the Unmoving, **@{name}** *got [[@{Willpower}d10>6]] total successes in your test.* | Elemental Form, **@{name}** *got [[@{Willpower}d10>7]] total successes in your test.* | Summon Elemental, **@{name}** *got [[@{Willpower}d10>8]] total successes in your test.* } } I would like the path name chosen to appear in the template, just like in the first macro shown. I tried every way and spent hours working on it, but it was in vain. Can you help me? If yes, thank you very much!
Hi Amilcar S. , Here's how I would handle this: &{template:default} {{name= **Thaumaturgy** *?{Path|    of Blood, ?{Levels|       A Taste For Blood, [A Taste For Blood](4) |       Blood Rage, [Blood Rage](5) |       Blood of Potency, [Blood of Potency](6) |       Theft of Vitae, [Theft of Vitae](7) |       Cauldron of Blood, [Cauldron of Blood](8)    } |    Elemental Mastery, ?{Levels|       Elemental Strength, [Elemental Strength](4) |       Wooden Tongues, [Wooden Tongues](5) |       Animate the Unmoving, [Animate the Unmoving](6) |       Elemental Form, [Elemental Form](7) |       Summon Elemental, [Summon Elemental](8)    } }* }} **@{name}** *got [[ @{Willpower}d10>[[?{Path} + {0}]] ]] total successes in your test.*
1514444191

Edited 1514444275
You got it in parts. Here's what the original MACRO looks like: Thaumaturgy Elemental Mastery Elemental Strength Note that in the purple template the path name and chosen level appears. And this is your MACRO. Like I said, you did it, but in parts. I would like the level name to appear in the template. Just one detail: the path name appears in the template as if it was a link and I could not fix it. However, thank you for your help,  Silvyre !
1514446782

Edited 1514446878
Try one of these modified macros, which makes reading the name of the 'path' easier: &{template:default} {{Thaumaturgy= *?{Path|    of Blood, ?{Levels|       A Taste For Blood, [A Taste For Blood](4) |       Blood Rage, [Blood Rage](5) |       Blood of Potency, [Blood of Potency](6) |       Theft of Vitae, [Theft of Vitae](7) |       Cauldron of Blood, [Cauldron of Blood](8)    } |    Elemental Mastery, ?{Levels|       Elemental Strength, [Elemental Strength](4) |       Wooden Tongues, [Wooden Tongues](5) |       Animate the Unmoving, [Animate the Unmoving](6) |       Elemental Form, [Elemental Form](7) |       Summon Elemental, [Summon Elemental](8)    } }* }} **@{name}** *got [[ @{Willpower}d10>[[?{Path} + {0}]] ]] total successes in your test.* &{template:default} {{Thaumaturgy *?{Path|    of Blood, ?{Levels|       A Taste For Blood, [A Taste For Blood](4) |       Blood Rage, [Blood Rage](5) |       Blood of Potency, [Blood of Potency](6) |       Theft of Vitae, [Theft of Vitae](7) |       Cauldron of Blood, [Cauldron of Blood](8)    } |    Elemental Mastery, ?{Levels|       Elemental Strength, [Elemental Strength](4) |       Wooden Tongues, [Wooden Tongues](5) |       Animate the Unmoving, [Animate the Unmoving](6) |       Elemental Form, [Elemental Form](7) |       Summon Elemental, [Summon Elemental](8)    } }* }} {{@{name} *got [[ @{Willpower}d10>[[?{Path} + {0}]] ]] total successes in your test.* }} I like using this "broken link" trick because it allows the simplification of otherwise complex macros. If you strongly prefer the look of the original macro, try this out: &{template:default} {{name= **Thaumaturgy** *?{Path|    of Blood, ?{Levels|       A Taste For Blood, [A Taste For Blood] (4) |       Blood Rage, [Blood Rage] (5) |       Blood of Potency, [Blood of Potency] (6) |       Theft of Vitae, [Theft of Vitae] (7) |       Cauldron of Blood, [Cauldron of Blood] (8)    } |    Elemental Mastery, ?{Levels|       Elemental Strength, [Elemental Strength] (4) |       Wooden Tongues, [Wooden Tongues] (5) |       Animate the Unmoving, [Animate the Unmoving] (6) |       Elemental Form, [Elemental Form] (7) |       Summon Elemental, [Summon Elemental] (8)    } }* }} **@{name}** *got [[ @{Willpower}d10>[[?{Path} + {0}]] ]] total successes in your test.*
This last MACRO looks like this: There is no way to remove the [] and (4)?
Amilcar S. said: ?{Path| of Blood, ?{Levels| A Taste For Blood, **@{name}** *got [[@{Willpower}d10>4]] total successes in your test.* | Blood Rage, **@{name}** *got [[@{Willpower}d10>5]] total successes in your test.* | Blood of Potency, **@{name}** *got [[@{Willpower}d10>6]] total successes in your test.* | Theft of Vitae, **@{name}** *got [[@{Willpower}d10>7]] total successes in your test.* | Cauldron of Blood, **@{name}** *got [[@{Willpower}d10>8]] total successes in your test.* } | Elemental Mastery, ?{Levels| Elemental Strength, **@{name}** *got [[@{Willpower}d10>4]] total successes in your test.* | Wooden Tongues, **@{name}** *got [[@{Willpower}d10>5]] total successes in your test.* | Animate the Unmoving, **@{name}** *got [[@{Willpower}d10>6]] total successes in your test.* | Elemental Form, **@{name}** *got [[@{Willpower}d10>7]] total successes in your test.* | Summon Elemental, **@{name}** *got [[@{Willpower}d10>8]] total successes in your test.* } } You were very close to achieving that up here. Minor alterations with HTML entities: &{template:default} {{name= **Thaumaturgy** ?{Path|    of Blood, ?{Levels|       A Taste For Blood, *A Taste For Blood*          **@{name}** *got [[ @{Willpower}d10>4 ]] |       Blood Rage, *Blood Rage*          **@{name}** *got [[ @{Willpower}d10>5 ]] |       Blood of Potency, *Blood of Potency*          **@{name}** *got [[ @{Willpower}d10>6 ]] |       Theft of Vitae, *Theft of Vitae*          **@{name}** *got [[ @{Willpower}d10>7 ]] |       Cauldron of Blood, *Cauldron of Blood*          **@{name}** *got [[ @{Willpower}d10>8 ]]    } |    Elemental Mastery, ?{Levels|       Elemental Strength, *Elemental Strength*          **@{name}** *got [[ @{Willpower}d10>4 ]] |       Wooden Tongues, *Wooden Tongues*          **@{name}** *got [[ @{Willpower}d10>5 ]] |       Animate the Unmoving, *Animate the Unmoving*          **@{name}** *got [[ @{Willpower}d10>6 ]] |       Elemental Form, *Elemental Form*          **@{name}** *got [[ @{Willpower}d10>7 ]] |       Summon Elemental, *Summon Elemental*          **@{name}** *got [[ @{Willpower}d10>8 ]]    } } total successes in your test.* }}
1514474839

Edited 1514475025
Still does not work. I tried changing it ] } | and , by shortcuts & # something;etc., but it did not work.
1514480945
GiGs
Pro
Sheet Author
API Scripter
One thing to be wary of is, whenever you reopen a macro with html replacement characters (those ones that look like this "& #124" or "& #44", with the spaces removed), those characters will be erased. This is just the way roll20 works, there's no way around it. I find it best to build and edit macros with such characetrs in a text file, then when finished, copy it into the roll20 macro window, and save the macro. Then remember, don't reopen that macro. It's a good idea to keep a copy of the original macro safe in a textfile in case you want to edit it again later.
Yes, I'm always careful about that. But thanks! :)
1514493449

Edited 1514493609
Fixed: &{template:default} {{name= **Thaumaturgy** ?{Path|    of Blood, ?{Levels|       A Taste For Blood, *A Taste For Blood* }}          **@{name}** *got [[ @{Willpower}d10>4 ]] |       Blood Rage, *Blood Rage* }}          **@{name}** *got [[ @{Willpower}d10>5 ]] |       Blood of Potency, *Blood of Potency* }}          **@{name}** *got [[ @{Willpower}d10>6 ]] |       Theft of Vitae, *Theft of Vitae* }}          **@{name}** *got [[ @{Willpower}d10>7 ]] |       Cauldron of Blood, *Cauldron of Blood* }}          **@{name}** *got [[ @{Willpower}d10>8 ]]    } |    Elemental Mastery, ?{Levels|       Elemental Strength, *Elemental Strength* }}          **@{name}** *got [[ @{Willpower}d10>4 ]] |       Wooden Tongues, *Wooden Tongues* }}          **@{name}** *got [[ @{Willpower}d10>5 ]] |       Animate the Unmoving, *Animate the Unmoving* }}          **@{name}** *got [[ @{Willpower}d10>6 ]] |       Elemental Form, *Elemental Form* }}          **@{name}** *got [[ @{Willpower}d10>7 ]] |       Summon Elemental, *Summon Elemental* }}          **@{name}** *got [[ @{Willpower}d10>8 ]]    } } total successes in your test.*
ola amigos. Sou novo e estou apanhando nas macros também. Sei que tem alguns foruns pra iniciantes, porem todos me confundem, pode me ajudar? Queria fazer uma macro para os testes de VIGOR, entre outros e aparecer em modelos. uma ágora Minha ESTA ASSIM: /roll {(@{Stamina} +0)d10s}>6f1} apenas aparece roling e os sucessos. queria uma template pra ela... obrigado
rafael r. said: ola amigos. Sou novo e estou apanhando nas macros também. Sei que tem alguns foruns pra iniciantes, porem todos me confundem, pode me ajudar? Queria fazer uma macro para os testes de VIGOR, entre outros e aparecer em modelos. uma ágora Minha ESTA ASSIM: /roll {(@{Stamina} +0)d10s}>6f1} apenas aparece roling e os sucessos. queria uma template pra ela... obrigado Olá! O fórum é totalmente em inglês, então raramente encontrará algo em português. Enfim, referente ao template: use esse código: &{template:default} {{name= Ação}} Eu já fiz uma MACRO de vigor, então lá vai a minha: &{template:default} {{name= **Vigor**}} **@{name}** *obteve [[ (@{Stamina} + @{Health} + ?{Modificador|0})d10>?{Dificuldade|6} ]] sucessos em seu teste.*