
I'm looking for help with writing a macro in the D&D 5e Roll20 Template for Magic Missile. My interpretation of Magic Missile is that each Missile is it's own damage roll and can be individually assigned to different targets. I've got a bit of a macro done but it's messy and not working properly. I could use some help with pretty much every part of this, honestly, which is why I'm curious if there's already a good script out there (preferably within the D&D 5e Roll20 Template, but I appreciate other designs as well). Hopefully this makes sense, working on little sleep. Thanks in advance! Currently this is what I have and while it lacks I have tried to set the damage up appropriately so it scales for each spell level from 1st to 9th. This is what I have so far and it definitely lacks: ?{Whisper?|Public
Roll,|Whisper Roll,/w gm } @{Guilpen Schrivner|wtype}&{template:spell}
{{level=evocation 1}} {{name=Magic Missile}} {{castingtime=1 action}}
{{range=120 ft.}} {damage=1}} {{dmg1flag=1}} [[Cast at what level?|1}-1]]
{{dmg1=[[1d4+1]] [[1d4+1]] [[1d4+1]] [[?{Cast at what level?|Level 1,[[1d4+1]]
[[1d4+1]] [[1d4+1]]|Level 2,[[1d4+1]] [[1d4+1]] [[1d4+1]] [[1d4+1]]|Level
3,[[1d4+1]] [[1d4+1]] [[1d4+1]] [[1d4+1]] [[1d4+1]]|Level 4,[[1d4+1]] [[1d4+1]]
[[1d4+1]] [[1d4+1]] [[1d4+1]] [[1d4+1]]|Level 5,[[1d4+1]] [[1d4+1]] [[1d4+1]]
[[1d4+1]] [[1d4+1]] [[1d4+1]] [[1d4+1]]|Level 6,[[1d4+1]] [[1d4+1]] [[1d4+1]]
[[1d4+1]] [[1d4+1]] [[1d4+1]] [[1d4+1]] [[1d4+1]]|Level 7,[[1d4+1]] [[1d4+1]]
[[1d4+1]] [[1d4+1]] [[1d4+1]] [[1d4+1]] [[1d4+1]] [[1d4+1]] [[1d4+1]]|Level
8,[[1d4+1]] [[1d4+1]] [[1d4+1]] [[1d4+1]] [[1d4+1]] [[1d4+1]] [[1d4+1]]
[[1d4+1]] [[1d4+1]] [[1d4+1]]|Level 9,[[1d4+1]] [[1d4+1]] [[1d4+1]] [[1d4+1]]
[[1d4+1]] [[1d4+1]] [[1d4+1]] [[1d4+1]] [[1d4+1]] [[1d4+1]] [[1d4+1]]} }}
{{v=1}} {{s=1}} {{m=0}} {{material=}} {{duration=}} {{description=You create
three glowing darts of magical force. Each dart hits a creature of your choice
that you can see within range. A dart deals 1d4 + 1 force damage to its target.
The darts all strike simultaneously, and you can direct them to hit one
creature or several.}} {{athigherlevels=When you cast this spell using a spell
slot of 2nd level or higher, the spell creates one more dart for each slot
level above 1st.}} {{ritual=0}} {{concentration=0}} {{charname=Guilpen
Schrivner}}