Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

Enhance Ability Macro

1549385360

Edited 1549388832
(Turns out after some effort I managed to figure it out on my own. Feel free to improve upon this or even show me a more simple way. This was a lot of fun figuring out on my own. I might make more. Leave some advice or resources you know of, Id really appreciate it.) Here is an easy to use macro for casting Enhance Ability. Its super simple and probably doesn't save much time compared to just saying you cast it and blah blah, but it was an experiment and the first time I created a custom macro. I'm sure it could be overhauled, but I'm not sure where one would start. Hope someone finds this useful and please enjoy. /me casts Enhanced Ability You touch a creature and bestow upon it a magical enhancement. ?{Spell|Bear's Endurance, **Bear's Endurance** The target has advantage on Constitution checks. It also gains [[2d6]] temporary hit points, which are lost when the spell ends.. | Bull's Strength, **Bull's Strength** The target has advantage on Strength checks, and his or her carrying capacity doubles. | Cat's Grace, **Cat's Grace** The target has advantage on Dexterity checks. It also doesn’t take damage from falling 20 feet or less if it isn’t incapacitated. | Eagle’s Splendor, **Eagle’s Splendor** The target has advantage on Charisma checks. | Fox’s Cunning, **Fox’s Cunning** The target has advantage on Intelligence checks. | Owl’s Wisdom, **Owl’s Wisdom** The target has advantage on Wisdom checks.} @{target|character_name}
/w Mare &{template:default} {{name=Enhanced Ability}} {{Choices=[Bear's Endurance](! #Bear's-Endurance) [Bull's Strength](! #Bull's-Strength) [Cat's Grace](! #Cat's-Grace) [Eagle's-Splendor](! #Eagle's-Splendor) [Fox's Cunning](! #Fox's-Cunning) [Owl's Wisdom](! #Owl's-Wisdom)}}  Nested some macros into a macro and damn what an improvement!
1549552739
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Write them as Abilities instead of macros, and you won't have to deal with those pesky HTML replacements. The macro remains editable: /w Mare &{template:default} {{name=Enhanced Ability}} {{Choices=[Bear's Endurance](~Bear's-Endurance) [Bull's Strength](~Bull's-Strength) [Cat's Grace](~Cat's-Grace) [Eagle's-Splendor](~Eagle's-Splendor) [Fox's Cunning](~Fox's-Cunning) [Owl's Wisdom](~Owl's-Wisdom)}} 
I see what you mean, I hand't noticed until I came back to read your comment. I wrote them as abilities, but how to I get the macros I made to nest in the original activate using the new system? When I click an option I get an error.   (To Mare): Enhanced Ability Choices Bear's Endurance   Bull's Strength   Cat's Grace   Eagle's-Splendor   Fox's Cunning   Owl's Wisdom TypeError: Cannot read property 'substring' of undefined
I figured it out =D
@keithcurtis Thank you so much for showing me this! It has really cleaned up my macro bar and made it even easier for the players to use!  
1549590983
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
:)