
A while back I got help with this macro to roll random element from a modified Chaos Bolt spell made into a magic item crossbow bolt that replicated it's self making unlimited ammo. I have no idea if it can be converted to 2024 sheet as they have not added a lot of commands back. I can't use any API so this has to stay a scripted version. This macro is meant to roll 3d8 and take the first 1d8 and say what number it is for this chart: 1-Acid, 2-Cold, 3-Fire, 4-Force, 5-Lightnings, 6-Poison, 7-Psychic, 8-Thunder. Were using 2024 sheets now so if this can't be converted that fine. The less issues with the 2024 sheet in our game is worth losing this macro if I have to lol. Still any help to remake this for 2024 sheet would be greatly apricated. It is so much easier having the element type come up vs having to look at the damage and see what the first 1d8 roll was to tell type of damage. If someone knows an alternate way to do this as well for 2024 that would be great too. Thx for any help. Here it is. This goes under the Weapons description: }} {{rname=[Mech Crossbow + Chaos Bolt](!/&NewLine; &percnt;{@{character_name}|mc+chaosbolt})}} {{rnamec=[Mech Crossbow + Chaos Bolt](!/&NewLine; &percnt;{@{character_name}|mc+chaosboltcrit}) The following two under Abilities: mc+chaosbolt &{template:default} {{name=[x](<a href="https://files.d20.io/images/436498312/Ot9RmFhRxAnVhGoPlGbKKw/original.jpg" rel="nofollow">https://files.d20.io/images/436498312/Ot9RmFhRxAnVhGoPlGbKKw/original.jpg</a>) [ ](#" hidden null=) }} {{[0]=[ ](#" hidden null=) }} {{[1]=[[1+1d8cs=1cf<0+1d8cs>7cf<0+@{intelligence_mod}[INT]+3[MAGIC]]] Acid Damage! [ ](#" hidden null=) }} {{[2]=[[2+1d8cs=2cf<0+1d8cs>7cf<0+@{intelligence_mod}[INT]+3[MAGIC]]] Cold Damage! [ ](#" hidden null=) }} {{[3]=[[3+1d8cs=3cf<0+1d8cs>7cf<0+@{intelligence_mod}[INT]+3[MAGIC]]] Fire Damage! [ ](#" hidden null=) }} {{[4]=[[4+1d8cs=4cf<0+1d8cs>7cf<0+@{intelligence_mod}[INT]+3[MAGIC]]] Force Damage! [ ](#" hidden null=) }} {{[5]=[[5+1d8cs=5cf<0+1d8cs>7cf<0+@{intelligence_mod}[INT]+3[MAGIC]]] Lightning Damage! [ ](#" hidden null=) }} {{[6]=[[6+1d8cs=6cf<0+1d8cs>7cf<0+@{intelligence_mod}[INT]+3[MAGIC]]] Poison Damage! [ ](#" hidden null=) }} {{[7]=[[7+1d8cs=7cf<0+1d8cs>7cf<0+@{intelligence_mod}[INT]+3[MAGIC]]] Psychic Damage! [ ](#" hidden null=) }} {{[8]=[[8+1d8cs=8cf<0+1d8cs>7cf<0+@{intelligence_mod}[INT]+3[MAGIC]]] Thunder Damage! [ ](#" hidden null=) }} {{[[[1d8-1]]]=[ ](#) }} mc+chaosboltcrit &{template:default} {{name=[x](<a href="https://files.d20.io/images/436498312/Ot9RmFhRxAnVhGoPlGbKKw/original.jpg" rel="nofollow">https://files.d20.io/images/436498312/Ot9RmFhRxAnVhGoPlGbKKw/original.jpg</a>) [ ](#" hidden null=) }} {{[0]=[ ](#" hidden null=) }} {{[1]=[[1+1d8cs=1cf<0+1d8cs>7cf<0+@{intelligence_mod}[INT]+3[MAGIC]]] Acid Damage! [ ](#" hidden null=) }} {{[2]=[[2+1d8cs=2cf<0+1d8cs>7cf<0+@{intelligence_mod}[INT]+3[MAGIC]]] Cold Damage! [ ](#" hidden null=) }} {{[3]=[[3+1d8cs=3cf<0+1d8cs>7cf<0+@{intelligence_mod}[INT]+3[MAGIC]]] Fire Damage! [ ](#" hidden null=) }} {{[4]=[[4+1d8cs=4cf<0+1d8cs>7cf<0+@{intelligence_mod}[INT]+3[MAGIC]]] Force Damage! [ ](#" hidden null=) }} {{[5]=[[5+1d8cs=5cf<0+1d8cs>7cf<0+@{intelligence_mod}[INT]+3[MAGIC]]] Lightning Damage! [ ](#" hidden null=) }} {{[6]=[[6+1d8cs=6cf<0+1d8cs>7cf<0+@{intelligence_mod}[INT]+3[MAGIC]]] Poison Damage! [ ](#" hidden null=) }} {{[7]=[[7+1d8cs=7cf<0+1d8cs>7cf<0+@{intelligence_mod}[INT]+3[MAGIC]]] Psychic Damage! [ ](#" hidden null=) }} {{[8]=[[8+1d8cs=8cf<0+1d8cs>7cf<0+@{intelligence_mod}[INT]+3[MAGIC]]] Thunder Damage! [ ](#" hidden null=) }} {{[[[1d8-1]]]=[ ](#) }} {{ [0]=[ ](#" hidden null=) }} {{ [1]=[[1+1d8cs=1cf<0+1d8cs>7cf<0]] Critical Damage! [ ](#" hidden null=) }} {{ [2]=[[2+1d8cs=2cf<0+1d8cs>7cf<0]] Critical Damage! [ ](#" hidden null=) }} {{ [3]=[[3+1d8cs=3cf<0+1d8cs>7cf<0]] Critical Damage! [ ](#" hidden null=) }} {{ [4]=[[4+1d8cs=4cf<0+1d8cs>7cf<0]] Critical Damage! [ ](#" hidden null=) }} {{ [5]=[[5+1d8cs=5cf<0+1d8cs>7cf<0]] Critical Damage! [ ](#" hidden null=) }} {{ [6]=[[6+1d8cs=6cf<0+1d8cs>7cf<0]] Critical Damage! [ ](#" hidden null=) }} {{ [7]=[[7+1d8cs=7cf<0+1d8cs>7cf<0]] Critical Damage! [ ](#" hidden null=) }} {{ [8]=[[8+1d8cs=8cf<0+1d8cs>7cf<0]] Critical Damage! [ ](#" hidden null=) }} {{ [[[1d8-1]]]=[ ](#) }}