Рет қаралды 936
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.startplaying.games/gm/nic...
📗My Books: us.amazon.com/stores/Nicholas...
Get 5% off VoiceMod voicechanger (link.xsolla.com/vhF53pwM) with code NICKOLIVO5
The multitokenFX code can be found here- gist.github.com/nolivo/27a374...
!{{
!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!
--]|
}}