Skip to content

Instantly share code, notes, and snippets.

@capeterson
Last active July 4, 2020 02:31
Show Gist options
  • Save capeterson/106d09f24d0f5af8dab1bc70f0824861 to your computer and use it in GitHub Desktop.
Save capeterson/106d09f24d0f5af8dab1bc70f0824861 to your computer and use it in GitHub Desktop.
Roll20 Macros
<!-- Grant XP either to the selected single character, or the party's current session pool -->
/w gm &{template:default} {{title=Grant ?{How Much|50} XP}} {{description=
[Selected Char XP](!xp challenge ?{How Much} 1 @{selected|token_id}
/desc @{selected|token_name} gained ?{How Much} xp)
[Party XP](!xp challenge ?{How Much} 1
/desc The party gained ?{How Much} session xp)
}}
!xp challenge @{selected|npc_xp}
!token-mod --set defaulttoken
<!--
**Use as a token action**
Token squirts blood, is marked dead, grants XP, and announces their death
-->
/fx bubbling-blood @{selected|token_id}
/emas "@{selected|token_name}" Dies
!xp challenge @{selected|npc_xp}
!token-mod --ids @{selected|token_id} --set statusmarkers|dead
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment