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

Crimson Rite(Blood Hunter) Macro help

1705476266

Edited 1705476314
I'm trying to set up the 2022 version of blood hunter's crimson rite as a button with my attacks(Put image for example) so I can click it and have it roll my crimson rite damage, I have it set up in my abilities, but I'm struggling to get the code to work how I'd like it to. If not possible to get the dice to change automatically depending on my level(from d4 to d6 at level 5 for example) I'd like to set up a query instead with the different dice options, d4, d6, d8, and d10, as well as, my subclass is ghostslayer, So i'd like a query in it to ask whether the target is undead or not, and if so, to roll those dice options again. Can anyone help?   
1705476861

Edited 1705476891
Gauss
Forum Champion
Hi Dex,  People aren't necessarily going to be familiar with the references you mention, but if you elaborate on what levels the dice change at, what other factors you need etc this is probably doable.   Example:  level 1: d4 level 5: d6 level ?: d? and so on.  What happens if the target is undead?  Also, which character sheet are you using? If you don't know please supply a screenshot. 
Hey Dex, Since you are a Pro subscriber, do you use API Mods? If so, and you are open to it, this can be automated into a macro using  ScriptCards Mod/API script . ScriptCards can check the level and adjust dice accordingly, it can also check the target's type aka Undead and adjust accordingly. In face,  the ScriptCards wiki  contains an example for D&D 5e Divine Smite that checks if the target is a fiend or undead. I mention that as an option but other options are available to you. Let me know if you would like help crafting a ScriptCard option for this.
1705511882

Edited 1705511898
Gauss said: Hi Dex,  People aren't necessarily going to be familiar with the references you mention, but if you elaborate on what levels the dice change at, what other factors you need etc this is probably doable.   Example:  level 1: d4 level 5: d6 level ?: d? and so on.  What happens if the target is undead?  Also, which character sheet are you using? If you don't know please supply a screenshot.  I'm using the D&D 5e character sheet, the dice changes from d4 at level 5 to d6, at level 11 it changes to d8, at level 17 it changes to d10. If the target is undead, it rolls 1 extra die of that type.
Joshua N. said: Hey Dex, Since you are a Pro subscriber, do you use API Mods? If so, and you are open to it, this can be automated into a macro using  ScriptCards Mod/API script . ScriptCards can check the level and adjust dice accordingly, it can also check the target's type aka Undead and adjust accordingly. In face,  the ScriptCards wiki  contains an example for D&D 5e Divine Smite that checks if the target is a fiend or undead. I mention that as an option but other options are available to you. Let me know if you would like help crafting a ScriptCard option for this. Unfortunately not an option currently. I'm a player in the game I'm trying to get this working on, just trying to make things a bit easier on myself
1705513484

Edited 1705513573
Gauss
Forum Champion
Here you go Dex:  ?{Undead?|No,1|Yes,2}d[[4 + {@{level},0}>5*2 + {@{level},0}>11*2 + {@{level},0}>17*2]] You can put that in the damage line of any attack, or in the Global Damage Modifier section. 
Gauss said: Here you go Dex:  ?{Undead?|No,1|Yes,2}d[[4 + {@{level},0}>5*2 + {@{level},0}>11*2 + {@{level},0}>17*2]] You can put that in the damage line of any attack, or in the Global Damage Modifier section.  Awesome! thank you!