Рет қаралды 956
This video shows how to automate the Mirror Image spell from D&D 5e. It will automatically spawn 3 mirror images of the caster, deduct a spell slot, and then automatically make rolls to determine if an attack hits an image instead of the caster.
💥My Patreon: / nickolivo
🎲My Upcoming Games: www.startplayi...
📗My Books: us.amazon.com/...
Get 5% off VoiceMod voicechanger (link.xsolla.co...) with code NICKOLIVO5
The multitokenFX code can be found here- gist.github.co...
!{{
!Spawn --name|Mirror Image --qty|3 --placement|surround
(^)!modattr --sel --lvl2_slots_expended|-1 --silent
(^)!multiTokenFx burst magic {^&select Mirror Image*}{^&delay .2}
}}
!script {{
--#title|Mirror Image
--~dummy|array;selectedtokens;myarray {&select Mirror Image*}
--~count|array;getcount;myarray
--=DieRoll|1d20
--=ImageAC|10+@(Syel Lanuit|dexterity_mod)
--#leftsub|[&count] mirror image(s)
--#rightsub|Image AC [$ImageAC]
--c[&count]|3:=Target;6|2:=Target;8|1:=Target;11
--+Roll|You rolled [$DieRoll] vs a target of [$Target]!
--?[$DieRoll] -ge [$Target] | [
--+Target|The attack targets a mirror image!
--]|[
--+Target|The attack targets you!
--]|
}}