Last active
June 12, 2020 20:12
-
-
Save nolivo/e86862f49fb6f5d421691ae6b3d78d4c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!power {{ | |
--name|Ray of Frost | |
--leftsub|Ranged Spell Attack | |
--rightsub|60 ft Range | |
--npc_qualities_summary @{target|character_id} | |
--Attack:|[[ [$Atk] ?{Attack|Standard,1d20|Advantage,2d20kh1|Disadvantage,2d20kl1} + @{spell_attack_bonus} ]] vs AC @{target|AC} | |
--?? $Atk >= @{target|AC} AND $Atk.base <> 20 ?? Damage:|[[ [$Dmg] 2d8 ]] | |
--?? $Atk.base == 20 ?? Critical Hit|[[ [$CritDmg] 4d8 ]] | |
--soundfx|_audio,play,nomenu|freezeRay | |
--vfx_opt|@{selected|token_id} @{target|token_id} beam-frost | |
--?? $Atk >= @{target|AC} ?? Slowed:|Target's speed is reduced by 10 ft until start of your next turn | |
--?? $Atk >= @{target|AC} ?? api_token-mod|_ids @{target|token_id} _ignore-selected _set statusmarkers|tread | |
--?? $Atk >= @{target|AC} ?? api_act|-1 1 _Slow | |
--?? $Atk >= @{target|AC} AND $Atk.base <> 20 ?? alterbar1|_target|@{target|token_id} _bar|1 _amount|-[^Dmg] _show|all | |
--?? $Atk.base == 20 ?? alterbar2|_target|@{target|token_id} _bar|1 _amount|-[^CritDmg] _show|all | |
}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment